Home
last modified time | relevance | path

Searched refs:PStatus (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dstatus.c253 for (i = 0; PStatus != NULL && PStatus[i] != NULL; i++) in load_pstatus()
254 if (PStatus[i]->printer->name && !PStatus[i]->rej_reason) { in load_pstatus()
255 PStatus[i]->dis_reason = Strdup(CUZ_NEW_PRINTER); in load_pstatus()
256 PStatus[i]->rej_reason = Strdup(CUZ_NEW_DEST); in load_pstatus()
257 PStatus[i]->fault_reason = Strdup(CUZ_PRINTING_OK); in load_pstatus()
258 PStatus[i]->dis_date = now; in load_pstatus()
259 PStatus[i]->rej_date = now; in load_pstatus()
260 PStatus[i]->status |= PS_DISABLED | PS_REJECTED; in load_pstatus()
286 for (i = 0; PStatus != NULL && PStatus[i] != NULL; i++) { in load_fault_status()
287 PSTATUS *pps = PStatus[i]; in load_fault_status()
[all …]
H A Ddisp2.c234 for (i = 0; PStatus != NULL && PStatus[i] != NULL; i++) in s_unload_printer()
235 _unload_printer (PStatus[i]); in s_unload_printer()
236 free(PStatus); in s_unload_printer()
237 PStatus = NULL; in s_unload_printer()
259 list_remove((void ***)&PStatus, (void *)pps); in s_unload_printer()
344 for (i = 0; PStatus != NULL && PStatus[i] != NULL; i++) { in s_inquire_printer_status()
345 pps = PStatus[i]; in s_inquire_printer_status()
346 if (PStatus[i + 1] != NULL) in s_inquire_printer_status()
586 for (i = 0; PStatus != NULL && PStatus[i] != NULL; i++) { in s_paper_allowed()
587 pps = PStatus[i]; in s_paper_allowed()
[all …]
H A Ddaisyforms.c393 for (i = 0; PStatus != NULL && PStatus[i] != NULL; i++) in max_requests_needing_form_mounted()
394 PStatus[i]->nrequests = 0; in max_requests_needing_form_mounted()
429 for (i = 0; PStatus != NULL && PStatus[i] != NULL; i++) in max_requests_needing_pwheel_mounted()
430 PStatus[i]->nrequests = 0; in max_requests_needing_pwheel_mounted()
H A Dalerts.c190 for (i = 0; PStatus != NULL && PStatus[i] != NULL; i++) { in pwformat()
191 PSTATUS *p = PStatus[i]; in pwformat()
224 for (i = 0; PStatus != NULL && PStatus[i] != NULL; i++) { in fformat()
225 PSTATUS *p = PStatus[i]; in fformat()
H A Ddisp3.c583 for (i = 0; PStatus != NULL && PStatus[i] != NULL; i++) in _unload_form()
584 if (((ppfs = PStatus[i]->forms) != NULL) && in _unload_form()
585 ((numForms = PStatus[i]->numForms) > 0)) { in _unload_form()
727 for (i = 0; PStatus != NULL && PStatus[i] != NULL; i++) in _unload_pwheel()
728 if (PStatus[i]->pwheel == ppws) in _unload_pwheel()
729 PStatus[i]->pwheel = 0; in _unload_pwheel()
H A Dschedule.c158 for (i = 0; PStatus != NULL && PStatus[i] != NULL; i++) in schedule()
159 ev_interf (PStatus[i]); in schedule()
193 for (i = 0; PStatus != NULL && PStatus[i] != NULL; i++) in schedule()
194 enable (PStatus[i]); in schedule()
H A Dvalidate.c402 for (n = 0; PStatus != NULL && PStatus[n] != NULL; n++) ; in _validate()
423 for (i = 0; PStatus != NULL && PStatus[i] != NULL; i++) { in _validate()
424 pps = PStatus[i]; in _validate()
H A Dfncs.c265 list_append((void ***)&PStatus, (void *)result); in new_pstatus()
453 if (PStatus != NULL) { in search_pstatus()
456 for (i = 0; ((PStatus[i] != NULL) && (ps == NULL)); i++) in search_pstatus()
457 if (SAME(PStatus[i]->printer->name, name)) in search_pstatus()
458 ps = PStatus[i]; in search_pstatus()
H A Dinit.c35 PSTATUS **PStatus = NULL; /* Status of same */ variable
H A Ddisp1.c814 for (i = 0; PStatus != NULL && PStatus[i] != NULL; i++) in s_inquire_request_rank()
815 PStatus[i]->nrequests = 0; in s_inquire_request_rank()
H A Dlpsched.h372 extern PSTATUS **PStatus; /* Status of printers */