Home
last modified time | relevance | path

Searched refs:reason (Results 1 – 25 of 249) sorted by relevance

12345678910

/titanic_52/usr/src/cmd/lp/cmd/lpsched/
H A Dfaults.c39 shortenReason(char *reason) in shortenReason() argument
44 if (strncmp(reason,"%%[",3) == 0) in shortenReason()
45 reason += 3; in shortenReason()
47 while (*reason == ' ') in shortenReason()
48 reason++; in shortenReason()
52 if (strncmp(reason,pe,peLen) == 0) in shortenReason()
53 reason += peLen; in shortenReason()
55 if (((ptr = strchr(reason,']')) != NULL) && (strncmp(ptr,"]%%",3) == 0)) in shortenReason()
58 pe = reason + strlen(reason) in shortenReason()
168 char *reason; dial_problem() member
[all...]
H A Dnotify.c48 static struct reason { struct
49 short reason; argument
170 print_reason (fd, prs->reason); in notify()
188 print_reason(int fd, int reason) in print_reason() argument
195 for (i = 0; N_Reason[i].reason != -1; i++) in print_reason()
196 if (N_Reason[i].reason == reason) { in print_reason()
197 if (reason == MDENYDEST && chkprinter_result) in print_reason()
199 if (reason == MDENYMEDIA && chkprinter_result) in print_reason()
202 if (reason in print_reason()
50 msgreason global() argument
[all...]
H A Ddisp2.c277 char *reason = NULL; in combineReasons() local
282 (addstring(&reason, "Fault reason: ") == 0) && in combineReasons()
283 (addstring(&reason, pps->fault_reason) == 0) && in combineReasons()
284 (addstring(&reason, "\n\tDisable reason: ") == 0) && in combineReasons()
285 (addstring(&reason, pps->dis_reason) == 0)) in combineReasons()
289 if (reason) in combineReasons()
291 Free(reason); in combineReasons()
293 reason in combineReasons()
306 char *reason = NULL; local_printer_status() local
[all...]
H A Ddisp4.c92 *reason; in s_reject_dest() local
98 getmessage (m, S_REJECT_DEST, &destination, &reason); in s_reject_dest()
101 (reason ? reason : "NULL")); in s_reject_dest()
112 load_str (&pps->rej_reason, reason); in s_reject_dest()
126 load_str (&pcs->rej_reason, reason); in s_reject_dest()
176 *reason, in s_disable_dest() local
182 getmessage (m, S_DISABLE_DEST, &destination, &reason, &when); in s_disable_dest()
185 (reason ? reason in s_disable_dest()
[all...]
/titanic_52/usr/src/lib/libnsl/yp/
H A Dyp_master.c62 int reason; in yp_master() local
78 if (reason = __yp_dobind(domain, &pdomb)) in yp_master()
79 return (reason); in yp_master()
83 reason = domaster(domain, map, pdomb, _ypserv_timeout, in yp_master()
87 if (reason == YPERR_RPC) { in yp_master()
99 if (reason == YPERR_MAP && geteuid() == 0) { in yp_master()
108 reason = rsvdreason; in yp_master()
111 return (reason); in yp_master()
124 int reason; in __yp_master_rsvdport() local
140 if (reason in __yp_master_rsvdport()
[all...]
H A Dyp_enum.c76 int reason; in __yp_first_cflookup() local
90 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup)) in __yp_first_cflookup()
91 return (reason); in __yp_first_cflookup()
95 reason = dofirst(domain, map, pdomb, _ypserv_timeout, in __yp_first_cflookup()
99 if (reason == YPERR_RPC || reason == YPERR_YPSERV || in __yp_first_cflookup()
100 reason == YPERR_BUSY /* as if */) { in __yp_first_cflookup()
105 return (reason); in __yp_first_cflookup()
113 return (reason); in __yp_first_cflookup()
240 int reason; in __yp_next_cflookup() local
[all...]
H A Dyp_match.c181 int reason; in __yp_match_cflookup() local
222 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup)) in __yp_match_cflookup()
223 return (reason); in __yp_match_cflookup()
227 reason = domatch(domain, map, key, keylen, pdomb, in __yp_match_cflookup()
231 if (reason == YPERR_RPC || reason == YPERR_YPSERV || in __yp_match_cflookup()
232 reason == YPERR_BUSY /* as if */) { in __yp_match_cflookup()
237 return (reason); in __yp_match_cflookup()
247 if (reason == 0) { in __yp_match_cflookup()
287 } else if (reason in __yp_match_cflookup()
365 int reason; __yp_match_rsvdport_cflookup() local
[all...]
H A Dyp_order.c62 int reason; in yp_order() local
78 if (reason = __yp_dobind(domain, &pdomb)) in yp_order()
79 return (reason); in yp_order()
83 reason = doorder(domain, map, pdomb, _ypserv_timeout, in yp_order()
87 if (reason == YPERR_RPC) { in yp_order()
99 return (reason); in yp_order()
H A Dyp_all.c69 int reason; in __yp_all_cflookup() local
87 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup)) in __yp_all_cflookup()
88 return (reason); in __yp_all_cflookup()
193 int reason; in __yp_all_rsvdport() local
211 if (reason = __yp_dobind_rsvdport(domain, &pdomb)) in __yp_all_rsvdport()
212 return (reason); in __yp_all_rsvdport()
/titanic_52/usr/src/cmd/svc/startd/
H A Drestarter.c330 restarter_str_t reason = restarter_str_insert_in_graph; in restarter_insert_inst() local
482 * The reason for transition will depend on in restarter_insert_inst()
486 reason = restarter_str_startd_restart; in restarter_insert_inst()
488 reason = restarter_str_bad_repo_state; in restarter_insert_inst()
497 ps->ps_reason = reason; in restarter_insert_inst()
668 next_state, RERR_NONE, reason); in restarter_insert_inst()
837 restarter_str_t reason) in restarter_instance_update_states() argument
852 restarter_get_str_short(reason)); in restarter_instance_update_states()
895 states->ps_reason = reason; in restarter_instance_update_states()
1034 restarter_str_t reason; in stop_instance() local
1268 restarter_str_t reason; unmaintain_instance() local
1393 restarter_str_t reason = restarter_str_per_configuration; enable_inst() local
1504 start_instance(scf_handle_t * local_handle,restarter_inst_t * inst,int32_t reason) start_instance() argument
1593 maintain_instance(scf_handle_t * h,restarter_inst_t * rip,int immediate,restarter_str_t reason) maintain_instance() argument
[all...]
H A Dprotocol.c218 int32_t reason) in restarter_event_enqueue() argument
229 e->rpe_reason = reason; in restarter_event_enqueue()
281 int32_t reason; in state_cb() local
304 (nvlist_lookup_int32(attr_list, RESTARTER_NAME_REASON, &reason) != in state_cb()
312 states->ps_reason = reason; in state_cb()
423 restarter_event_type_t event, int32_t reason) in restarter_protocol_send_event() argument
433 restarter_event_enqueue(inst, event, reason); in restarter_protocol_send_event()
450 reason) != 0) in restarter_protocol_send_event()
/titanic_52/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"
/titanic_52/usr/src/lib/libbc/libc/gen/common/
H A Dgetpwaent.c330 int reason; in getnextfromyellow() local
336 reason = yp_next(domain, "passwd_adjunct",oldyp, oldyplen, &key in getnextfromyellow()
338 if (reason) { in getnextfromyellow()
340 fprintf(stderr, "reason yp_next failed is %d\n", reason); in getnextfromyellow()
354 int reason; in getfirstfromyellow() local
360 reason = yp_first(domain, "passwd_adjunct", &key, &keylen, &yp, &yplen); in getfirstfromyellow()
361 if (reason) { in getfirstfromyellow()
363 fprintf(stderr, "reason yp_first failed is %d\n", reason); in getfirstfromyellow()
378 int reason; getnamefromyellow() local
[all...]
H A Dgetgraent.c308 int reason; in getnextfromyellow() local
314 if (reason = yp_next(g->domain, "group.adjunct.byname", in getnextfromyellow()
318 fprintf(stderr, "reason yp_next failed is %d\n", reason); in getnextfromyellow()
332 int reason; in getfirstfromyellow() local
338 if (reason = yp_first(g->domain, "group.adjunct.byname", in getfirstfromyellow()
341 fprintf(stderr, "reason yp_first failed is %d\n", reason); in getfirstfromyellow()
356 int reason; in getnamefromyellow() local
362 if (reason in getnamefromyellow()
[all...]
/titanic_52/usr/src/uts/common/fs/zfs/
H A Dvdev_label.c501 vdev_inuse(vdev_t *vd, uint64_t crtxg, vdev_labeltype_t reason, in vdev_inuse() argument
574 switch (reason) { in vdev_inuse()
620 vdev_label_init(vdev_t *vd, uint64_t crtxg, vdev_labeltype_t reason) in vdev_label_init() argument
638 crtxg, reason)) != 0) in vdev_label_init()
656 if (reason != VDEV_LABEL_REMOVE && reason != VDEV_LABEL_SPLIT && in vdev_label_init()
657 vdev_inuse(vd, crtxg, reason, &spare_guid, &l2cache_guid)) in vdev_label_init()
666 if (reason != VDEV_LABEL_REMOVE && reason != VDEV_LABEL_L2CACHE && in vdev_label_init()
680 if (reason in vdev_label_init()
[all...]
/titanic_52/usr/src/lib/librstp/common/
H A Dtopoch.c55 flush (STATE_MACH_T *this, char* reason) /* 17.19.9 */ in flush() argument
65 reason); in flush()
69 LT_FLASH_ONLY_THE_PORT, reason); in flush()
74 setTcPropBridge (STATE_MACH_T* this, char* reason) /* 17.19.14 */ in setTcPropBridge() argument
89 "other ports", reason); in setTcPropBridge()
94 LT_FLASH_ALL_PORTS_EXCLUDE_THIS, reason); in setTcPropBridge()
/titanic_52/usr/src/cmd/rmvolmgr/
H A Dvold.c58 * the reason that the medium couldn't be mounted. The action
142 char *reason,
615 * and a string stating the reason the medium or partition
640 char *reason; /* Why the medium wasn't mounted */ in create_notify_files() local
670 reason = NULL; in create_notify_files()
677 reason = not_mountable(aa[ai]); in create_notify_files()
678 if (reason != NULL) { in create_notify_files()
706 reason = "backup_slice"; in create_notify_files()
708 reason = "unformatted_media"; in create_notify_files()
726 reason, in create_notify_files()
740 create_one_notify_file(char * fstype,char * mount_point,char * notify_file,char * raw_partitionp,char * reason,char * symdev) create_one_notify_file() argument
[all...]
/titanic_52/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) in reject() argument
511 *reason; in reject()
516 send_message (S_REJECT_DEST, printer, reason);
567 static void disable (printer, reason, when) in disable() argument
569 *reason; in disable()
575 send_message (S_DISABLE_DEST, printer, reason, when);
/titanic_52/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
/titanic_52/usr/src/uts/sun4v/io/
H A Dplatsvc.c390 resp_msg.reason[0] = '\0'; in ps_shutdown_data_handler()
401 resp_msg.reason[0] = '\0'; in ps_shutdown_data_handler()
440 resp_msg.reason[0] = '\0'; in ps_panic_data_handler()
451 resp_msg.reason[0] = '\0'; in ps_panic_data_handler()
467 uint32_t result, uint32_t rec_result, char *reason, int timeout, in ps_suspend_send_response() argument
476 if (reason == NULL) { in ps_suspend_send_response()
480 reason_length = strnlen(reason, SUSPEND_MAX_REASON_SIZE - 1); in ps_suspend_send_response()
481 ASSERT(reason[reason_length] == '\0'); in ps_suspend_send_response()
494 bcopy(reason, &resp->reason, reason_lengt in ps_suspend_send_response()
[all...]
/titanic_52/usr/src/cmd/rcm_daemon/common/
H A Dttymux_rcm.c964 char **reason, rcm_info_t **dependent_reason, void *arg) in rsrc_change_common() argument
989 if ((*reason = strdup(TTYMUX_INVALID_ERR)) == NULL) { in rsrc_change_common()
1009 if ((*reason = (char *)malloc(len)) != NULL) { in rsrc_change_common()
1010 (void) snprintf(*reason, len, in rsrc_change_common()
1021 if ((*reason = strdup(TTYMUX_OFFLINE_FAIL)) == in rsrc_change_common()
1033 if ((*reason = (char *)malloc(len)) != NULL) { in rsrc_change_common()
1034 (void) snprintf(*reason, len, in rsrc_change_common()
1043 if ((*reason = strdup(TTYMUX_OFFLINE_FAIL)) == in rsrc_change_common()
1064 if ((*reason = strdup(TTYMUX_INVALID_ERR)) == NULL) { in rsrc_change_common()
1073 if ((*reason in rsrc_change_common()
1393 tty_offline(rcm_handle_t * hd,char * rsrc,id_t id,uint_t flags,char ** reason,rcm_info_t ** dependent_reason) tty_offline() argument
1402 tty_remove(rcm_handle_t * hd,char * rsrc,id_t id,uint_t flags,char ** reason,rcm_info_t ** dependent_reason) tty_remove() argument
1411 tty_suspend(rcm_handle_t * hd,char * rsrc,id_t id,timespec_t * interval,uint_t flag,char ** reason,rcm_info_t ** dependent_reason) tty_suspend() argument
1420 tty_online(rcm_handle_t * hd,char * rsrc,id_t id,uint_t flags,char ** reason,rcm_info_t ** dependent_reason) tty_online() argument
1429 tty_resume(rcm_handle_t * hd,char * rsrc,id_t id,uint_t flags,char ** reason,rcm_info_t ** dependent_reason) tty_resume() argument
[all...]
/titanic_52/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
114 char reason[MAX_REASON_SIZE]; member
126 char reason[MAX_REASON_SIZE]; member
/titanic_52/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fcf.h71 /* State change reason codes */ /* explan */
147 uint16_t reason; member
203 uint16_t reason; member
272 uint16_t reason; member
331 uint16_t reason; member
399 uint16_t reason; member
415 uint16_t reason; member
/titanic_52/usr/src/cmd/print/bsd-sysv-commands/
H A Dreject.c62 char *reason = NULL; in main() local
71 case 'r': /* reason */ in main()
72 reason = optarg; in main()
96 status = papiPrinterPause(svc, printer, reason); in main()
/titanic_52/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) in ipc_action_finish() argument
145 dsmp->dsm_name, reason); in ipc_action_finish()
159 if (reason == 0) in ipc_action_finish()
162 send_error_reply(ia, reason); in ipc_action_finish()

12345678910