Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/lp/cmd/lpsched/
H A Ddowait.c130 if (prs->request->outcome & RS_CANCELLED) in dowait()
136 || prs->request->outcome & RS_STOPPED in dowait()
155 prs->request->outcome |= RS_FAILED; in dowait()
157 prs->request->outcome |= RS_NOTIFY; in dowait()
168 prs->request->outcome |= RS_NOTIFY; in dowait()
176 prs->request->outcome |= RS_PRINTED; in dowait()
179 prs->request->outcome |= RS_NOTIFY; in dowait()
292 prs->request->outcome &= ~(RS_PRINTING|RS_STOPPED); in dowait()
334 prs->request->outcome &= ~RS_FILTERING; in dowait()
346 if (prs->request->outcome & RS_CANCELLED) in dowait()
[all …]
H A Dcancel.c42 if (prs->request->outcome & RS_DONE) in cancel()
45 prs->request->outcome |= RS_CANCELLED; in cancel()
48 prs->request->outcome |= RS_NOTIFY; in cancel()
50 if (prs->request->outcome & RS_PRINTING) { in cancel()
53 else if (prs->request->outcome & RS_FILTERING) { in cancel()
56 else if (prs->request->outcome | RS_NOTIFY) { in cancel()
H A Ddisp1.c128 rp->request->outcome = 0; in s_print_request()
145 rp->request->outcome |= RS_HELD; in s_print_request()
147 rp->request->outcome &= ~RS_HELD; in s_print_request()
154 rp->request->outcome |= RS_IMMEDIATE; in s_print_request()
213 if (!(rp->request->outcome & RS_HELD) && size == 0) { in s_print_request()
356 else if (rp->request->outcome & RS_DONE) in s_start_change_request()
360 else if (rp->request->outcome & RS_CHANGING) in s_start_change_request()
362 else if (rp->request->outcome & RS_NOTIFYING) in s_start_change_request()
367 if (rp->request->outcome & RS_FILTERING && in s_start_change_request()
368 !(rp->request->outcome & RS_STOPPED)) { in s_start_change_request()
[all …]
H A Dnotify.c107 if (!(prs->request->outcome & RS_NOTIFY)) in notify()
112 && !(prs->request->outcome & RS_CANCELLED) in notify()
138 if (prs->request->outcome & RS_PRINTED) in notify()
141 if (prs->request->outcome & RS_CANCELLED) in notify()
143 (prs->request->outcome & RS_FAILED)? ", and" in notify()
147 if (prs->request->outcome & RS_FAILED) { in notify()
164 if (prs->request->outcome & RS_CANCELLED) in notify()
169 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.c138 if ((*p1)->request->outcome & RS_IMMEDIATE) in rsort()
139 if ((*p2)->request->outcome & RS_IMMEDIATE) in rsort()
147 else if ((*p2)->request->outcome & RS_IMMEDIATE) in rsort()
H A Dvalidate.c749 if (prs->request->outcome & RS_FILTERED) in _validate()
750 prs->request->outcome &= ~RS_FILTERED; in _validate()
753 prs->request->outcome & RS_FILTERING in _validate()
754 && !(prs->request->outcome & RS_STOPPED) in _validate()
756 prs->request->outcome |= RS_REFILTER; in _validate()
757 prs->request->outcome |= RS_STOPPED; in _validate()
761 prs->request->outcome & RS_PRINTING in _validate()
762 && !(prs->request->outcome & RS_STOPPED) in _validate()
764 prs->request->outcome |= RS_STOPPED; in _validate()
H A Dschedule.c347 else if (!(prs->request->outcome & RS_STOPPED)) in maybe_schedule()
519 if (!(prs->request->outcome & (RS_DONE|RS_HELD|RS_ACTIVE)) && in ev_slowf()
558 if (prs->request->outcome & RS_NOTIFY) { in ev_notify()
572 else if (prs->request->outcome & RS_NOTIFY && in ev_notify()
573 !(prs->request->outcome & RS_NOTIFYING)) { in ev_notify()
H A Ddisena.c57 pps->request->request->outcome |= RS_STOPPED; in disable()
H A Dexec.c423 request->request->outcome |= RS_PRINTING; in exec()
427 request->request->outcome |= RS_NOTIFYING; in exec()
431 request->request->outcome |= RS_FILTERING; in exec()
432 request->request->outcome &= ~RS_REFILTER; in exec()
588 if (!(request->request->outcome & RS_FILTERED)) in exec()
H A Dflt.c165 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()
/titanic_41/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()
/titanic_41/usr/src/cmd/lp/include/
H A Drequests.h84 ushort outcome; /* success/fauilure */ member
/titanic_41/usr/src/cmd/lp/lib/requests/
H A Dputrequest.c218 (void)fdprintf(fd, "%s%#6.4x\n", HEAD, reqbufp->outcome);
H A Dgetrequest.c220 reqp->outcome = (ushort)strtol(p, (char **)0, 16);
H A Dllib-llpreq52 ushort outcome; /* success/fauilure */
/titanic_41/usr/src/lib/librstp/common/
H A DChangeLog18 - The first version is to outcome
/titanic_41/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()