/titanic_41/usr/src/cmd/lp/cmd/lpsched/ |
H A D | faults.c | 39 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) -1; in shortenReason() 59 pe = reason; in shortenReason() [all …]
|
H A D | notify.c | 48 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 == MDENYDEST && chkprinter_result) { in print_reason()
|
H A D | disp2.c | 277 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 = pps->fault_reason; in combineReasons() 297 reason = pps->dis_reason; in combineReasons() 300 return (reason); in combineReasons() [all …]
|
H A D | disp4.c | 92 *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 : "NULL"), when); in s_disable_dest() 206 if (disable(pps, reason, (int)when) == -1) { in s_disable_dest()
|
/titanic_41/usr/src/lib/libnsl/yp/ |
H A D | yp_master.c | 62 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 = __yp_dobind_rsvdport(domain, &pdomb)) in __yp_master_rsvdport() [all …]
|
H A D | yp_enum.c | 76 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 254 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup)) in __yp_next_cflookup() [all …]
|
H A D | yp_match.c | 181 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 == YPERR_MAP && geteuid() == 0) { in __yp_match_cflookup() 297 reason = rsvdreason; in __yp_match_cflookup() [all …]
|
H A D | yp_order.c | 62 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 D | yp_all.c | 69 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_41/usr/src/cmd/svc/startd/ |
H A D | restarter.c | 330 restarter_str_t reason = restarter_str_insert_in_graph; in restarter_insert_inst() local 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 1043 reason = restarter_str_ct_ev_exit; in stop_instance() [all …]
|
H A D | protocol.c | 218 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_41/usr/src/cmd/mdb/test/ |
H A D | mtest.sh | 67 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_41/usr/src/lib/libbc/libc/gen/common/ |
H A D | getpwaent.c | 330 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; in getnamefromyellow() local 384 reason = yp_match(domain, "passwd.adjunct.byname", name, strlen(name) in getnamefromyellow() [all …]
|
H A D | getgraent.c | 308 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 = yp_match(g->domain, "group.adjunct.byname", in getnamefromyellow() 365 fprintf(stderr, "reason yp_next failed is %d\n", reason); in getnamefromyellow()
|
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | vdev_label.c | 507 vdev_inuse(vdev_t *vd, uint64_t crtxg, vdev_labeltype_t reason, in vdev_inuse() argument 580 switch (reason) { in vdev_inuse() 625 vdev_label_init(vdev_t *vd, uint64_t crtxg, vdev_labeltype_t reason) in vdev_label_init() argument 643 crtxg, reason)) != 0) in vdev_label_init() 661 if (reason != VDEV_LABEL_REMOVE && reason != VDEV_LABEL_SPLIT && in vdev_label_init() 662 vdev_inuse(vd, crtxg, reason, &spare_guid, &l2cache_guid)) in vdev_label_init() 671 if (reason != VDEV_LABEL_REMOVE && reason != VDEV_LABEL_L2CACHE && in vdev_label_init() 685 if (reason == VDEV_LABEL_SPARE) in vdev_label_init() 687 ASSERT(reason == VDEV_LABEL_REPLACE || in vdev_label_init() 688 reason == VDEV_LABEL_SPLIT); in vdev_label_init() [all …]
|
/titanic_41/usr/src/lib/librstp/common/ |
H A D | topoch.c | 55 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_41/usr/src/cmd/rmvolmgr/ |
H A D | vold.c | 142 char *reason, 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 char *reason, in create_one_notify_file() argument 771 if (reason != NULL) { in create_one_notify_file() [all …]
|
/titanic_41/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | do_align.c | 335 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_41/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | fsm.txt | 31 * 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_41/usr/src/uts/sun4v/io/ |
H A D | platsvc.c | 390 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_length - 1); in ps_suspend_send_response() 496 resp->reason[reason_length] = '\0'; in ps_suspend_send_response()
|
/titanic_41/usr/src/uts/sun4v/sys/ |
H A D | platsvc.h | 104 char reason[MAX_REASON_SIZE]; member 114 char reason[MAX_REASON_SIZE]; member 126 char reason[MAX_REASON_SIZE]; member
|
/titanic_41/usr/src/cmd/rcm_daemon/common/ |
H A D | ttymux_rcm.c | 964 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 = strdup(TTYMUX_ONLINE_ERR)) == NULL) { in rsrc_change_common() [all …]
|
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_fcf.h | 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_41/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | reject.c | 62 char *reason = NULL; in main() local 72 reason = optarg; in main() 96 status = papiPrinterPause(svc, printer, reason); in main()
|
/titanic_41/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | ipc_action.c | 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()
|