/titanic_51/usr/src/uts/common/io/ |
H A D | ecpp.c | 92 * pp->io_mode defines PIO or DMA method of transfer; 104 * pp->current_mode -- 1284 mode used for forward transfers; 105 * pp->backchannel -- 1284 mode used for backward transfers; 106 * pp->curent_phase -- 1284 phase; 109 * pp->current_mode == ECPP_COMPAT_MODE && pp->backchannel == ECPP_NIBBLE_MODE 112 * Driver internal state is defined by pp->e_busy as follows: 120 * sets pp->current_mode and pp->backchannel accordingly. 124 * by copying them into pp 592 struct ecppunit *pp; ecpp_attach() local 755 struct ecppunit *pp; ecpp_detach() local 841 ecpp_get_props(struct ecppunit * pp) ecpp_get_props() argument 988 struct ecppunit *pp; ecpp_getinfo() local 1021 struct ecppunit *pp; ecpp_open() local 1134 struct ecppunit *pp; ecpp_close() local 1235 struct ecppunit *pp; ecpp_wput() local 1501 struct ecppunit *pp; ecpp_putioc() local 1873 struct ecppunit *pp = (struct ecppunit *)q->q_ptr; ecpp_rsrv() local 1891 struct ecppunit *pp = (struct ecppunit *)q->q_ptr; ecpp_wsrv() local 2118 struct ecppunit *pp; ecpp_srvioc() local 2396 struct ecppunit *pp; ecpp_srvioc_devid() local 2545 ecpp_flush(struct ecppunit * pp,int cmd) ecpp_flush() argument 2711 ecpp_start(struct ecppunit * pp,caddr_t addr,size_t len) ecpp_start() argument 2815 ecpp_prep_pio_xfer(struct ecppunit * pp,caddr_t addr,size_t len) ecpp_prep_pio_xfer() argument 2866 ecpp_init_dma_xfer(struct ecppunit * pp,caddr_t addr,size_t len) ecpp_init_dma_xfer() argument 2945 ecpp_setup_dma_resources(struct ecppunit * pp,caddr_t addr,size_t len) ecpp_setup_dma_resources() argument 3048 struct ecppunit *pp = (struct ecppunit *)(void *)arg; ecpp_isr() local 3251 ecpp_M1553_intr(struct ecppunit * pp) ecpp_M1553_intr() argument 3283 ecpp_dma_ihdlr(struct ecppunit * pp) ecpp_dma_ihdlr() argument 3335 ecpp_pio_ihdlr(struct ecppunit * pp) ecpp_pio_ihdlr() argument 3375 ecpp_pio_writeb(struct ecppunit * pp) ecpp_pio_writeb() argument 3407 ecpp_nErr_ihdlr(struct ecppunit * pp) ecpp_nErr_ihdlr() argument 3463 struct ecppunit *pp = (struct ecppunit *)arg; ecpp_softintr() local 3543 ecpp_xfer_cleanup(struct ecppunit * pp) ecpp_xfer_cleanup() argument 3614 struct ecppunit *pp = arg; ecpp_xfer_timeout() local 3726 ecpp_putback_untransfered(struct ecppunit * pp,void * startp,uint_t len) ecpp_putback_untransfered() argument 3752 ecr_write(struct ecppunit * pp,uint8_t ecr_byte) ecr_write() argument 3769 dcr_write(struct ecppunit * pp,uint8_t dcr_byte) dcr_write() argument 3791 ecpp_reset_port_regs(struct ecppunit * pp) ecpp_reset_port_regs() argument 3807 struct ecppunit *pp = arg; ecpp_fifo_timer() local 3974 ecpp_check_status(struct ecppunit * pp) ecpp_check_status() argument 4002 struct ecppunit *pp = arg; ecpp_wsrv_timer() local 4027 ecpp_backchan_req(struct ecppunit * pp) ecpp_backchan_req() argument 4052 ecpp_untimeout_unblock(struct ecppunit * pp,timeout_id_t * id) ecpp_untimeout_unblock() argument 4071 ecpp_get_prn_ifcap(struct ecppunit * pp) ecpp_get_prn_ifcap() argument 4093 ecpp_determine_sio_type(struct ecppunit * pp) ecpp_determine_sio_type() argument 4127 ecpp_1284_init_interface(struct ecppunit * pp) ecpp_1284_init_interface() argument 4154 ecp_negotiation(struct ecppunit * pp) ecp_negotiation() argument 4202 nibble_negotiation(struct ecppunit * pp) nibble_negotiation() argument 4237 wait_dsr(struct ecppunit * pp,uint8_t mask,uint8_t val,int ptimeout) wait_dsr() argument 4260 ecpp_1284_negotiation(struct ecppunit * pp,uint8_t xreq,uint8_t * rdsr) ecpp_1284_negotiation() argument 4356 ecpp_1284_termination(struct ecppunit * pp) ecpp_1284_termination() argument 4443 ecp_peripheral2host(struct ecppunit * pp) ecp_peripheral2host() argument 4570 struct ecppunit *pp = arg; ecpp_ecp_read_timeout() local 4623 ecpp_ecp_read_completion(struct ecppunit * pp) ecpp_ecp_read_completion() argument 4685 nibble_peripheral2host(struct ecppunit * pp,uint8_t * byte) nibble_peripheral2host() argument 4737 ecpp_peripheral2host(struct ecppunit * pp) ecpp_peripheral2host() argument 4833 ecp_forward2reverse(struct ecppunit * pp) ecp_forward2reverse() argument 4867 ecp_reverse2forward(struct ecppunit * pp) ecp_reverse2forward() argument 4907 ecpp_default_negotiation(struct ecppunit * pp) ecpp_default_negotiation() argument 4928 ecpp_mode_negotiation(struct ecppunit * pp,uchar_t newmode) ecpp_mode_negotiation() argument 5056 ecpp_idle_phase(struct ecppunit * pp) ecpp_idle_phase() argument 5153 read_nibble_backchan(struct ecppunit * pp) read_nibble_backchan() argument 5218 devidnib_negotiation(struct ecppunit * pp) devidnib_negotiation() argument 5261 ecpp_getdevid(struct ecppunit * pp,uint8_t * id,int * lenp,int mode) ecpp_getdevid() argument 5351 empty_config_mode(struct ecppunit * pp) empty_config_mode() argument 5357 empty_mask_intr(struct ecppunit * pp) empty_mask_intr() argument 5363 x86_getcnt(struct ecppunit * pp) x86_getcnt() argument 5381 pc87332_map_regs(struct ecppunit * pp) pc87332_map_regs() argument 5419 pc87332_unmap_regs(struct ecppunit * pp) pc87332_unmap_regs() argument 5436 pc87332_read_config_reg(struct ecppunit * pp,uint8_t reg_num) pc87332_read_config_reg() argument 5447 pc87332_write_config_reg(struct ecppunit * pp,uint8_t reg_num,uint8_t val) pc87332_write_config_reg() argument 5462 pc87332_config_chip(struct ecppunit * pp) pc87332_config_chip() argument 5524 pc87332_config_mode(struct ecppunit * pp) pc87332_config_mode() argument 5534 pc97317_map_regs(struct ecppunit * pp) pc97317_map_regs() argument 5552 pc97317_unmap_regs(struct ecppunit * pp) pc97317_unmap_regs() argument 5568 pc97317_config_chip(struct ecppunit * pp) pc97317_config_chip() argument 5637 pc97317_config_mode(struct ecppunit * pp) pc97317_config_mode() argument 5650 cheerio_mask_intr(struct ecppunit * pp) cheerio_mask_intr() argument 5658 cheerio_unmask_intr(struct ecppunit * pp) cheerio_unmask_intr() argument 5666 cheerio_dma_start(struct ecppunit * pp) cheerio_dma_start() argument 5687 cheerio_dma_stop(struct ecppunit * pp,size_t * countp) cheerio_dma_stop() argument 5720 cheerio_getcnt(struct ecppunit * pp) cheerio_getcnt() argument 5731 cheerio_reset_dcsr(struct ecppunit * pp) cheerio_reset_dcsr() argument 5760 m1553_map_regs(struct ecppunit * pp) m1553_map_regs() argument 5791 m1553_unmap_regs(struct ecppunit * pp) m1553_unmap_regs() argument 5806 x86_map_regs(struct ecppunit * pp) x86_map_regs() argument 5834 x86_unmap_regs(struct ecppunit * pp) x86_unmap_regs() argument 5846 m1553_read_config_reg(struct ecppunit * pp,uint8_t reg_num) m1553_read_config_reg() argument 5857 m1553_write_config_reg(struct ecppunit * pp,uint8_t reg_num,uint8_t val) m1553_write_config_reg() argument 5864 m1553_config_chip(struct ecppunit * pp) m1553_config_chip() argument 5916 x86_config_chip(struct ecppunit * pp) x86_config_chip() argument 5938 dma8237_dma_start(struct ecppunit * pp) dma8237_dma_start() argument 5985 dma8237_dma_stop(struct ecppunit * pp,size_t * countp) dma8237_dma_stop() argument 6011 x86_dma_start(struct ecppunit * pp) x86_dma_start() argument 6031 x86_dma_stop(struct ecppunit * pp,size_t * countp) x86_dma_stop() argument 6053 dma8237_write_addr(struct ecppunit * pp,uint32_t addr) dma8237_write_addr() argument 6101 dma8237_read_addr(struct ecppunit * pp) dma8237_read_addr() argument 6151 dma8237_write_count(struct ecppunit * pp,uint32_t count) dma8237_write_count() argument 6183 dma8237_read_count(struct ecppunit * pp) dma8237_read_count() argument 6215 dma8237_write(struct ecppunit * pp,int reg_num,uint8_t val) dma8237_write() argument 6222 dma8237_read(struct ecppunit * pp,int reg_num) dma8237_read() argument 6229 dma8237_getcnt(struct ecppunit * pp) dma8237_getcnt() argument 6247 ecpp_kstat_init(struct ecppunit * pp) ecpp_kstat_init() argument 6314 struct ecppunit *pp; ecpp_kstat_update() local 6363 struct ecppunit *pp; ecpp_kstatintr_update() local [all...] |
/titanic_51/usr/src/lib/libpp/common/ |
H A D | ppop.c | 33 #define REFONE (pp.truncate?(Hash_table_t*)0:pp.symtab) 34 #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 set() 49 if (!(pp.mode & INIT) || !(pp.in->type == IN_FILE) || !(*r & op)) in set() 51 if (!pp.initialized && !(pp.mode & INIT)) in set() 58 …g((-7, "set(%s)=%s", p == &pp.state ? "state" : p == &pp.mode ? "mode" : "option", p == &pp.state … in set() 119 old_state = pp.state; in ppmapinclude() 131 s = t = strcopy(pp.tmpbuf, error_info.file); in ppmapinclude() 135 if (s <= pp.tmpbuf || *s == '/') in ppmapinclude() 145 file = pp.tmpbuf; in ppmapinclude() [all …]
|
H A D | ppcall.c | 66 if ((sym->flags & SYM_PREDICATE) && (pp.state & (CONDITIONAL|WARN)) == (CONDITIONAL|WARN)) in ppcall() 70 if ((pp.state & (COMPATIBILITY|TRANSITION)) != COMPATIBILITY || !mac->arity) in ppcall() 73 pp.mode |= MARKMACRO; in ppcall() 75 if ((pp.state & (COMPATIBILITY|STRICT)) == (COMPATIBILITY|STRICT)) in ppcall() 80 if ((sym->flags & SYM_PREDEFINED) && !(pp.mode & (HOSTED|INACTIVE))) in ppcall() 83 if (*sym->name != '_' && !(pp.state & COMPATIBILITY)) in ppcall() 88 if (pp.state & STRICT) in ppcall() 93 …error(1, "%s: obsolete predefined symbol expanded%s", sym->name, (pp.state & DIRECTIVE) ? "" : " o… in ppcall() 95 else if (!(pp.state & DIRECTIVE) && mac->value && (ppisdig(*mac->value) || *mac->value == '#')) in ppcall() 99 if (pp.macref) in ppcall() [all …]
|
H A D | ppcontrol.c | 72 if (a = (struct pplist*)hashget(pp.prdtab, pred)) in assert() 94 hashput(pp.prdtab, pred, a); in assert() 95 if (sym = ppsymref(pp.symtab, pred)) in assert() 105 hashput(pp.prdtab, NiL, p); in assert() 107 if ((pp.state & COMPILE) && pp.truncate) return; in assert() 108 if (sym = ppsymset(pp.symtab, pred)) in assert() 136 pp.state &= ~NOSPACE; in tokop() 138 pp.state |= NOSPACE; in tokop() 141 ppop(op, (flags & TOKOP_DUP) ? strdup(pp.token) : pp.token, n); in tokop() 166 error(2, "%s: invalid macro name", pptokstr(pp.token, 0)); in macsym() [all …]
|
H A D | ppmisc.c | 39 …if (!(sym = ppsymget(pp.symtab, name)) && (ref <= REF_NORMAL && pp.macref || ref == REF_CREATE || … in pprefmac() 41 if ((pp.state & COMPILE) && pp.truncate && strlen(name) > pp.truncate) in pprefmac() 42 name[pp.truncate] = 0; in pprefmac() 43 sym = ppsymset(pp.symtab, NiL); in pprefmac() 47 …if (pp.macref) (*pp.macref)(sym, error_info.file, error_info.line, ref == REF_NORMAL && (pp.state … in pprefmac() 51 if (!(pp.state & COMPATIBILITY)) in pprefmac() 53 …if (ref == REF_IF && sym && (sym->flags & SYM_PREDEFINED) && *name != '_' && !(pp.mode & (HOSTED|I… in pprefmac() 55 if (pp.state & STRICT) in pprefmac() 86 if (a = (struct pplist*)hashget(pp.prdtab, pred)) in ppassert() 108 hashput(pp.prdtab, pred, a); in ppassert() [all …]
|
H A D | ppbuiltin.c | 55 number = pp.state; in ppbuiltin() 56 pp.state |= DISABLE|FILEPOP|NOSPACE; in ppbuiltin() 57 token = pp.token; in ppbuiltin() 58 p = pp.token = pp.tmpbuf; in ppbuiltin() 59 *(a = pp.args) = 0; in ppbuiltin() 65 switch (op = (int)hashget(pp.strtab, p)) in ppbuiltin() 69 p = pp.token = pp.valbuf; in ppbuiltin() 75 pp.state &= ~NOSPACE; in ppbuiltin() 86 if (op) pp.token = pp.toknxt; in ppbuiltin() 89 *pp.token = 0; in ppbuiltin() [all …]
|
H A D | ppinput.c | 102 if (pp.option & NATIVE) in pppush() 106 cur->hide = ++pp.hide; in pppush() 109 if ((pp.mode & (DUMP|INIT)) == DUMP) in pppush() 112 if (pp.lastindex) pp.lastindex->next = cur->index; in pppush() 113 else pp.firstindex = cur->index; in pppush() 114 pp.lastindex = cur->index; in pppush() 115 cur->index->file = pp.original; in pppush() 121 if (!(pp.mode & DUMP)) in pppush() 123 if (!cur->prev->prev && !(pp.state & COMPILE) && isatty(0)) in pppush() 126 if (pp.member) in pppush() [all …]
|
H A D | ppexpr.c | 51 state = (pp.state & ~DISABLE); in exists() 53 pptoken = pp.token; in exists() 54 pp.token = file; in exists() 55 pp.state |= HEADER|PASSEOF; in exists() 57 pp.state &= ~HEADER; in exists() 58 pp.token = pptoken; in exists() 75 if (pathaccess(pp.path, pp.token, file, NiL, 0)) in exists() 77 pathcanon(pp.path, 0); in exists() 78 message((-2, "%s: %s found", pred, pp.path)); in exists() 85 strcpy(pp.path, file); in exists() [all …]
|
/titanic_51/usr/src/contrib/ast/src/lib/libpp/ |
H A D | ppop.c | 33 #define REFONE (pp.truncate?(Hash_table_t*)0:pp.symtab) 34 #define REFALL (pp.truncate?pp.dirtab:pp.symtab) 48 r = p == &pp.state ? &pp.ro_state : p == &pp.mode ? &pp.ro_mode : &pp in ppset() [all...] |
H A D | ppcall.c | 66 if ((sym->flags & SYM_PREDICATE) && (pp.state & (CONDITIONAL|WARN)) == (CONDITIONAL|WARN)) in ppcall() 70 if ((pp.state & (COMPATIBILITY|TRANSITION)) != COMPATIBILITY || !mac->arity) in ppcall() 73 pp.mode |= MARKMACRO; in ppcall() 75 if ((pp.state & (COMPATIBILITY|STRICT)) == (COMPATIBILITY|STRICT)) in ppcall() 80 if ((sym->flags & SYM_PREDEFINED) && !(pp.mode & (HOSTED|INACTIVE))) in ppcall() 83 if (*sym->name != '_' && !(pp.state & COMPATIBILITY)) in ppcall() 88 if (pp.state & STRICT) in ppcall() 93 error(1, "%s: obsolete predefined symbol expanded%s", sym->name, (pp.state & DIRECTIVE) ? "" : " outside of directive"); in ppcall() 95 else if (!(pp.state & DIRECTIVE) && mac->value && (ppisdig(*mac->value) || *mac->value == '#')) in ppcall() 99 if (pp in ppcall() [all...] |
H A D | ppcontrol.c | 72 if (a = (struct pplist*)hashget(pp.prdtab, pred)) in assert() 94 hashput(pp.prdtab, pred, a); in assert() 95 if (sym = ppsymref(pp.symtab, pred)) in assert() 105 hashput(pp.prdtab, NiL, p); in assert() 107 if ((pp.state & COMPILE) && pp.truncate) return; in assert() 108 if (sym = ppsymset(pp.symtab, pred)) in assert() 136 pp.state &= ~NOSPACE; in tokop() 138 pp.state |= NOSPACE; in tokop() 141 ppop(op, (flags & TOKOP_DUP) ? strdup(pp in tokop() [all...] |
H A D | ppmisc.c | 39 if (!(sym = ppsymget(pp.symtab, name)) && (ref <= REF_NORMAL && pp.macref || ref == REF_CREATE || ref == REF_DELETE && (pp.mode & (INIT|READONLY)))) in pprefmac() 41 if ((pp.state & COMPILE) && pp.truncate && strlen(name) > pp.truncate) in pprefmac() 42 name[pp.truncate] = 0; in pprefmac() 43 sym = ppsymset(pp.symtab, NiL); in pprefmac() 47 if (pp.macref) (*pp in pprefmac() [all...] |
H A D | ppbuiltin.c | 55 number = pp.state; in ppbuiltin() 56 pp.state |= DISABLE|FILEPOP|NOSPACE; in ppbuiltin() 57 token = pp.token; in ppbuiltin() 58 p = pp.token = pp.tmpbuf; in ppbuiltin() 59 *(a = pp.args) = 0; in ppbuiltin() 65 switch (op = (int)hashget(pp.strtab, p)) in ppbuiltin() 69 p = pp.token = pp.valbuf; in ppbuiltin() 75 pp in ppbuiltin() [all...] |
H A D | ppinput.c | 97 if (pp.option & NATIVE) in pppush() 101 cur->hide = ++pp.hide; in pppush() 104 if ((pp.mode & (DUMP|INIT)) == DUMP) in pppush() 107 if (pp.lastindex) pp.lastindex->next = cur->index; in pppush() 108 else pp.firstindex = cur->index; in pppush() 109 pp.lastindex = cur->index; in pppush() 110 cur->index->file = pp.original; in pppush() 116 if (!(pp.mode & DUMP)) in pppush() 118 if (!cur->prev->prev && !(pp in pppush() [all...] |
H A D | ppexpr.c | 51 state = (pp.state & ~DISABLE); in exists() 53 pptoken = pp.token; in exists() 54 pp.token = file; in exists() 55 pp.state |= HEADER|PASSEOF; in exists() 57 pp.state &= ~HEADER; in exists() 58 pp.token = pptoken; in exists() 75 if (pathaccess(pp.token, file, NiL, 0, pp.path, MAXTOKEN + 1)) in exists() 77 pathcanon(pp.path, 0, 0); in exists() 78 message((-2, "%s: %s found", pred, pp in exists() [all...] |
/titanic_51/usr/src/cmd/csh/ |
H A D | sh.proc.c | 51 struct process *pp; in pchild() local 77 for (pp = proclist.p_next; pp != PNULL; pp = pp->p_next) in pchild() 78 if (pid == pp->p_pid) in pchild() 84 pp->p_flags &= ~(PRUNNING|PSTOPPED|PREPORTED); in pchild() 86 pp->p_flags |= PSTOPPED; in pchild() 87 pp->p_reason = w.w_stopsig; in pchild() 89 if (pp in pchild() 164 struct process *pp; pnote() local 190 struct process *fp, *pp; pwait() local 219 pjwait(struct process * pp) pjwait() argument 306 struct process *pp; dowait() local 331 struct process *pp; pflushall() local 347 pflush(struct process * pp) pflush() argument 383 pclrcurr(struct process * pp) pclrcurr() argument 412 struct process *pp; palloc() local 593 struct process *pp, *tp; pendjob() local 617 pprint(struct process * pp,int flag) pprint() argument 756 struct process *pp = tp; ptprint() local 778 struct process *pp; dojobs() local 808 struct process *pp; dofg() local 828 struct process *pp; dofg1() local 845 struct process *pp; dobg() local 864 struct process *pp; dobg1() local 945 struct process *pp, *np; pkill() local 1011 pstart(struct process * pp,int foregnd) pstart() argument 1062 struct process *pp; panystop() local 1076 struct process *pp, *np; pfind() local 1132 pgetcurr(struct process * pp) pgetcurr() argument 1157 struct process *pp; donotify() local 1295 struct process *pp; hupforegnd() local [all...] |
/titanic_51/usr/src/lib/scsi/libses/common/ |
H A D | ses_snap.c | 32 ses_snap_page_t *pp; in ses_snap_find_page() local 34 for (pp = sp->ss_pages; pp != NULL; pp = pp->ssp_next) in ses_snap_find_page() 35 if (pp->ssp_num == page && pp->ssp_control == ctl && in ses_snap_find_page() 36 (pp->ssp_len > 0 || pp->ssp_control)) in ses_snap_find_page() 37 return (pp); in ses_snap_find_page() 43 grow_snap_page(ses_snap_page_t * pp,size_t min) grow_snap_page() argument 64 ses_snap_page_t *pp; alloc_snap_page() local 81 free_snap_page(ses_snap_page_t * pp) free_snap_page() argument 96 ses_snap_page_t *pp, *np; free_all_snap_pages() local 119 ses_snap_page_t *pp, *up, **loc; ses_snap_ctl_page() local 178 ses_snap_page_t *pp; read_status_page() local 276 send_control_page(ses_snap_t * sp,ses_snap_page_t * pp) send_control_page() argument 322 ses_snap_page_t *pp, *np; pages_skel_create() local 448 ses_snap_page_t *pp; ses_snap_new() local 613 ses_snap_page_t *pp, *up; ses_snap_do_ctl() local [all...] |
/titanic_51/usr/src/uts/common/vm/ |
H A D | page_lock.c | 74 * PAGE_SE_MUTEX(pp) returns the address of the appropriate mutex 91 #define PAGE_IO_MUTEX(pp) \ argument 92 &pio_mutex[(((uintptr_t)pp) >> PIO_SHIFT) & (PIO_TABLE_SIZE - 1)] 98 extern pad_mutex_t *pse_mutex; /* Locks protecting pp->p_selock */ 101 #define PAGE_SE_MUTEX(pp) &pse_mutex[ \ argument 102 ((((uintptr_t)(pp) >> pse_shift) ^ ((uintptr_t)(pp))) >> 7) & \ 244 page_lock(page_t *pp, se_t se, kmutex_t *lock, reclaim_t reclaim) in page_lock() argument 246 return (page_lock_es(pp, se, lock, reclaim, 0)); in page_lock() 295 page_lock_es(page_t *pp, se_ argument 478 page_lock_clr_exclwanted(page_t * pp) page_lock_clr_exclwanted() argument 503 page_try_reclaim_lock(page_t * pp,se_t se,int es) page_try_reclaim_lock() argument 573 page_trylock(page_t * pp,se_t se) page_trylock() argument 614 page_unlock_nocapture(page_t * pp) page_unlock_nocapture() argument 647 page_unlock(page_t * pp) page_unlock() argument 702 page_tryupgrade(page_t * pp) page_tryupgrade() argument 725 page_downgrade(page_t * pp) page_downgrade() argument 742 page_lock_delete(page_t * pp) page_lock_delete() argument 759 page_deleted(page_t * pp) page_deleted() argument 768 page_iolock_init(page_t * pp) page_iolock_init() argument 778 page_io_lock(page_t * pp) page_io_lock() argument 795 page_io_unlock(page_t * pp) page_io_unlock() argument 811 page_io_trylock(page_t * pp) page_io_trylock() argument 835 page_io_wait(page_t * pp) page_io_wait() argument 851 page_io_locked(page_t * pp) page_io_locked() argument 861 page_iolock_assert(page_t * pp) page_iolock_assert() argument 897 page_se_mutex(page_t * pp) page_se_mutex() argument 927 page_szc_lock(page_t * pp) page_szc_lock() argument 994 page_szc_lock_assert(page_t * pp) page_szc_lock_assert() argument [all...] |
H A D | vm_page.c | 556 page_t *pp, in add_physmem() argument 566 "add_physmem:pp %p num %lu", pp, num); in add_physmem() 584 for (; num; pp++, pnum++, num--) { in add_physmem() 590 add_physmem_cb(pp, pnum); in add_physmem() 592 pp->p_lckcnt = 0; in add_physmem() 593 pp->p_cowcnt = 0; in add_physmem() 594 pp->p_slckcnt = 0; in add_physmem() 600 pp->p_selock = 0; in add_physmem() 605 page_iolock_init(pp); in add_physmem() 724 page_t *pp; page_lookup_create() local 933 page_t *pp; page_lookup_nowait() local 1001 page_t *pp; page_find() local 1065 page_t *pp; page_exists_physcontig() local 1298 page_t *pp; page_exists_forreal() local 1757 page_t *pp; page_create_get_something() local 1990 page_t *pplist = NULL, *pp; page_alloc_pages() local 2131 page_t *pp; page_create_va_large() local 2370 page_t *pp; page_create_va() local 2620 page_free(page_t * pp,int dontneed) page_free() argument 2742 page_free_at_startup(page_t * pp) page_free_at_startup() argument 2765 page_free_pages(page_t * pp) page_free_pages() argument 2828 page_t *pp; free_vp_pages() local 2892 page_reclaim(page_t * pp,kmutex_t * lock) page_reclaim() argument 3054 page_destroy(page_t * pp,int dontfree) page_destroy() argument 3108 page_destroy_pages(page_t * pp) page_destroy_pages() argument 3173 page_destroy_free(page_t * pp) page_destroy_free() argument 3218 page_t *pp; page_rename() local 3388 page_do_hashin(page_t * pp,vnode_t * vp,u_offset_t offset) page_do_hashin() argument 3450 page_hashin(page_t * pp,vnode_t * vp,u_offset_t offset,kmutex_t * hold) page_hashin() argument 3489 page_do_hashout(page_t * pp) page_do_hashout() argument 3536 page_hashout(page_t * pp,kmutex_t * phm) page_hashout() argument 3603 page_add(page_t ** ppp,page_t * pp) page_add() argument 3616 page_add_common(page_t ** ppp,page_t * pp) page_add_common() argument 3637 page_sub(page_t ** ppp,page_t * pp) page_sub() argument 3656 page_sub_common(page_t ** ppp,page_t * pp) page_sub_common() argument 3742 page_list_next(page_t * pp) page_list_next() argument 3755 page_vpadd(page_t ** ppp,page_t * pp) page_vpadd() argument 3775 page_vpsub(page_t ** ppp,page_t * pp) page_vpsub() argument 3803 page_pp_lock(page_t * pp,int cow,int kernel) page_pp_lock() argument 3868 page_pp_unlock(page_t * pp,int cow,int kernel) page_pp_unlock() argument 4040 page_addclaim(page_t * pp) page_addclaim() argument 4081 page_subclaim(page_t * pp) page_subclaim() argument 4212 page_t *pp; page_numtopp() local 4240 page_t *pp; page_numtopp_noreclaim() local 4272 page_t *pp; page_numtopp_nowait() local 4312 page_t *pp = page0; page_busy() local 4395 page_t *pp; page_invalidate_pages() local 4668 group_page_trylock(page_t * pp,se_t se) group_page_trylock() argument 4716 group_page_unlock(page_t * pp) group_page_unlock() argument 5012 page_t *pp; page_free_replacement_page() local 5090 page_release(page_t * pp,int checkmod) page_release() argument 5132 page_try_demote_free_pages(page_t * pp) page_try_demote_free_pages() argument 5183 page_try_demote_pages(page_t * pp) page_try_demote_pages() argument 5341 page_demote_vp_pages(page_t * pp) page_demote_vp_pages() argument 5379 page_t *pp0, *pp; page_mark_migrate() local 5555 page_t *pp; page_migrate() local 5751 page_t *pp; page_numtopp_nolock() local 5816 page_t *pp; page_numtomemseg_nolock() local 5857 page_nextn(page_t * pp,ulong_t n) page_nextn() argument 5928 page_next_scan_large(page_t * pp,ulong_t * n,void ** cookie) page_next_scan_large() argument 5979 page_next(page_t * pp) page_next() argument 6045 page_pptonum(page_t * pp) page_pptonum() argument 6056 page_set_props(page_t * pp,uint_t flags) page_set_props() argument 6063 page_clr_all_props(page_t * pp) page_clr_all_props() argument 6072 page_clear_lck_cow(page_t * pp,int adjust) page_clear_lck_cow() argument 6106 page_share_cnt(page_t * pp) page_share_cnt() argument 6112 page_isshared(page_t * pp) page_isshared() argument 6118 page_isfree(page_t * pp) page_isfree() argument 6124 page_isref(page_t * pp) page_isref() argument 6130 page_ismod(page_t * pp) page_ismod() argument 6177 page_t *pp; global() member 6191 PAGE_CAPTURE_PRIO(pp) global() argument 6227 PAGE_CAPTURE_HASH(pp) global() argument 6317 page_capture_move_to_walked(page_t * pp) page_capture_move_to_walked() argument 6367 page_capture_add_hash(page_t * pp,uint_t szc,uint_t flags,void * datap) page_capture_add_hash() argument 6514 page_capture_clean_page(page_t * pp) page_capture_clean_page() argument 6688 page_capture_pre_checks(page_t * pp,uint_t flags) page_capture_pre_checks() argument 6735 page_capture_take_action(page_t * pp,uint_t flags,void * datap) page_capture_take_action() argument 6925 page_itrycapture(page_t * pp,uint_t szc,uint_t flags,void * datap) page_itrycapture() argument 7014 page_trycapture(page_t * pp,uint_t szc,uint_t flags,void * datap) page_trycapture() argument 7029 page_unlock_capture(page_t * pp) page_unlock_capture() argument 7117 page_t *pp; page_retire_mdboot() local 7159 page_t *pp; page_capture_async() local [all...] |
H A D | page_retire.c | 104 * if (! page_tryupgrade(pp)) { 105 * page_unlock(pp); 106 * while (! page_lock(pp, SE_EXCL, NULL, P_RECLAIM)) { 110 * page_free(pp); 112 * The problem is that pp can change identity right after the 114 * there, change pp's identity, and hash pp onto the retired_vnode. 358 #define PR_TYPES(pp) { \ argument 360 if (pp->p_vnode) \ 362 if (PP_ISKAS(pp)) \ 462 page_settoxic(page_t * pp,uchar_t bits) page_settoxic() argument 475 page_clrtoxic(page_t * pp,uchar_t bits) page_clrtoxic() argument 486 page_retire_done(page_t * pp,int code) page_retire_done() argument 530 page_retire_destroy(page_t * pp) page_retire_destroy() argument 597 page_clear_transient_ue(page_t * pp) page_clear_transient_ue() argument 687 page_retire_transient_ue(page_t * pp) page_retire_transient_ue() argument 759 page_t *pp; pr_list_kstat_update() local 796 page_t *pp; pr_list_kstat_snapshot() local 936 page_retire_thread_cb(page_t * pp) page_retire_thread_cb() argument 954 page_retire_pp_finish(page_t * pp,void * notused,uint_t flags) page_retire_pp_finish() argument 1032 page_t *pp; page_retire() local 1114 page_unretire_pp(page_t * pp,int flags) page_unretire_pp() argument 1182 page_t *pp; page_unretire() local 1197 page_retire_check_pp(page_t * pp,uint64_t * errors) page_retire_check_pp() argument 1244 page_t *pp; page_retire_check() local 1264 page_t *first, *pp, *cpp, *cpp2, *lpp; page_retire_test() local [all...] |
/titanic_51/usr/src/cmd/lp/lib/printers/ |
H A D | freeprinter.c | 45 void freeprinter (pp) in freeprinter() argument 46 PRINTER *pp; in freeprinter() 48 if (!pp) 51 syslog(LOG_DEBUG, "freeprinter(%s)", pp->name ? pp->name : ""); 52 if (pp->name) 53 Free (pp->name); 54 if (pp->char_sets) 55 freelist (pp->char_sets); 56 if (pp [all...] |
/titanic_51/usr/src/uts/common/io/usb/clients/usbser/ |
H A D | usbser.c | 477 usbser_port_t *pp; in usbser_open() local 510 pp = &usp->us_ports[port_num]; in usbser_open() 513 rval = usbser_open_setup(rq, pp, minor, flag, cr); in usbser_open() 515 USB_DPRINTF_L4(DPRINT_OPEN, pp->port_lh, "usbser_open: rval=%d", rval); in usbser_open() 536 usbser_port_t *pp = (usbser_port_t *)rq->q_ptr; in usbser_close() local 539 if (pp == NULL) { in usbser_close() 544 online = usbser_dev_is_online(pp->port_usp); in usbser_close() 549 mutex_enter(&pp->port_mutex); in usbser_close() 550 pp->port_state = USBSER_PORT_CLOSING; in usbser_close() 554 usbser_close_drain(pp); in usbser_close() 584 usbser_port_t *pp = (usbser_port_t *)q->q_ptr; usbser_rsrv() local 614 usbser_port_t *pp = (usbser_port_t *)q->q_ptr; usbser_wput() local 647 usbser_port_t *pp = (usbser_port_t *)q->q_ptr; usbser_wsrv() local 816 usbser_port_t *pp; usbser_attach_ports() local 933 usbser_port_t *pp; usbser_detach_ports() local 1079 usbser_port_t *pp; usbser_disconnect_ports() local 1198 usbser_port_t *pp; usbser_suspend_ports() local 1288 usbser_port_t *pp; usbser_restore_ports_state() local 1364 usbser_open_setup(queue_t * rq,usbser_port_t * pp,int minor,int flag,cred_t * cr) usbser_open_setup() argument 1472 usbser_open_init(usbser_port_t * pp,int minor) usbser_open_init() argument 1543 usbser_check_port_props(usbser_port_t * pp) usbser_check_port_props() argument 1588 usbser_open_fini(usbser_port_t * pp) usbser_open_fini() argument 1624 usbser_open_line_setup(usbser_port_t * pp,int minor,int flag) usbser_open_line_setup() argument 1655 usbser_open_carrier_check(usbser_port_t * pp,int minor,int flag) usbser_open_carrier_check() argument 1719 usbser_open_queues_init(usbser_port_t * pp,queue_t * rq) usbser_open_queues_init() argument 1733 usbser_open_queues_fini(usbser_port_t * pp) usbser_open_queues_fini() argument 1759 usbser_close_drain(usbser_port_t * pp) usbser_close_drain() argument 1808 usbser_close_cancel_break(usbser_port_t * pp) usbser_close_cancel_break() argument 1830 usbser_close_hangup(usbser_port_t * pp) usbser_close_hangup() argument 1847 usbser_close_cleanup(usbser_port_t * pp) usbser_close_cleanup() argument 1866 usbser_port_t *pp = thr->thr_port; usbser_thr_dispatch() local 1888 usbser_port_t *pp = thr->thr_port; usbser_thr_cancel() local 1923 usbser_port_t *pp = thr->thr_port; usbser_wq_thread() local 1970 usbser_port_t *pp = thr->thr_port; usbser_rq_thread() local 2033 usbser_port_t *pp = (usbser_port_t *)arg; usbser_tx_cb() local 2069 usbser_port_t *pp = (usbser_port_t *)arg; usbser_rx_cb() local 2189 usbser_rx_massage_data(usbser_port_t * pp,mblk_t * mp) usbser_rx_massage_data() argument 2252 usbser_rx_massage_mbreak(usbser_port_t * pp,mblk_t * mp) usbser_rx_massage_mbreak() argument 2282 usbser_rx_cb_put(usbser_port_t * pp,queue_t * rq,queue_t * wq,mblk_t * mp) usbser_rx_cb_put() argument 2315 usbser_port_t *pp = (usbser_port_t *)arg; usbser_status_cb() local 2341 usbser_status_proc_cb(usbser_port_t * pp) usbser_status_proc_cb() argument 2464 usbser_wmsg(usbser_port_t * pp) usbser_wmsg() argument 2553 usbser_data(usbser_port_t * pp,mblk_t * mp) usbser_data() argument 2583 usbser_ioctl(usbser_port_t * pp,mblk_t * mp) usbser_ioctl() argument 2860 usbser_iocdata(usbser_port_t * pp,mblk_t * mp) usbser_iocdata() argument 2934 usbser_stop(usbser_port_t * pp,mblk_t * mp) usbser_stop() argument 2953 usbser_start(usbser_port_t * pp,mblk_t * mp) usbser_start() argument 2970 usbser_stopi(usbser_port_t * pp,mblk_t * mp) usbser_stopi() argument 2981 usbser_starti(usbser_port_t * pp,mblk_t * mp) usbser_starti() argument 2995 usbser_flush(usbser_port_t * pp,mblk_t * mp) usbser_flush() argument 3027 usbser_break(usbser_port_t * pp,mblk_t * mp) usbser_break() argument 3051 usbser_delay(usbser_port_t * pp,mblk_t * mp) usbser_delay() argument 3069 usbser_port_t *pp = (usbser_port_t *)arg; usbser_restart() local 3102 usbser_port_program(usbser_port_t * pp) usbser_port_program() argument 3206 usbser_inbound_flow_ctl(usbser_port_t * pp) usbser_inbound_flow_ctl() argument 3282 usbser_serialize_port_act(usbser_port_t * pp,int act) usbser_serialize_port_act() argument 3294 usbser_release_port_act(usbser_port_t * pp,int act) usbser_release_port_act() argument 3373 usbser_polledio_init(usbser_port_t * pp) usbser_polledio_init() argument 3410 usbser_polledio_fini(usbser_port_t * pp) usbser_polledio_fini() argument [all...] |
/titanic_51/usr/src/cmd/sendmail/aux/ |
H A D | rfc2047.c | 105 char *p, *q, *pp; in decode_rfc2047() local 151 for (pp = startofmime; *pp && *pp != '?'; pp++) in decode_rfc2047() 154 if (!*pp) in decode_rfc2047() 157 strncpy(charset, startofmime, pp - startofmime); in decode_rfc2047() 158 charset[pp - startofmime] = '\0'; in decode_rfc2047() 160 startofmime = pp + 1; in decode_rfc2047() 184 for (pp in decode_rfc2047() [all...] |
/titanic_51/usr/src/uts/sun4u/vm/ |
H A D | mach_kpm.c | 80 hat_kpm_mapin(struct page *pp, struct kpme *kpme) in hat_kpm_mapin() argument 90 if (pp == NULL || PAGE_LOCKED(pp) == 0) { in hat_kpm_mapin() 91 cmn_err(CE_WARN, "hat_kpm_mapin: pp zero or not locked"); in hat_kpm_mapin() 95 pml = sfmmu_mlist_enter(pp); in hat_kpm_mapin() 96 ASSERT(pp->p_kpmref >= 0); in hat_kpm_mapin() 98 vaddr = (pp->p_kpmref == 0) ? in hat_kpm_mapin() 99 sfmmu_kpm_mapin(pp) : hat_kpm_page2va(pp, 1); in hat_kpm_mapin() 106 if ((sfmmu_kpme_lookup(kpme, pp)) in hat_kpm_mapin() 129 hat_kpm_mapout(struct page * pp,struct kpme * kpme,caddr_t vaddr) hat_kpm_mapout() argument 223 hat_kpm_page2va(struct page * pp,int checkswap) hat_kpm_page2va() argument 270 PP2KPMPG(pp,kp) global() argument 284 PP2KPMSPG(pp,ksp) global() argument 312 page_t *pp; hat_kpm_fault() local 603 page_t *pp; sfmmu_kpm_vatopfn() local 620 sfmmu_kpme_lookup(struct kpme * kpme,page_t * pp) sfmmu_kpme_lookup() argument 636 sfmmu_kpme_add(struct kpme * kpme,page_t * pp) sfmmu_kpme_add() argument 657 sfmmu_kpme_sub(struct kpme * kpme,page_t * pp) sfmmu_kpme_sub() argument 687 sfmmu_kpm_mapin(page_t * pp) sfmmu_kpm_mapin() argument 878 sfmmu_kpm_mapout(page_t * pp,caddr_t vaddr) sfmmu_kpm_mapout() argument 1110 sfmmu_kpm_getvaddr(page_t * pp,int * kpm_vac_rangep) sfmmu_kpm_getvaddr() argument 1202 sfmmu_kpm_fault(caddr_t vaddr,struct memseg * mseg,page_t * pp) sfmmu_kpm_fault() argument 1530 sfmmu_kpm_fault_small(caddr_t vaddr,struct memseg * mseg,page_t * pp) sfmmu_kpm_fault_small() argument 1632 sfmmu_kpm_vac_conflict(page_t * pp,caddr_t vaddr) sfmmu_kpm_vac_conflict() argument 1726 sfmmu_kpm_pageunload(page_t * pp) sfmmu_kpm_pageunload() argument 1831 sfmmu_kpm_vac_unload(page_t * pp,caddr_t vaddr) sfmmu_kpm_vac_unload() argument 2033 sfmmu_kpm_hme_unload(page_t * pp) sfmmu_kpm_hme_unload() argument 2113 sfmmu_kpm_kpmp_enter(page_t * pp,pgcnt_t npages) sfmmu_kpm_kpmp_enter() argument 2177 sfmmu_kpm_page_cache(page_t * pp,int flags,int cache_flush_tag) sfmmu_kpm_page_cache() argument [all...] |
/titanic_51/usr/src/uts/common/sys/ |
H A D | ecppvar.h | 55 #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) (p argument 59 ECPP_MASK_INTR(pp) global() argument 60 ECPP_UNMASK_INTR(pp) global() argument 61 ECPP_DMA_START(pp) global() argument 62 ECPP_DMA_STOP(pp,cnt) global() argument 63 ECPP_DMA_GETCNT(pp) global() argument 413 DSR_READ(pp) global() argument 414 DCR_READ(pp) global() argument 415 ECR_READ(pp) global() argument 417 DATAR_READ(pp) global() argument 418 DFIFO_READ(pp) global() argument 420 TFIFO_READ(pp) global() argument 423 DCR_WRITE(pp,val) global() argument 424 ECR_WRITE(pp,val) global() argument 426 DATAR_WRITE(pp,val) global() argument 428 DFIFO_WRITE(pp,val) global() argument 430 TFIFO_WRITE(pp,val) global() argument 480 SET_DMAC_CSR(pp,val) global() argument 483 GET_DMAC_CSR(pp) global() argument 486 SET_DMAC_ACR(pp,val) global() argument 490 GET_DMAC_ACR(pp) global() argument 493 SET_DMAC_BCR(pp,val) global() argument 497 GET_DMAC_BCR(pp) global() argument 505 COMPAT_PIO(pp) global() argument 509 COMPAT_DMA(pp) global() argument [all...] |