/titanic_44/usr/src/cmd/lp/cmd/lpsched/ |
H A D | faults.c | 76 printer_fault(register PSTATUS *pps, register RSTATUS *prs, char *alert_text, in printer_fault() argument 81 pps->status |= PS_FAULTED; in printer_fault() 84 if (STREQU(pps->printer->fault_rec, NAME_WAIT)) in printer_fault() 85 disable (pps, CUZ_FAULT, DISABLE_STOP); in printer_fault() 88 else if (STREQU(pps->printer->fault_rec, NAME_BEGINNING)) in printer_fault() 89 terminate (pps->exec); in printer_fault() 92 else if (!(pps->status & PS_LATER) && !pps->request) { in printer_fault() 93 load_str (&pps->dis_reason, CUZ_STOPPED); in printer_fault() 94 schedule (EV_LATER, WHEN_PRINTER, EV_ENABLE, pps); in printer_fault() 110 load_str (&pps->fault_reason, shortWhy); in printer_fault() [all …]
|
H A D | disp2.c | 61 register PSTATUS *pps; in s_load_printer() local 81 } else if ((pps = search_pstatus(printer))) { in s_load_printer() 83 PRINTER *op = pps->printer; in s_load_printer() 85 pps->printer = pp; in s_load_printer() 100 if (pps->alert->active) in s_load_printer() 111 pps->alert->active = 0; in s_load_printer() 112 terminate (pps->alert->exec); in s_load_printer() 114 alert(A_PRINTER, pps, (RSTATUS *)0, in s_load_printer() 117 Unlink (pps->alert->msgfile); in s_load_printer() 121 unload_list (&pps->users_allowed); in s_load_printer() [all …]
|
H A D | disena.c | 37 disable(PSTATUS *pps, char *reason, int when) in disable() argument 39 if (pps->status & PS_DISABLED) in disable() 43 pps->status |= PS_DISABLED; in disable() 44 time (&pps->dis_date); in disable() 45 load_str (&pps->dis_reason, reason); in disable() 49 if (pps->status & PS_BUSY) in disable() 56 if (pps->request) in disable() 57 pps->request->request->outcome |= RS_STOPPED; in disable() 58 terminate (pps->exec); in disable() 71 if (pps->request) in disable() [all …]
|
H A D | disp4.c | 44 register PSTATUS *pps; in s_accept_dest() local 54 if ((pps = search_pstatus(destination))) in s_accept_dest() 55 if ((pps->status & PS_REJECTED) == 0) in s_accept_dest() 58 pps->status &= ~PS_REJECTED; in s_accept_dest() 59 (void) time (&pps->rej_date); in s_accept_dest() 94 register PSTATUS *pps; in s_reject_dest() local 106 if ((pps = search_pstatus(destination))) in s_reject_dest() 107 if (pps->status & PS_REJECTED) in s_reject_dest() 110 pps->status |= PS_REJECTED; in s_reject_dest() 111 (void) time (&pps->rej_date); in s_reject_dest() [all …]
|
H A D | disp3.c | 38 remount_form(register PSTATUS *pps, FSTATUS *pfs, short trayNum) in remount_form() argument 41 if (pps->forms && (pps->forms[trayNum].form == pfs)) { in remount_form() 42 pps->forms[trayNum].isAvailable = (pfs ? 1 : 0); in remount_form() 45 } else if ((!pps->forms) && (!pfs)) { in remount_form() 52 if (pps->forms && pps->forms[trayNum].form) { in remount_form() 53 register FSTATUS *Opfs = pps->forms[trayNum].form; in remount_form() 55 pps->forms[trayNum].form = 0; in remount_form() 56 pps->forms[trayNum].isAvailable = 1; in remount_form() 68 (void)queue_repel (pps, 0, qchk_form); in remount_form() 83 if (pps && !pps->forms) { in remount_form() [all …]
|
H A D | daisyforms.c | 305 trayWithForm(PSTATUS *pps, FSTATUS *pfs, int startingTray, int checkAvail) in trayWithForm() argument 310 ppfs = pps->forms; in trayWithForm() 315 for (i = startingTray; i < pps->numForms; i++) in trayWithForm() 328 allTraysWithForm(PSTATUS *pps, FSTATUS *pfs) in allTraysWithForm() argument 348 while ((tray = trayWithForm(pps, pfs, tray, 1)) > 0) { in allTraysWithForm() 362 isFormUsableOnPrinter(PSTATUS *pps, FSTATUS *pfs) in isFormUsableOnPrinter() argument 364 return (trayWithForm(pps,pfs,0,1) >= 0 ); in isFormUsableOnPrinter() 367 isFormMountedOnPrinter(PSTATUS *pps, FSTATUS *pfs) in isFormMountedOnPrinter() argument 369 return (trayWithForm(pps,pfs,0,0) >= 0 ); in isFormMountedOnPrinter() 380 PSTATUS * pps; in max_requests_needing_form_mounted() local [all …]
|
H A D | schedule.c | 87 register PSTATUS * pps; in schedule() local 116 pps = va_arg(ap, PSTATUS *); in schedule() 117 schedule (EV_LATER, 1, event, pps); in schedule() 127 pps = va_arg(ap, PSTATUS *); in schedule() 128 schedule (EV_LATER, 1, event, pps); in schedule() 157 if ((pps = va_arg(ap, PSTATUS *)) != NULL) in schedule() 158 ev_interf (pps); in schedule() 193 if ((pps = va_arg(ap, PSTATUS *)) != NULL) in schedule() 194 enable (pps); in schedule() 217 pps = va_arg(ap, PSTATUS *); in schedule() [all …]
|
H A D | status.c | 72 PSTATUS *pps; in load_pstatus() local 211 (pps = search_pstatus(name))) { in load_pstatus() 212 pps->rej_date = rej_date; in load_pstatus() 213 pps->status |= status; in load_pstatus() 214 pps->forms = ppfs; in load_pstatus() 215 if (ppfs) markFormsMounted(pps); in load_pstatus() 216 pps->numForms = numForms; in load_pstatus() 217 pps->pwheel_name = pwheel_name; in load_pstatus() 218 if ((pps->pwheel = ppws) != NULL) in load_pstatus() 220 pps->rej_reason = rej_reason; in load_pstatus() [all …]
|
H A D | dowait.c | 64 register PSTATUS *pps; in dowait() local 104 pps = ep->ex.printer; in dowait() 105 prs = pps->request; in dowait() 106 pps->request = 0; in dowait() 107 pps->status &= ~PS_BUSY; in dowait() 115 pps->status &= ~PS_FAULTED; in dowait() 116 if (pps->alert->active) in dowait() 117 cancel_alert (A_PRINTER, pps); in dowait() 135 || pps->status & (PS_DISABLED|PS_FAULTED) in dowait() 192 printer_fault (pps, prs, 0, 0); in dowait() [all …]
|
H A D | validate.c | 69 _validate(RSTATUS *prs, PSTATUS *pps, PSTATUS *stop_pps, char **prefixp, in _validate() argument 123 if (!pps && prs->request->destination && in _validate() 125 if (((pps = search_pstatus(prs->request->destination)) != NULL) || in _validate() 138 if (pps && pps == stop_pps) { in _validate() 149 if (prs && prs->request && prs->request->form && (pps || pcs)) { in _validate() 318 if (pps) { in _validate() 319 (pc = &single)->pps = pps; in _validate() 322 if (!CHKU(prs, pps)) { in _validate() 331 pps->printer->name) == 0) { in _validate() 338 if (pfs && !CHKF(pfs, pps)) { in _validate() [all …]
|
H A D | pickfilter.c | 86 register PSTATUS * pps = pc->pps; in pickfilter() local 208 if (!got_cpi && pps->cpi) { in pickfilter() 210 *(p_cpi = pp++) = prs->cpi = pps->cpi; in pickfilter() 212 if (!got_lpi && pps->lpi) { in pickfilter() 214 *(p_lpi = pp++) = prs->lpi = pps->lpi; in pickfilter() 216 if (!got_plen && pps->plen) { in pickfilter() 218 *(p_plen = pp++) = prs->plen = pps->plen; in pickfilter() 220 if (!got_pwid && pps->pwid) { in pickfilter() 222 *(p_pwid = pp++) = prs->pwid = pps->pwid; in pickfilter() 272 if (!STREQU(*(pps->printer->printer_types), NAME_UNKNOWN)) in pickfilter() [all …]
|
H A D | requeue.c | 67 queue_attract(PSTATUS *pps, int (*qchk_p)(RSTATUS *), int attract_just_one) in queue_attract() argument 98 prs->printer == pps in queue_attract() 100 || SAMECLASS(prs, pps) in queue_attract() 108 prs->printer == pps in queue_attract() 109 || evaluate_request(prs, pps, 0) == MOK in queue_attract() 121 schedule (EV_INTERF, pps); in queue_attract() 138 queue_repel(PSTATUS *pps, int move_off, int (*qchk_p)(RSTATUS *)) in queue_repel() argument 142 register PSTATUS *stop_pps = (move_off? pps : 0); in queue_repel() 156 if (prs->printer != pps) in queue_repel()
|
H A D | validate.h | 52 PSTATUS * pps; member
|
/titanic_44/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | pcibus.c | 569 did_t *pps[MAX_PCIBUS_DEVS][MAX_PCIDEV_FNS]; in pci_children_instantiate() local 581 pps[d][f] = NULL; in pci_children_instantiate() 590 pps[d][f] = np; in pci_children_instantiate() 610 if (pps[d][f] == NULL) in pci_children_instantiate() 612 din = did_dinode(pps[d][f]); in pci_children_instantiate() 621 did_rele(pps[d][f]); in pci_children_instantiate()
|
/titanic_44/usr/src/cmd/fwflash/plugins/transport/common/ |
H A D | tavor.c | 142 lpps = (struct mlx_xps *)(uintptr_t)manuf->pps; in fw_readfw() 171 if ((j = write(fd, manuf->pps, manuf->sector_sz)) != in fw_readfw() 461 lpps = (struct mlx_xps *)(uintptr_t)manuf->pps; in fw_writefw() 1005 if ((manuf->pps = calloc(1, manuf->sector_sz)) == NULL) { in tavor_identify() 1014 info.tf_sector = (caddr_t)manuf->pps; in tavor_identify() 1028 ptr = (uint32_t *)(uintptr_t)manuf->pps; in tavor_identify() 1071 bcopy(manuf->pps+FLASH_PS_PSID_OFFSET, &rawpsid, 16); in tavor_identify() 1230 bcopy(&handle->pps[0], &i, 4); in tavor_get_guids()
|
/titanic_44/usr/src/cmd/fwflash/plugins/hdrs/ |
H A D | tavor_ib.h | 140 uint8_t *pps; /* Primary Pointer Sector */ member
|
/titanic_44/usr/src/uts/sfmmu/vm/ |
H A D | hat_sfmmu.c | 2436 struct page **pps, uint_t attr, uint_t flags) in hat_memload_array() argument 2438 hat_do_memload_array(hat, addr, len, pps, attr, flags, in hat_memload_array() 2444 struct page **pps, uint_t attr, uint_t flags, in hat_memload_array_region() argument 2450 hat_do_memload_array(hat, addr, len, pps, attr, flags, in hat_memload_array_region() 2456 hat_do_memload_array(hat, addr, len, pps, attr, flags, rid); in hat_memload_array_region() 2472 struct page **pps, uint_t attr, uint_t flags, uint_t rid) in hat_do_memload_array() argument 2486 XHAT_MEMLOAD_ARRAY(hat, addr, len, pps, attr, flags); in hat_do_memload_array() 2513 sfmmu_memload_batchsmall(hat, addr, pps, attr, flags, npgs, in hat_do_memload_array() 2519 pp = *pps; in hat_do_memload_array() 2544 sfmmu_memtte(&tte, (*pps)->p_pagenum, in hat_do_memload_array() [all …]
|
/titanic_44/usr/src/cmd/ipf/tools/ |
H A D | ipf_y.y | 282 pps age new 555 pps: | IPFY_PPS YY_NUMBER { DOALL(fr->fr_pps = $2;) }
|
/titanic_44/usr/src/uts/i86pc/vm/ |
H A D | hat_i86.c | 1725 struct page **pps, uint_t attr, uint_t flags, in hat_memload_array_region() argument 1728 hat_memload_array(hat, addr, len, pps, attr, flags); in hat_memload_array_region()
|