Home
last modified time | relevance | path

Searched refs:pp (Results 1 – 25 of 701) sorted by relevance

12345678910>>...29

/illumos-gate/usr/src/uts/common/io/
H A Decpp.c1061 pp->saved_dsr = DSR_READ(pp); in ecpp_open()
1123 ECR_READ(pp), DSR_READ(pp), DCR_READ(pp)); in ecpp_open()
1171 pp->joblen, pp->ctx_cf, qsize(pp->writeq), qsize(q)); in ecpp_close()
1185 pp->timeout_id = pp->fifo_timer_id = pp->wsrv_timer_id = 0; in ecpp_close()
1217 pp->readq = pp->writeq = NULL; in ecpp_close()
1221 ECR_READ(pp), DSR_READ(pp), DCR_READ(pp)); in ecpp_close()
3242 dcsr, ECR_READ(pp), DSR_READ(pp), DCR_READ(pp), in ecpp_isr()
3290 pp->current_mode, ECR_READ(pp), DSR_READ(pp), DCR_READ(pp)); in ecpp_dma_ihdlr()
3501 DSR_READ(pp), pp->joblen, pp->ctx_cf); in ecpp_softintr()
5911 ECR_READ(pp), DSR_READ(pp), DCR_READ(pp)); in m1553_config_chip()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dppop.c34 #define REFALL (pp.truncate?pp.dirtab:pp.symtab)
48 r = p == &pp.state ? &pp.ro_state : p == &pp.mode ? &pp.ro_mode : &pp.ro_option; in ppset()
723 pp.macp->next = pp.macp + 1; in ppop()
732 pp.maxcon = pp.control + pp.constack - 1; in ppop()
877 …if (!(pp.ppdefault = pathprobe("C", pp.pass, pp.probe ? pp.probe : PPPROBE, 0, pp.path, MAXTOKEN +… in ppop()
917 pp.lastop = pp.firstop; in ppop()
918 pp.firstop = pp.firstop->next; in ppop()
1058 if (pp.ignoresrc > 1 && pp.stddirs != pp.firstdir) in ppop()
1078 pp.reset.symtab = pp.symtab; in ppop()
1095 pp.ro_mode = pp.reset.ro_mode; in ppop()
[all …]
H A Dppcall.c99 if (pp.macref) in ppcall()
115 pp.hidden++; in ppcall()
148 pp.token = pp.toknxt; in ppcall()
152 if ((pp.token = pp.toknxt) > q) in ppcall()
161 if (pp.token > p && *(pp.token - 1) == ' ') in ppcall()
162 pp.token--; in ppcall()
197 pp.hidden++; in ppcall()
225 if (pp.hidden && !--pp.hidden) in ppcall()
300 if ((pp.mactop = pp.token = p) >= pp.maxmac) in ppcall()
435 else if (!(pp.state & HEADER) || (pp.option & HEADEREXPANDALL) || pp.in->type != IN_COPY) in ppcall()
[all …]
H A Dppcontrol.c310 if (pp.state & SKIPCONTROL) pp.level--; in ppcontrol()
336 if (pp.control <= pp.in->control) in ppcontrol()
341 if (pp.control == (pp.in->control + 1)) pp.in->flags |= IN_noguard; in ppcontrol()
379 if (pp.control == (pp.in->control + 1)) pp.in->flags |= IN_noguard; in ppcontrol()
396 else if (--pp.control == pp.in->control && pp.in->symbol) in ppcontrol()
490 memcpy(pp.token, pp.hdrbuf, p - pp.hdrbuf); in ppcontrol()
617 (*pp.pragma)(pp.valbuf + 1, p1, p3, p5, (pp.state & COMPILE) || (pp.mode & INIT) != 0); in ppcontrol()
1317 strcpy(pp.tmpbuf, pp.token); in ppcontrol()
1823 if (pp.linesync) pp.olinesync = pp.linesync; in ppcontrol()
2092 if (!(*pp.control & SKIP) && pp.pragma && !(pp.state & NOTEXT)) in ppcontrol()
[all …]
H A Dppbuiltin.c58 p = pp.token = pp.tmpbuf; in ppbuiltin()
69 p = pp.token = pp.valbuf; in ppbuiltin()
86 if (op) pp.token = pp.toknxt; in ppbuiltin()
89 *pp.token = 0; in ppbuiltin()
94 p = pp.valbuf; in ppbuiltin()
118 pp.token = pp.valbuf; in ppbuiltin()
138 if (pp.token > pp.valbuf) *pp.token++ = ' '; in ppbuiltin()
153 pp.token = pp.toknxt; in ppbuiltin()
283 number = pp.outbuf != pp.outb; in ppbuiltin()
355 p = strncpy(pp.funbuf, p, sizeof(pp.funbuf) - 1); in ppbuiltin()
[all …]
H A Dppmisc.c41 if ((pp.state & COMPILE) && pp.truncate && strlen(name) > pp.truncate) in pprefmac()
121 if ((pp.state & COMPILE) && pp.truncate) return; in ppassert()
149 pp.token = pp.args; in pppredargs()
175 pp.token = pp.toknxt; in pppredargs()
186 if (pp.token > pp.args && *(pp.token - 1) == ' ') pp.token--; in pppredargs()
187 *pp.token = 0; in pppredargs()
212 m = pp.addp - pp.addbuf; in ppsync()
213 pp.addp = pp.addbuf; in ppsync()
216 if (pp.linesync) in ppsync()
218 if ((pp.state & SYNCLINE) || pp.hidden >= MAXHIDDEN) in ppsync()
[all …]
H A Dppinput.c107 if (pp.lastindex) pp.lastindex->next = cur->index; in pppush()
132 if (sfread(pp.member->archive->info.sp, p, pp.member->size) != pp.member->size) in pppush()
173 if (pp.incref && !(pp.mode & INIT)) in pppush()
175 if (pp.macref || (pp.option & IGNORELINE)) in pppush()
292 nextframe(pp.macp, pp.mactop); in ppexpand()
308 if ((pp.token = pp.toknxt) > m) in ppexpand()
331 pp.in = pp.in->prev; in ppexpand()
544 p = PPBUFSIZ - (pp.outp - pp.outbuf); in ppload()
577 pp.outp = pp.outbuf; in ppload()
703 if (pp.member) pp.member = 0; in ppload()
[all …]
H A Dppexpr.c54 pp.token = file; in exists()
75 if (pathaccess(pp.token, file, NiL, 0, pp.path, MAXTOKEN + 1)) in exists()
100 pp.state = state; in exists()
121 pp.token = tmp; in compare()
167 index = (int)hashref(pp.strtab, pp.token); in predicate()
180 if (pp.macref) pprefmac(pp.token, REF_IF); in predicate()
201 args = pp.args; in predicate()
208 if ((pp.state & STRICT) && !(pp.mode & HOSTED)) switch (index) in predicate()
224 if (pp.hosted == 1 && pp.in->prev->type == IN_FILE) in predicate()
382 x = pp.mode; in subexpr()
[all …]
H A Dpplex.c69 …ITE(PPBUFSIZ);if(pp.outbuf==pp.outb){pp.outbuf+=PPBUFSIZ;xp=pp.oute+=PPBUFSIZ;}else{pp.outbuf-=PPB…
71 …ITE(PPBUFSIZ);if(pp.outbuf==pp.outb){pp.outbuf+=PPBUFSIZ;xp=pp.oute+=PPBUFSIZ;}else{pp.outbuf-=PPB…
86 m = pp.addp - pp.addbuf; \
87 pp.addp = pp.addbuf; \
1016 pp.token = pp.catbuf; in ppcpp()
1089 *(pp.token + 1) = *pp.token; in ppcpp()
1090 *pp.token = *(pp.token - 1); in ppcpp()
1399 if (pp.truncate && (op - tp) > pp.truncate) tp[pp.truncate] = 0; in ppcpp()
1404pp.truncate || (op - tp) <= pp.truncate || (tp[pp.truncate] = '_', tp[pp.truncate + 1] = 0, pp.sym… in ppcpp()
1409 #define ADVANCE() do{if(pp.toknxt<op)pp.token=pp.toknxt;}while(0) in ppcpp()
[all …]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.proc.c77 for (pp = proclist.p_next; pp != PNULL; pp = pp->p_next) in pchild()
171 for (pp = proclist.p_next; pp != PNULL; pp = pp->p_next) { in pnote()
200 for (pp = (fp = &proclist)->p_next; pp != PNULL; pp = (fp = pp)->p_next) in pwait()
228 pp = pp->p_friends; in pjwait()
315 for (pp = proclist.p_next; pp; pp = pp->p_next) in dowait()
336 for (pp = proclist.p_next; pp != PNULL; pp = pp->p_next) in pflushall()
793 for (pp = proclist.p_next; pp; pp = pp->p_next) in dojobs()
1068 for (pp = proclist.p_next; pp; pp = pp->p_next) in panystop()
1096 for (pp = proclist.p_next; pp; pp = pp->p_next) in pfind()
1102 for (pp = proclist.p_next; pp; pp = pp->p_next) in pfind()
[all …]
/illumos-gate/usr/src/lib/scsi/libses/common/
H A Dses_snap.c34 for (pp = sp->ss_pages; pp != NULL; pp = pp->ssp_next) in ses_snap_find_page()
56 bzero(newbuf + pp->ssp_len, pp->ssp_alloc - pp->ssp_len); in grow_snap_page()
98 for (pp = sp->ss_pages; pp != NULL; pp = np) { in free_all_snap_pages()
188 for (pp = sp->ss_pages; pp != NULL; pp = pp->ssp_next) in read_status_page()
477 for (pp = sp->ss_pages; pp != NULL; pp = pp->ssp_next) { in ses_snap_new()
482 for (pp = sp->ss_pages; pp != NULL; pp = pp->ssp_next) { in ses_snap_new()
552 for (pp = sp->ss_pages; pp != NULL; pp = pp->ssp_next) { in ses_snap_new()
569 for (pp = sp->ss_pages; pp != NULL; pp = pp->ssp_next) { in ses_snap_new()
581 pp->ssp_page = pp->ssp_mmap_base + pp->ssp_mmap_len - in ses_snap_new()
616 for (pp = sp->ss_pages; pp != NULL; pp = pp->ssp_next) { in ses_snap_do_ctl()
[all …]
/illumos-gate/usr/src/uts/common/vm/
H A Dpage_lock.c102 ((((uintptr_t)(pp) >> pse_shift) ^ ((uintptr_t)(pp))) >> 7) & \
439 ((PP_ISFREE(pp)) && PAGE_EXCL(pp)) : 1); in page_lock_es()
509 old = pp->p_selock; in page_try_reclaim_lock()
525 if (!PP_ISFREE(pp)) { in page_try_reclaim_lock()
577 if (pp->p_selock & SE_EWANTED || PP_RETIRED(pp) || in page_trylock()
620 old = pp->p_selock; in page_unlock_nocapture()
635 (void *)pp); in page_unlock_nocapture()
646 page_unlock(page_t *pp) in page_unlock() argument
653 old = pp->p_selock; in page_unlock()
934 ASSERT(pp != NULL); in page_szc_lock()
[all …]
H A Dvm_page.c631 pp->p_next = pp; in add_physmem()
632 pp->p_prev = pp; in add_physmem()
2127 pp = pp->p_next; in page_alloc_pages()
2261 pp = pp->p_next; in page_create_va_large()
3636 pp->p_next = pp->p_prev = pp; in page_add_common()
3775 pp->p_vpnext = pp->p_vpprev = pp; in page_vpadd()
6395 bp1->pp = pp; in page_capture_add_hash()
6612 ASSERT(pp->p_next == pp && pp->p_prev == pp); in page_capture_clean_page()
6681 pp->p_next = pp; in page_capture_clean_page()
7148 pp = bp->pp; in page_retire_mdboot()
[all …]
H A Dpage_retire.c761 page_t *pp; in pr_list_kstat_update() local
779 pp != retired_pages->v_pages; pp = pp->p_vpnext) { in pr_list_kstat_update()
798 page_t *pp; in pr_list_kstat_snapshot() local
822 for (pp = pp->p_vpnext; pp != retired_pages->v_pages; in pr_list_kstat_snapshot()
823 pp = pp->p_vpnext, kspmem++) { in pr_list_kstat_snapshot()
939 if (!PP_ISKAS(pp) && page_trylock(pp, SE_EXCL)) { in page_retire_thread_cb()
1032 page_t *pp; in page_retire() local
1182 page_t *pp; in page_unretire() local
1278 if (pp->p_szc && PP_PAGEROOT(pp) == pp) { in page_retire_test()
1280 lpp = PP_ISFREE(pp)? pp : pp + 2; in page_retire_test()
[all …]
H A Dvm_pvn.c103 page_t *pp; in pvn_read_kluster() local
237 page_t *pp, in pvn_write_kluster() argument
268 dirty = pp; in pvn_write_kluster()
308 page_t *pp; in pvn_io_done() local
394 ASSERT(PAGE_LOCKED(pp) && page_iolock_assert(pp)); in pvn_write_done()
408 if ((pp->p_vpnext != pp) && !hat_ismod(pp)) { in pvn_write_done()
470 pp->p_lckcnt == 0 && pp->p_cowcnt == 0) { in pvn_write_done()
592 PAGE_EXCL(pp) : PAGE_SHARED(pp)); in pvn_getdirty()
601 (pp->p_lckcnt != 0 || pp->p_cowcnt != 0)) { in pvn_getdirty()
848 if (!hat_ismod(pp) && !page_io_locked(pp)) { in pvn_vplist_dirty()
[all …]
H A Dvm_pagelist.c1329 ASSERT(pp->p_vpnext == pp || pp->p_vpnext == NULL); in chk_lpg()
1330 ASSERT(pp->p_vpprev == pp || pp->p_vpprev == NULL); in chk_lpg()
1354 pp = pp->p_next; in chk_lpg()
1550 pp->p_next = pp->p_prev = pp; in page_list_noreloc_startup()
1589 CHK_LPG(pp, pp->p_szc); in page_list_add_pages()
1850 pp->p_next = pp->p_prev = pp; in mach_page_add()
2228 pp = pp->p_next; in page_demote()
2624 pp = pp->p_vpnext; in page_freelist_split()
2988 pp = pp->p_next; in page_get_mnode_freelist()
2990 pp = pp->p_vpnext; in page_get_mnode_freelist()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/
H A Dusbser.c858 pp->port_wq_thread.thr_port = pp; in usbser_attach_ports()
863 pp->port_rq_thread.thr_port = pp; in usbser_attach_ports()
1697 rval = cv_wait_sig(&pp->port_car_cv, &pp->port_mutex); in usbser_open_carrier_check()
1994 pp->port_flowc = pp->port_ttycommon.t_startc; in usbser_rq_thread()
2695 pp->port_delay_id = timeout(usbser_restart, pp, in usbser_ioctl()
2973 pp->port_flowc = pp->port_ttycommon.t_stopc; in usbser_stopi()
2984 pp->port_flowc = pp->port_ttycommon.t_startc; in usbser_starti()
3039 pp->port_delay_id = timeout(usbser_restart, pp, in usbser_break()
3056 pp->port_delay_id = timeout(usbser_restart, pp, in usbser_delay()
3214 c, pp->port_ttycommon.t_cflag, pp->port_flags); in usbser_inbound_flow_ctl()
[all …]
/illumos-gate/usr/src/cmd/lp/lib/printers/
H A Dfreeprinter.c46 PRINTER *pp; in freeprinter()
48 if (!pp)
51 syslog(LOG_DEBUG, "freeprinter(%s)", pp->name ? pp->name : "");
52 if (pp->name)
58 if (pp->options)
60 if (pp->device)
70 if (pp->remote)
72 if (pp->speed)
74 if (pp->stty)
81 if (pp->modules)
[all …]
/illumos-gate/usr/src/cmd/sendmail/util/
H A Drfc2047.c151 for (pp = startofmime; *pp && *pp != '?'; pp++) in decode_rfc2047()
184 for (pp = startofmime; *pp && *(pp+1); pp++) { in decode_rfc2047()
187 else if (*pp == '?' && pp[1] == '=') { in decode_rfc2047()
212 for (pp = startofmime; pp < endofmime; pp++) { in decode_rfc2047()
214 c = unqp(pp[1], pp[2]); in decode_rfc2047()
234 pp++; in decode_rfc2047()
237 pp++; in decode_rfc2047()
240 pp++; in decode_rfc2047()
245 pp++; in decode_rfc2047()
250 pp++; in decode_rfc2047()
[all …]
/illumos-gate/usr/src/uts/sun4u/vm/
H A Dmach_kpm.c90 if (pp == NULL || PAGE_LOCKED(pp) == 0) { in hat_kpm_mapin()
99 sfmmu_kpm_mapin(pp) : hat_kpm_page2va(pp, 1); in hat_kpm_mapin()
143 if (pp == NULL || PAGE_LOCKED(pp) == 0) { in hat_kpm_mapout()
312 page_t *pp; in hat_kpm_fault() local
603 page_t *pp; in sfmmu_kpm_vatopfn() local
610 if (pp && pp->p_kpmref) in sfmmu_kpm_vatopfn()
1122 if (pp->p_vnode && IS_SWAPFSVP(pp->p_vnode)) { in sfmmu_kpm_getvaddr()
1123 vcolor = (PP_NEWPAGE(pp) || PP_ISNC(pp)) ? in sfmmu_kpm_getvaddr()
1285 PP_ISKPMC(pp) || PP_ISKPMS(pp) || PP_ISNC(pp)); in sfmmu_kpm_fault()
1888 PP_ISKPMC(pp) || PP_ISKPMS(pp) || PP_ISNC(pp)); in sfmmu_kpm_vac_unload()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Decppvar.h55 #define ECPP_MAP_REGS(pp) (pp)->hw->map_regs(pp) argument
56 #define ECPP_UNMAP_REGS(pp) (pp)->hw->unmap_regs(pp) argument
57 #define ECPP_CONFIG_CHIP(pp) (pp)->hw->config_chip(pp) argument
58 #define ECPP_CONFIG_MODE(pp) (pp)->hw->config_mode(pp) argument
59 #define ECPP_MASK_INTR(pp) (pp)->hw->mask_intr(pp) argument
60 #define ECPP_UNMASK_INTR(pp) (pp)->hw->unmask_intr(pp) argument
61 #define ECPP_DMA_START(pp) (pp)->hw->dma_start(pp) argument
62 #define ECPP_DMA_STOP(pp, cnt) (pp)->hw->dma_stop(pp, cnt) argument
63 #define ECPP_DMA_GETCNT(pp) (pp)->hw->dma_getcnt(pp) argument
413 #define DSR_READ(pp) PP_GETB((pp)->i_handle, &(pp)->i_reg->dsr) argument
[all …]
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dhment.c112 &mlist_lock[((pp)->p_pagenum + ((pp)->p_pagenum >> 9)) & \
320 ++pp->p_share; in hment_insert()
392 if (pp->p_mapping == htable && pp->p_mlentry == entry) { in hment_prepare()
579 --pp->p_share; in hment_remove()
684 x86_hm_exit(pp); in hment_mapcnt()
731 if (pp == NULL) in hment_steal()
736 pp = page_next(pp); in hment_steal()
737 if (pp == NULL) in hment_steal()
743 if (pp == last) in hment_steal()
749 if (pp->p_mapping == NULL || pp->p_embed) in hment_steal()
[all …]
/illumos-gate/usr/src/uts/common/sys/usb/clients/usbser/
H A Dusbser_var.h356 pp->port_ds_ops->ds_set_port_params(pp->port_ds_hdl, pp->port_num, \
360 pp->port_ds_ops->ds_set_modem_ctl(pp->port_ds_hdl, pp->port_num, mask, \
364 pp->port_ds_ops->ds_get_modem_ctl(pp->port_ds_hdl, pp->port_num, \
368 pp->port_ds_ops->ds_break_ctl(pp->port_ds_hdl, pp->port_num, val)
371 pp->port_ds_ops->ds_loopback(pp->port_ds_hdl, pp->port_num, val)
375 pp->port_ds_ops->ds_tx(pp->port_ds_hdl, pp->port_num, mp)
378 pp->port_ds_ops->ds_rx(pp->port_ds_hdl, pp->port_num)
381 pp->port_ds_ops->ds_stop(pp->port_ds_hdl, pp->port_num, dir)
384 pp->port_ds_ops->ds_start(pp->port_ds_hdl, pp->port_num, dir)
388 pp->port_ds_ops->ds_fifo_flush(pp->port_ds_hdl, pp->port_num, mask)
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dprocset.c322 tp = proctot(pp); in procinset()
417 tp = proctot(pp); in procinset()
782 proc_t *pp; in getmyid() local
787 pp = ttoproc(curthread); in getmyid()
794 return (pp->p_pid); in getmyid()
797 return (pp->p_ppid); in getmyid()
800 return (pp->p_pgrp); in getmyid()
836 return (PRCTID(pp)); in getmyid()
886 proc_t *pp; in dotolwp() local
912 pp = ttoproc(curthread); in dotolwp()
[all …]
/illumos-gate/usr/src/lib/libuutil/common/
H A Duu_avl.c59 #define POOL_TO_MARKER(pp) (((uintptr_t)(pp) | 1)) argument
108 return (pp); in uu_avl_pool_create()
121 (int)sizeof (pp->uap_name), pp->uap_name, in uu_avl_pool_destroy()
126 pp->uap_next->uap_prev = pp->uap_prev; in uu_avl_pool_destroy()
127 pp->uap_prev->uap_next = pp->uap_next; in uu_avl_pool_destroy()
145 base, (void *)np, (void *)pp, pp->uap_name, in uu_avl_node_init()
151 base, (void *)np, (void *)pp, pp->uap_name, in uu_avl_node_init()
169 base, (void *)np, (void *)pp, pp->uap_name); in uu_avl_node_fini()
174 base, (void *)np, (void *)pp, pp->uap_name); in uu_avl_node_fini()
555 pp = pp->uap_next) in uu_avl_lockup()
[all …]

12345678910>>...29