Searched refs:reason (Results 1 - 25 of 208) sorted by relevance

123456789

/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dfaults.c39 shortenReason(char *reason) argument
44 if (strncmp(reason,"%%[",3) == 0)
45 reason += 3;
47 while (*reason == ' ')
48 reason++;
52 if (strncmp(reason,pe,peLen) == 0)
53 reason += peLen;
55 if (((ptr = strchr(reason,']')) != NULL) && (strncmp(ptr,"]%%",3) == 0))
58 pe = reason + strlen(reason)
168 char *reason; member in struct:problem
[all...]
H A Dnotify.c48 static struct reason { struct
49 short reason; member in struct:reason
170 print_reason (fd, prs->reason);
188 print_reason(int fd, int reason) argument
195 for (i = 0; N_Reason[i].reason != -1; i++)
196 if (N_Reason[i].reason == reason) {
197 if (reason == MDENYDEST && chkprinter_result)
199 if (reason == MDENYMEDIA && chkprinter_result)
202 if (reason
[all...]
H A Ddisena.c37 disable(PSTATUS *pps, char *reason, int when) argument
45 load_str (&pps->dis_reason, reason);
H A Ddisp4.c92 *reason; local
98 getmessage (m, S_REJECT_DEST, &destination, &reason);
101 (reason ? reason : "NULL"));
112 load_str (&pps->rej_reason, reason);
126 load_str (&pcs->rej_reason, reason);
176 *reason, local
182 getmessage (m, S_DISABLE_DEST, &destination, &reason, &when);
185 (reason ? reason
[all...]
H A Ddisp2.c277 char *reason = NULL; local
282 (addstring(&reason, "Fault reason: ") == 0) &&
283 (addstring(&reason, pps->fault_reason) == 0) &&
284 (addstring(&reason, "\n\tDisable reason: ") == 0) &&
285 (addstring(&reason, pps->dis_reason) == 0))
289 if (reason)
291 Free(reason);
293 reason
306 char *reason = NULL; local
[all...]
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_master.c62 int reason; local
78 if (reason = __yp_dobind(domain, &pdomb))
79 return (reason);
83 reason = domaster(domain, map, pdomb, _ypserv_timeout,
87 if (reason == YPERR_RPC) {
99 if (reason == YPERR_MAP && geteuid() == 0) {
108 reason = rsvdreason;
111 return (reason);
124 int reason; local
140 if (reason
[all...]
H A Dyp_order.c62 int reason; local
78 if (reason = __yp_dobind(domain, &pdomb))
79 return (reason);
83 reason = doorder(domain, map, pdomb, _ypserv_timeout,
87 if (reason == YPERR_RPC) {
99 return (reason);
H A Dyp_enum.c76 int reason; local
90 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup))
91 return (reason);
95 reason = dofirst(domain, map, pdomb, _ypserv_timeout,
99 if (reason == YPERR_RPC || reason == YPERR_YPSERV ||
100 reason == YPERR_BUSY /* as if */) {
105 return (reason);
113 return (reason);
240 int reason; local
[all...]
H A Dyp_match.c181 int reason; local
222 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup))
223 return (reason);
227 reason = domatch(domain, map, key, keylen, pdomb,
231 if (reason == YPERR_RPC || reason == YPERR_YPSERV ||
232 reason == YPERR_BUSY /* as if */) {
237 return (reason);
247 if (reason == 0) {
287 } else if (reason
365 int reason; local
[all...]
/illumos-gate/usr/src/uts/common/xen/public/
H A Dsched.h68 unsigned int reason; /* SHUTDOWN_* */ member in struct:sched_shutdown
96 unsigned int reason; /* SHUTDOWN_xxx reason */ member in struct:sched_remote_shutdown
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Dfsm.txt31 * The interrupt reason can be interpreted
52 command | * sendcdb * * rd-intr-reason
53 cdb | * * start-xfer start-xfer rd-intr-reason
54 datain | * * continue-xfer * rd-intr-reason
55 dataout | * * * continue-xfer rd-intr-reason
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dreject.c62 char *reason = NULL; local
71 case 'r': /* reason */
72 reason = optarg;
96 status = papiPrinterPause(svc, printer, reason);
H A Ddisable.c52 gettext("Usage: %s [-c] [-W] [-r reason] destination ...\n"),
96 char *reason = NULL; local
110 case 'r': /* reason */
111 reason = optarg;
135 status = papiPrinterDisable(svc, printer, reason);
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dplatsvc.h81 * String used as the error reason in the failure response when a
104 char reason[MAX_REASON_SIZE]; member in struct:platsvc_shutdown_resp
114 char reason[MAX_REASON_SIZE]; member in struct:platsvc_panic_resp
126 char reason[MAX_REASON_SIZE]; member in struct:platsvc_suspend_resp
H A Ddr_io.h80 char reason[1]; member in struct:__anon10320
H A Dvcc.h51 * vntsd uses VCC_INQUIRY ioctl to determine the reason for wakeup. In
53 * containing reason and port number.
104 vcc_reason_t reason; /* wake up reason */ member in struct:vcc_response
/illumos-gate/usr/src/cmd/mdb/test/
H A Dmtest.sh67 local expect base ext exe command odir res reason input
109 reason="stdout mismatch"
111 reason="test exited $res, not zero"
113 reason="test exited $res, not non-zero"
116 if [[ -n "$reason" ]]; then
117 echo "$reason"
/illumos-gate/usr/src/lib/libast/common/port/
H A Dastdynamic.c95 DllMain(HINSTANCE hinst, DWORD reason, VOID* reserved) argument
97 switch (reason)
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dgetgraent.c308 int reason; local
314 if (reason = yp_next(g->domain, "group.adjunct.byname",
318 fprintf(stderr, "reason yp_next failed is %d\n", reason);
332 int reason; local
338 if (reason = yp_first(g->domain, "group.adjunct.byname",
341 fprintf(stderr, "reason yp_first failed is %d\n", reason);
356 int reason; local
362 if (reason
[all...]
H A Dgetpwaent.c330 int reason; local
336 reason = yp_next(domain, "passwd_adjunct",oldyp, oldyplen, &key
338 if (reason) {
340 fprintf(stderr, "reason yp_next failed is %d\n", reason);
354 int reason; local
360 reason = yp_first(domain, "passwd_adjunct", &key, &keylen, &yp, &yplen);
361 if (reason) {
363 fprintf(stderr, "reason yp_first failed is %d\n", reason);
378 int reason; local
[all...]
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_align.c335 char reason[1024], local
336 *cp = reason;
353 LP_ERRMSG1 (ERROR, E_LP_PTRCHK, reason);
509 static void reject (printer, reason)
511 *reason;
516 send_message (S_REJECT_DEST, printer, reason);
567 static void disable (printer, reason, when)
569 *reason;
575 send_message (S_DISABLE_DEST, printer, reason, when);
/illumos-gate/usr/src/cmd/tip/
H A Dacu.c131 disconnect(char *reason) argument
135 if (reason == NOSTR) {
140 logent(value(HOST), "", acu->acu_name, reason); local
/illumos-gate/usr/src/common/net/wanboot/
H A Dp12err.h37 extern void ERR_SUNW_error(int function, int reason, char *file, int line);
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dipc_action.c124 * int: the reason why the action finished (nonzero on error)
129 ipc_action_finish(dhcp_smach_t *dsmp, int reason) argument
145 dsmp->dsm_name, reason);
159 if (reason == 0)
162 send_error_reply(ia, reason);
/illumos-gate/usr/src/uts/sun4v/io/
H A Dplatsvc.c390 resp_msg.reason[0] = '\0';
401 resp_msg.reason[0] = '\0';
440 resp_msg.reason[0] = '\0';
451 resp_msg.reason[0] = '\0';
467 uint32_t result, uint32_t rec_result, char *reason, int timeout,
476 if (reason == NULL) {
480 reason_length = strnlen(reason, SUSPEND_MAX_REASON_SIZE - 1);
481 ASSERT(reason[reason_length] == '\0');
494 bcopy(reason, &resp->reason, reason_lengt
466 ps_suspend_send_response(ds_svc_hdl_t *ds_handle, uint64_t req_num, uint32_t result, uint32_t rec_result, char *reason, int timeout, int intval) argument
[all...]

Completed in 99 milliseconds

123456789