Home
last modified time | relevance | path

Searched refs:pps (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dfaults.c73 printer_fault(register PSTATUS *pps, register RSTATUS *prs, char *alert_text, in printer_fault() argument
78 pps->status |= PS_FAULTED; in printer_fault()
81 if (STREQU(pps->printer->fault_rec, NAME_WAIT)) in printer_fault()
82 disable (pps, CUZ_FAULT, DISABLE_STOP); in printer_fault()
85 else if (STREQU(pps->printer->fault_rec, NAME_BEGINNING)) in printer_fault()
86 terminate (pps->exec); in printer_fault()
89 else if (!(pps->status & PS_LATER) && !pps->request) { in printer_fault()
90 load_str (&pps->dis_reason, CUZ_STOPPED); in printer_fault()
91 schedule (EV_LATER, WHEN_PRINTER, EV_ENABLE, pps); in printer_fault()
107 load_str (&pps->fault_reason, shortWhy); in printer_fault()
[all …]
H A Ddisp2.c61 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 Ddisp3.c38 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 Ddisp4.c44 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 Ddisena.c37 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 Ddaisyforms.c303 trayWithForm(PSTATUS *pps, FSTATUS *pfs, int startingTray, int checkAvail) in trayWithForm() argument
308 ppfs = pps->forms; in trayWithForm()
313 for (i = startingTray; i < pps->numForms; i++) in trayWithForm()
326 allTraysWithForm(PSTATUS *pps, FSTATUS *pfs) in allTraysWithForm() argument
346 while ((tray = trayWithForm(pps, pfs, tray, 1)) > 0) { in allTraysWithForm()
360 isFormUsableOnPrinter(PSTATUS *pps, FSTATUS *pfs) in isFormUsableOnPrinter() argument
362 return (trayWithForm(pps,pfs,0,1) >= 0 ); in isFormUsableOnPrinter()
365 isFormMountedOnPrinter(PSTATUS *pps, FSTATUS *pfs) in isFormMountedOnPrinter() argument
367 return (trayWithForm(pps,pfs,0,0) >= 0 ); in isFormMountedOnPrinter()
378 PSTATUS * pps; in max_requests_needing_form_mounted() local
[all …]
H A Dschedule.c84 register PSTATUS * pps; in schedule() local
113 pps = va_arg(ap, PSTATUS *); in schedule()
114 schedule (EV_LATER, 1, event, pps); in schedule()
124 pps = va_arg(ap, PSTATUS *); in schedule()
125 schedule (EV_LATER, 1, event, pps); in schedule()
154 if ((pps = va_arg(ap, PSTATUS *)) != NULL) in schedule()
155 ev_interf (pps); in schedule()
190 if ((pps = va_arg(ap, PSTATUS *)) != NULL) in schedule()
191 enable (pps); in schedule()
214 pps = va_arg(ap, PSTATUS *); in schedule()
[all …]
H A Dstatus.c72 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 Ddowait.c62 register PSTATUS *pps; in dowait() local
102 pps = ep->ex.printer; in dowait()
103 prs = pps->request; in dowait()
104 pps->request = 0; in dowait()
105 pps->status &= ~PS_BUSY; in dowait()
113 pps->status &= ~PS_FAULTED; in dowait()
114 if (pps->alert->active) in dowait()
115 cancel_alert (A_PRINTER, pps); in dowait()
133 || pps->status & (PS_DISABLED|PS_FAULTED) in dowait()
190 printer_fault (pps, prs, 0, 0); in dowait()
[all …]
H A Dvalidate.c70 _validate(RSTATUS *prs, PSTATUS *pps, PSTATUS *stop_pps, char **prefixp, in _validate() argument
124 if (!pps && prs->request->destination && in _validate()
126 if (((pps = search_pstatus(prs->request->destination)) != NULL) || in _validate()
139 if (pps && pps == stop_pps) { in _validate()
150 if (prs && prs->request && prs->request->form && (pps || pcs)) { in _validate()
319 if (pps) { in _validate()
320 (pc = &single)->pps = pps; in _validate()
323 if (!CHKU(prs, pps)) { in _validate()
332 pps->printer->name) == 0) { in _validate()
339 if (pfs && !CHKF(pfs, pps)) { in _validate()
[all …]
H A Dpickfilter.c85 register PSTATUS * pps = pc->pps; in pickfilter() local
207 if (!got_cpi && pps->cpi) { in pickfilter()
209 *(p_cpi = pp++) = prs->cpi = pps->cpi; in pickfilter()
211 if (!got_lpi && pps->lpi) { in pickfilter()
213 *(p_lpi = pp++) = prs->lpi = pps->lpi; in pickfilter()
215 if (!got_plen && pps->plen) { in pickfilter()
217 *(p_plen = pp++) = prs->plen = pps->plen; in pickfilter()
219 if (!got_pwid && pps->pwid) { in pickfilter()
221 *(p_pwid = pp++) = prs->pwid = pps->pwid; in pickfilter()
271 if (!STREQU(*(pps->printer->printer_types), NAME_UNKNOWN)) in pickfilter()
[all …]
H A Drequeue.c67 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 Dvalidate.h49 PSTATUS * pps; member
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus.c732 did_t *pps[MAX_PCIBUS_DEVS][MAX_PCIDEV_FNS]; in pci_children_instantiate() local
744 pps[d][f] = NULL; in pci_children_instantiate()
753 pps[d][f] = np; in pci_children_instantiate()
773 if (pps[d][f] == NULL) in pci_children_instantiate()
775 din = did_dinode(pps[d][f]); in pci_children_instantiate()
784 did_rele(pps[d][f]); in pci_children_instantiate()
/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/
H A Dtavor.c142 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()
/illumos-gate/usr/src/cmd/fwflash/plugins/hdrs/
H A Dtavor_ib.h140 uint8_t *pps; /* Primary Pointer Sector */ member
/illumos-gate/usr/src/uts/sfmmu/vm/
H A Dhat_sfmmu.c2414 struct page **pps, uint_t attr, uint_t flags) in hat_memload_array() argument
2416 hat_do_memload_array(hat, addr, len, pps, attr, flags, in hat_memload_array()
2422 struct page **pps, uint_t attr, uint_t flags, in hat_memload_array_region() argument
2427 hat_do_memload_array(hat, addr, len, pps, attr, flags, in hat_memload_array_region()
2433 hat_do_memload_array(hat, addr, len, pps, attr, flags, rid); in hat_memload_array_region()
2449 struct page **pps, uint_t attr, uint_t flags, uint_t rid) in hat_do_memload_array() argument
2484 sfmmu_memload_batchsmall(hat, addr, pps, attr, flags, npgs, in hat_do_memload_array()
2490 pp = *pps; in hat_do_memload_array()
2515 sfmmu_memtte(&tte, (*pps)->p_pagenum, in hat_do_memload_array()
2518 pps, flags, rid)) { in hat_do_memload_array()
[all …]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipf_y.y282 pps age new
555 pps: | IPFY_PPS YY_NUMBER { DOALL(fr->fr_pps = $2;) }
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dhat_i86.c2240 struct page **pps, uint_t attr, uint_t flags, in hat_memload_array_region() argument
2243 hat_memload_array(hat, addr, len, pps, attr, flags); in hat_memload_array_region()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dmagic.tab1638 |name match *.pps Microsoft PowerPoint SlideShow application/vnd.ms-powerpoint