/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | cancel.c | 40 cancel (RSTATUS *prs, int spool) argument 42 if (prs->request->outcome & RS_DONE) 45 prs->request->outcome |= RS_CANCELLED; 47 if (spool || (prs->request->actions & ACT_NOTIFY)) 48 prs->request->outcome |= RS_NOTIFY; 50 if (prs->request->outcome & RS_PRINTING) { 51 terminate(prs->printer->exec); 53 else if (prs->request->outcome & RS_FILTERING) { 54 terminate (prs->exec); 56 else if (prs [all...] |
H A D | notify.c | 97 notify(register RSTATUS *prs, char *errbuf, int k, int e, int slow) argument 107 if (!(prs->request->outcome & RS_NOTIFY)) 110 !(prs->request->actions & (ACT_MAIL|ACT_WRITE|ACT_NOTIFY)) 111 && !prs->request->alert 112 && !(prs->request->outcome & RS_CANCELLED) 120 file = makereqerr(prs); 122 fdprintf(fd, N_Msg[0], prs->secure->req_id, prs->secure->req_id, 123 prs->request->destination, 124 STREQU(prs [all...] |
H A D | rstatus.c | 43 RSTATUS *prs; local 51 for (prs = Request_List; prs; prs = prs->next) { 52 if (rsort(&r, &prs) < 0) { 53 r->prev = prs->prev; 56 r->next = prs; 57 prs->prev = r; 58 if (prs 100 register RSTATUS *prs; local 111 register RSTATUS *prs; local [all...] |
H A D | dowait.c | 63 register RSTATUS *prs; local 105 prs = pps->request; 130 if (prs->request->outcome & RS_CANCELLED) 136 || prs->request->outcome & RS_STOPPED 148 errbuf = geterrbuf(prs); 155 prs->request->outcome |= RS_FAILED; 157 prs->request->outcome |= RS_NOTIFY; 158 notify (prs, errbuf, killed, exited, 0); 167 if (SHOULD_NOTIFY(prs)) 168 prs 496 geterrbuf(RSTATUS *prs) argument 556 check_request(RSTATUS *prs) argument [all...] |
H A D | faults.c | 76 printer_fault(register PSTATUS *pps, register RSTATUS *prs, char *alert_text, argument 125 alert(A_PRINTER, pps, prs, shortWhy); 165 dial_problem(register PSTATUS *pps, RSTATUS *prs, int rc) argument 196 printer_fault (pps, prs, msg, 0); 210 printer_fault (pps, prs, msg, 0);
|
H A D | requeue.c | 69 register RSTATUS *prs; local 93 for (prs = Request_List; prs; prs = prs->next) { 95 !SKIP_IT(prs) 96 && (!qchk_p || (*qchk_p)(prs)) 98 prs->printer == pps 99 || ISANY(prs) 100 || SAMECLASS(prs, pp 140 register RSTATUS *prs; local 211 register RSTATUS *prs; local 235 qchk_waiting(RSTATUS *prs) argument 244 qchk_filter(RSTATUS *prs) argument 259 qchk_form(RSTATUS *prs) argument 267 qchk_pwheel(RSTATUS *prs) argument [all...] |
H A D | daisyforms.c | 43 queue_form(RSTATUS *prs, FSTATUS *pfs) argument 45 if ((prs->form = pfs) != NULL) { 46 prs->form->requests++; 47 if (prs->printer) 48 check_form_alert (prs->form, (_FORM *)0); 58 unqueue_form(RSTATUS *prs) argument 60 FSTATUS * pfs = prs->form; 62 prs->form = 0; 65 if (prs->printer) 76 queue_pwheel(RSTATUS *prs, cha argument 102 unqueue_pwheel(RSTATUS *prs) argument 381 RSTATUS * prs; local 416 RSTATUS * prs; local 458 one_printer_with_charsets(RSTATUS *prs) argument [all...] |
H A D | disp2.c | 394 register RSTATUS *prs; local 403 for (prs = Request_List; prs != NULL; prs = prs->next) 404 if (STREQU(prs->request->destination, class)) { 408 switch (validate_request(prs, (char **)0, 1)) { 420 cancel (prs, 1); 465 RSTATUS *prs; local 482 for (prs [all...] |
H A D | disp3.c | 599 RSTATUS *prs; local 611 for (prs = Request_List; prs != NULL; prs = prs->next) 612 if (prs->form == FStatus[i]) { 631 for (prs = Request_List; prs != NULL; prs = prs 683 register RSTATUS *prs; local 718 register RSTATUS *prs; local [all...] |
H A D | pickfilter.c | 81 pickfilter(RSTATUS *prs, CANDIDATE *pc, FSTATUS *pfs) argument 119 if (prs->request->modes) { 120 cp = Strdup(prs->request->modes); 138 unload_str (&(prs->cpi)); 139 unload_str (&(prs->lpi)); 140 unload_str (&(prs->plen)); 141 unload_str (&(prs->pwid)); 150 *pp++ = prs->cpi = pfs->cpi; 155 *pp++ = prs->lpi = pfs->lpi; 160 *pp++ = prs [all...] |
H A D | schedule.c | 88 register RSTATUS * prs; local 122 prs = va_arg(ap, RSTATUS *); 123 schedule (EV_LATER, 1, event, prs); 201 if ((prs = va_arg(ap, RSTATUS *)) != NULL) 202 (void) ev_slowf (prs); 204 for (prs = Request_List; prs && ev_slowf(prs) != -1; 205 prs = prs 324 maybe_schedule(RSTATUS *prs) argument 356 register RSTATUS *prs; local 375 ev_form_message_body(FSTATUS *pfs, RSTATUS *prs, char *toSelf, char ***sysList) argument 391 register RSTATUS *prs; local 435 register RSTATUS *prs; local 501 ev_slowf(RSTATUS *prs) argument 539 ev_notify(RSTATUS *prs) argument [all...] |
H A D | disp1.c | 896 RSTATUS * prs; local 948 if (prs = request_by_id(rp->secure->req_id)) { 949 free(prs->secure->req_id); 950 prs->secure->req_id = strdup(securep->req_id);
|
H A D | validate.c | 69 _validate(RSTATUS *prs, PSTATUS *pps, PSTATUS *stop_pps, char **prefixp, argument 102 strcmp(prs->request->input_type, "postscript") == 0) && 104 if (tsol_lpauth(PRINT_POSTSCRIPT_AUTH, prs->secure->user) 112 if (bangequ(prs->secure->user, "root") || 113 bangequ(prs->secure->user, "lp")) 117 *prefixp = prs->request->destination; 123 if (!pps && prs->request->destination && 124 !STREQU(prs->request->destination, NAME_ANY)) 125 if (((pps = search_pstatus(prs->request->destination)) != NULL) || 126 ((pcs = search_cstatus(prs 836 _chkopts(RSTATUS *prs, CANDIDATE *pc, FSTATUS *pfs) argument [all...] |
/illumos-gate/usr/src/cmd/sh/ |
H A D | print.c | 54 void prs(unsigned char *as); 65 prs((unsigned char *)colon); 70 prs(unsigned char *as) function 128 prs(numbuf); 297 prs(bufp); 306 prs(bufp);
|
/illumos-gate/usr/src/uts/common/io/usb/clients/usbinput/usbwcm/ |
H A D | usbwcm.c | 165 uwacom_pen_events_graphire(usbwcm_state_t *usbwcmp, int prs, int stl1, int stl2) argument 167 uwacom_event(usbwcmp, EVT_ABS, ABS_PRESSURE, prs); 168 uwacom_event(usbwcmp, EVT_BTN, BTN_TIP, prs);
|
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool.c | 2056 pool_resource_destroy(pool_conf_t *conf, pool_resource_t *prs) argument 2068 pe = TO_ELEM(prs); 2070 if (resource_is_system(prs) == PO_TRUE) { 2087 if (rl[j] == prs) { 2108 default_set_res = (pool_resource_t *)get_default_resource(prs); 2110 if ((rl = pool_query_resource_components(conf, prs, &res_size, 2114 if (pool_resource_xtransfer(conf, prs, default_set_res, 2550 pool_resource_to_elem(const pool_conf_t *conf, const pool_resource_t *prs) argument 2556 return ((pool_elem_t *)prs); 2603 pool_walk_components(pool_conf_t *conf, pool_resource_t *prs, voi argument 2708 pool_query_resource_components(const pool_conf_t *conf, const pool_resource_t *prs, uint_t *size, pool_value_t **props) argument [all...] |
/illumos-gate/usr/src/ucbcmd/tset/ |
H A D | tset.c | 438 void prs(char *); 474 prs("Not a terminal\n"); 807 prs("TERM = ("); 808 prs(TtyType); 809 prs(") "); 827 prs("Cannot find termcap\n"); 832 prs("Type "); 833 prs(TtyType); 834 prs(" unknown\n"); 1028 prs("Termina 1245 prs(char *s) function [all...] |