Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Ddowait.c153 prs->request->outcome |= RS_FAILED; in dowait()
155 prs->request->outcome |= RS_NOTIFY; in dowait()
166 prs->request->outcome |= RS_NOTIFY; in dowait()
174 prs->request->outcome |= RS_PRINTED; in dowait()
177 prs->request->outcome |= RS_NOTIFY; in dowait()
362 if (prs->request->outcome in dowait()
374 prs->request->outcome |= RS_FAILED; in dowait()
375 prs->request->outcome |= RS_NOTIFY; in dowait()
387 prs->request->outcome |= RS_NOTIFY; in dowait()
423 prs->request->outcome & RS_REFILTER in dowait()
[all …]
H A Dcancel.c40 if (prs->request->outcome & RS_DONE) in cancel()
43 prs->request->outcome |= RS_CANCELLED; in cancel()
46 prs->request->outcome |= RS_NOTIFY; in cancel()
48 if (prs->request->outcome & RS_PRINTING) { in cancel()
51 else if (prs->request->outcome & RS_FILTERING) { in cancel()
54 else if (prs->request->outcome | RS_NOTIFY) { in cancel()
H A Ddisp1.c129 rp->request->outcome = 0; in s_print_request()
146 rp->request->outcome |= RS_HELD; in s_print_request()
148 rp->request->outcome &= ~RS_HELD; in s_print_request()
376 rp->request->outcome |= RS_STOPPED; in s_start_change_request()
530 rp->request->outcome = oldr.outcome; in s_end_change_request()
548 rp->request->outcome |= RS_HELD; in s_end_change_request()
558 rp->request->outcome |= in s_end_change_request()
569 rp->request->outcome &= in s_end_change_request()
859 found->request->outcome, in s_inquire_request_rank()
879 found->request->outcome, in s_inquire_request_rank()
[all …]
H A Dnotify.c104 if (!(prs->request->outcome & RS_NOTIFY)) in notify()
109 && !(prs->request->outcome & RS_CANCELLED) in notify()
135 if (prs->request->outcome & RS_PRINTED) in notify()
138 if (prs->request->outcome & RS_CANCELLED) in notify()
140 (prs->request->outcome & RS_FAILED)? ", and" in notify()
144 if (prs->request->outcome & RS_FAILED) { in notify()
161 if (prs->request->outcome & RS_CANCELLED) in notify()
166 if (prs->request->outcome & RS_CANCELLED) { in notify()
H A Drequeue.c60 #define SKIP_IT(PRS) ((PRS)->request->outcome & RS_SKIP)
169 if ( !(prs->request->outcome & RS_DONE) ) in queue_repel()
238 !(prs->request->outcome & (RS_HELD|RS_DONE|RS_ACTIVE)) in qchk_waiting()
251 !(prs->request->outcome & (RS_DONE|RS_CHANGING|RS_NOTIFY)) in qchk_filter()
H A Dinit.c179 r->outcome &= ~RS_ACTIVE; /* it can't be! */ in init_requests()
182 if ((r->outcome & (RS_CANCELLED|RS_FAILED)) && in init_requests()
183 !(r->outcome & RS_NOTIFY)) { in init_requests()
201 if (r->outcome & RS_NOTIFY) { in init_requests()
205 if (!(r->outcome & RS_CANCELLED)) { in init_requests()
H A Drstatus.c135 if ((*p1)->request->outcome & RS_IMMEDIATE) in rsort()
136 if ((*p2)->request->outcome & RS_IMMEDIATE) in rsort()
144 else if ((*p2)->request->outcome & RS_IMMEDIATE) in rsort()
H A Dvalidate.c750 if (prs->request->outcome & RS_FILTERED) in _validate()
751 prs->request->outcome &= ~RS_FILTERED; in _validate()
754 prs->request->outcome & RS_FILTERING in _validate()
755 && !(prs->request->outcome & RS_STOPPED) in _validate()
757 prs->request->outcome |= RS_REFILTER; in _validate()
758 prs->request->outcome |= RS_STOPPED; in _validate()
762 prs->request->outcome & RS_PRINTING in _validate()
763 && !(prs->request->outcome & RS_STOPPED) in _validate()
765 prs->request->outcome |= RS_STOPPED; in _validate()
H A Dschedule.c344 else if (!(prs->request->outcome & RS_STOPPED)) in maybe_schedule()
516 if (!(prs->request->outcome & (RS_DONE|RS_HELD|RS_ACTIVE)) && in ev_slowf()
555 if (prs->request->outcome & RS_NOTIFY) { in ev_notify()
569 else if (prs->request->outcome & RS_NOTIFY && in ev_notify()
570 !(prs->request->outcome & RS_NOTIFYING)) { in ev_notify()
H A Ddisena.c57 pps->request->request->outcome |= RS_STOPPED; in disable()
H A Dexec.c317 request->request->outcome |= RS_PRINTING; in exec()
321 request->request->outcome |= RS_NOTIFYING; in exec()
325 request->request->outcome |= RS_FILTERING; in exec()
326 request->request->outcome &= ~RS_REFILTER; in exec()
482 if (!(request->request->outcome & RS_FILTERED)) in exec()
H A Dflt.c163 fp->r1->request->outcome &= ~RS_CHANGING; in do_flt_acts()
H A Dlpsched.h180 ((PRS)->slow && !((PRS)->request->outcome & RS_FILTERED))
H A Ddisp4.c518 pps->request->request->outcome |= in s_paper_changed()
/illumos-gate/usr/src/cmd/svc/startd/
H A Dlog.c443 log_transition(const restarter_inst_t *inst, start_outcome_t outcome) in log_transition() argument
450 if (outcome == START_REQUESTED) { in log_transition()
477 switch (outcome) { in log_transition()
503 assert(outcome != START_REQUESTED); in log_transition()
/illumos-gate/usr/src/cmd/lp/include/
H A Drequests.h81 ushort outcome; /* success/fauilure */ member
/illumos-gate/usr/src/cmd/lp/lib/requests/
H A Dputrequest.c216 (void)fdprintf(fd, "%s%#6.4x\n", HEAD, reqbufp->outcome);
H A Dgetrequest.c218 reqp->outcome = (ushort)strtol(p, (char **)0, 16);
/illumos-gate/usr/src/lib/librstp/common/
H A DChangeLog18 - The first version is to outcome
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dlpsched-jobs.c455 lpsched_request_outcome_to_attributes(&j->attributes, r->outcome); in lpsched_request_to_job_attributes()