Home
last modified time | relevance | path

Searched refs:pwheel (Results 1 – 12 of 12) sorted by relevance

/titanic_41/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_mount.c64 void do_mount (printer, form, pwheel) in do_mount() argument
67 *pwheel; in do_mount()
75 if (pwheel && (STREQU(pwheel, NAME_ANY) || STREQU(pwheel, NAME_NONE)))
76 pwheel = "";
81 if (form && !*form && pwheel && !*pwheel) {
84 pwheel = 0;
88 } else if (pwheel && !*pwheel) {
90 pwheel = 0;
93 if (!form && !pwheel)
127 if (pwheel && *pwheel && !daisy) {
[all …]
H A Ddo_align.c80 int do_align (printer, form, pwheel) in do_align() argument
83 *pwheel; in do_align()
265 mount_unmount (S_MOUNT, printer, NB(form), NB(pwheel));
/titanic_41/usr/src/cmd/lp/cmd/lpsched/
H A Ddaisyforms.c88 && (prs->pwheel = search_pwstatus(name)) in queue_pwheel()
90 prs->pwheel->requests++; in queue_pwheel()
91 check_pwheel_alert (prs->pwheel, (PWHEEL *)0); in queue_pwheel()
104 PWSTATUS * ppws = prs->pwheel; in unqueue_pwheel()
106 prs->pwheel = 0; in unqueue_pwheel()
250 #define OALERT ppws->pwheel->alert in check_pwheel_alert()
253 requests_waiting = max_requests_needing_pwheel_mounted(ppws->pwheel->name); in check_pwheel_alert()
291 ppws->pwheel = ppw; in check_pwheel_alert()
H A Dnodes.h68 PWSTATUS *pwheel; member
123 PWSTATUS *pwheel; member
147 PWHEEL *pwheel; member
173 PWSTATUS *pwheel; member
H A Dalerts.c189 fdprintf(fd, Pa_msg[0], NB(pp->pwheel->name), NB(pp->pwheel->name)); in pwformat()
193 if (p->printer->daisy && !SAME(p->pwheel_name, pp->pwheel->name) && in pwformat()
194 searchlist(pp->pwheel->name, p->printer->char_sets)) { in pwformat()
335 if ((rp->pwheel == pp) && in p_count()
341 && NewRequest->pwheel == pp in p_count()
H A Ddisp3.c147 register PWSTATUS *Oppws = pps->pwheel; in remount_pwheel()
149 pps->pwheel = 0; in remount_pwheel()
179 pps->pwheel = ppws; in remount_pwheel()
695 prs->pwheel = ppws; in s_load_printwheel()
728 if (PStatus[i]->pwheel == ppws) in _unload_pwheel()
729 PStatus[i]->pwheel = 0; in _unload_pwheel()
735 if (prs->pwheel == ppws) in _unload_pwheel()
736 prs->pwheel = 0; in _unload_pwheel()
H A Dlog.c207 ep->ex.pwheel->pwheel->name); in execlog()
H A Dfncs.c145 result->ex.pwheel = ex; in new_exec()
360 if (pwp->pwheel) in free_pwstatus()
361 freepwheel(pwp->pwheel); in free_pwstatus()
377 result->pwheel = p; in new_pwstatus()
379 result->pwheel = calloc(1, sizeof (*result)); in new_pwstatus()
383 result->trigger = result->pwheel->alert.Q; in new_pwstatus()
532 if (SAME(PWStatus[i]->pwheel->name, name)) in search_pwstatus()
H A Dexec.c302 PWSTATUS *pwheel; in exec() local
375 pwheel = va_arg(args, PWSTATUS *); in exec()
376 ep = pwheel->alert->exec; in exec()
1059 (void)Chown (pwheel->alert->msgfile, procuid, procgid); in exec()
1062 pwheel->pwheel->name, ALERTSHFILE); in exec()
H A Ddisp1.c796 char *pwheel; in s_inquire_request_rank() local
807 &req_id, &user, &pwheel); in s_inquire_request_rank()
811 (pwheel ? pwheel : "NULL")); in s_inquire_request_rank()
836 if (*pwheel && !SAME(pwheel, rp->pwheel_name)) in s_inquire_request_rank()
H A Ddowait.c462 pas = ep->ex.pwheel->alert; in dowait()
H A Dstatus.c218 if ((pps->pwheel = ppws) != NULL) in load_pstatus()