Home
last modified time | relevance | path

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

1234567891011

/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/implicit_dependencies/without_structs/
H A Dimplicit_dependencies_verbose.pretty1 {'acct': [{'call': 'fadvise64_64', 'reason': set([('file', 'f_mode')])},
2 {'call': 'swapoff', 'reason': set([('file', 'f_mode')])},
3 {'call': 'memfd_create', 'reason': set([('file', 'f_mode')])},
4 {'call': 'remap_file_pages', 'reason': set([('file', 'f_mode')])},
5 {'call': 'dup3', 'reason': set([('file', 'f_mode')])},
6 {'call': 'socketpair', 'reason': set([('file', 'f_mode')])},
7 {'call': 'epoll_create1', 'reason': set([('file', 'f_mode')])},
8 {'call': 'epoll_ctl', 'reason': set([('file', 'f_mode')])},
9 {'call': 'flock', 'reason': set([('file', 'f_mode')])},
10 {'call': 'openat', 'reason': set([('file', 'f_mode')])},
[all …]
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/implicit_dependencies/with_structs/
H A Dimplicit_dependencies_verbose1 {'accept4': [{'call': 'syncfs', 'reason': set([('fd', 'file')])},
2 {'call': 'vmsplice', 'reason': set([('fd', 'file')])},
3 {'call': 'pwritev64', 'reason': set([('fd', 'file')])},
4 {'call': 'fremovexattr', 'reason': set([('fd', 'file')])},
5 {'call': 'readahead', 'reason': set([('fd', 'file')])},
6 {'call': 'getdents', 'reason': set([('fd', 'file')])},
7 {'call': 'writev', 'reason': set([('fd', 'file')])},
8 {'call': 'preadv64', 'reason': set([('fd', 'file')])},
9 {'call': 'fchmod', 'reason': set([('fd', 'file')])},
10 {'call': 'pread64', 'reason': set([('fd', 'file')])},
[all …]
H A Dimplicit_dependencies_verbose.pretty1 {'acct': [{'call': 'eventfd2', 'reason': set([('file', 'f_mode')])},
2 {'call': 'swapoff', 'reason': set([('file', 'f_mode')])},
3 {'call': 'memfd_create', 'reason': set([('file', 'f_mode')])},
4 {'call': 'remap_file_pages', 'reason': set([('file', 'f_mode')])},
5 {'call': 'dup3', 'reason': set([('file', 'f_mode')])},
6 {'call': 'epoll_create1', 'reason': set([('file', 'f_mode')])},
7 {'call': 'epoll_ctl', 'reason': set([('file', 'f_mode')])},
8 {'call': 'flock', 'reason': set([('file', 'f_mode')])},
9 {'call': 'openat', 'reason': set([('file', 'f_mode')])},
10 {'call': 'uselib', 'reason': set([('file', 'f_mode')])},
[all …]
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dfaults.c36 shortenReason(char *reason) in shortenReason() argument
41 if (strncmp(reason,"%%[",3) == 0) in shortenReason()
42 reason += 3; in shortenReason()
44 while (*reason == ' ') in shortenReason()
45 reason++; in shortenReason()
49 if (strncmp(reason,pe,peLen) == 0) in shortenReason()
50 reason += peLen; in shortenReason()
52 if (((ptr = strchr(reason,']')) != NULL) && (strncmp(ptr,"]%%",3) == 0)) in shortenReason()
55 pe = reason + strlen(reason) -1; in shortenReason()
56 pe = reason; in shortenReason()
[all …]
H A Dnotify.c45 static struct reason { struct
46 short reason; member
167 print_reason (fd, prs->reason); in notify()
185 print_reason(int fd, int reason) in print_reason() argument
192 for (i = 0; N_Reason[i].reason != -1; i++) in print_reason()
193 if (N_Reason[i].reason == reason) { in print_reason()
194 if (reason == MDENYDEST && chkprinter_result) in print_reason()
196 if (reason == MDENYMEDIA && chkprinter_result) in print_reason()
199 if (reason == MDENYDEST && chkprinter_result) { in print_reason()
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 = pps->fault_reason; in combineReasons()
297 reason = pps->dis_reason; in combineReasons()
300 return (reason); in combineReasons()
[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 : "NULL"), when); in s_disable_dest()
206 if (disable(pps, reason, (int)when) == -1) { in s_disable_dest()
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_master.c61 int reason; in yp_master() local
77 if (reason = __yp_dobind(domain, &pdomb)) in yp_master()
78 return (reason); in yp_master()
82 reason = domaster(domain, map, pdomb, _ypserv_timeout, in yp_master()
86 if (reason == YPERR_RPC) { in yp_master()
98 if (reason == YPERR_MAP && geteuid() == 0) { in yp_master()
107 reason = rsvdreason; in yp_master()
110 return (reason); in yp_master()
123 int reason; in __yp_master_rsvdport() local
139 if (reason = __yp_dobind_rsvdport(domain, &pdomb)) in __yp_master_rsvdport()
[all …]
H A Dyp_enum.c75 int reason; in __yp_first_cflookup() local
89 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup)) in __yp_first_cflookup()
90 return (reason); in __yp_first_cflookup()
94 reason = dofirst(domain, map, pdomb, _ypserv_timeout, in __yp_first_cflookup()
98 if (reason == YPERR_RPC || reason == YPERR_YPSERV || in __yp_first_cflookup()
99 reason == YPERR_BUSY /* as if */) { in __yp_first_cflookup()
104 return (reason); in __yp_first_cflookup()
112 return (reason); in __yp_first_cflookup()
239 int reason; in __yp_next_cflookup() local
253 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup)) in __yp_next_cflookup()
[all …]
H A Dyp_match.c180 int reason; in __yp_match_cflookup() local
221 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup)) in __yp_match_cflookup()
222 return (reason); in __yp_match_cflookup()
226 reason = domatch(domain, map, key, keylen, pdomb, in __yp_match_cflookup()
230 if (reason == YPERR_RPC || reason == YPERR_YPSERV || in __yp_match_cflookup()
231 reason == YPERR_BUSY /* as if */) { in __yp_match_cflookup()
236 return (reason); in __yp_match_cflookup()
246 if (reason == 0) { in __yp_match_cflookup()
286 } else if (reason == YPERR_MAP && geteuid() == 0) { in __yp_match_cflookup()
296 reason = rsvdreason; in __yp_match_cflookup()
[all …]
H A Dyp_order.c60 int reason; in yp_order() local
76 if (reason = __yp_dobind(domain, &pdomb)) in yp_order()
77 return (reason); in yp_order()
81 reason = doorder(domain, map, pdomb, _ypserv_timeout, in yp_order()
85 if (reason == YPERR_RPC) { in yp_order()
97 return (reason); in yp_order()
H A Dyp_all.c67 int reason; in __yp_all_cflookup() local
85 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup)) in __yp_all_cflookup()
86 return (reason); in __yp_all_cflookup()
191 int reason; in __yp_all_rsvdport() local
209 if (reason = __yp_dobind_rsvdport(domain, &pdomb)) in __yp_all_rsvdport()
210 return (reason); in __yp_all_rsvdport()
/illumos-gate/usr/src/uts/common/io/ena/
H A Dena_watchdog.c87 enahw_reset_reason_t reason; in ena_watchdog() local
94 reason = ENAHW_RESET_USER_TRIGGER; in ena_watchdog()
103 reason = ena->ena_reset_reason; in ena_watchdog()
109 reason = ENAHW_RESET_GENERIC; in ena_watchdog()
114 reason = ENAHW_RESET_KEEP_ALIVE_TO; in ena_watchdog()
120 reason = ENAHW_RESET_MISS_TX_CMPL; in ena_watchdog()
125 ena->ena_reset_reason = reason; in ena_watchdog()
128 if (!ena_reset(ena, reason)) in ena_watchdog()
/illumos-gate/usr/src/cmd/svc/startd/
H A Drestarter.c332 restarter_str_t reason = restarter_str_insert_in_graph; in restarter_insert_inst() local
488 reason = restarter_str_startd_restart; in restarter_insert_inst()
490 reason = restarter_str_bad_repo_state; in restarter_insert_inst()
499 ps->ps_reason = reason; in restarter_insert_inst()
670 next_state, RERR_NONE, reason); in restarter_insert_inst()
840 restarter_str_t reason) in restarter_instance_update_states() argument
855 restarter_get_str_short(reason)); in restarter_instance_update_states()
898 states->ps_reason = reason; in restarter_instance_update_states()
1039 restarter_str_t reason; in stop_instance() local
1048 reason = restarter_str_ct_ev_exit; in stop_instance()
[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()
/illumos-gate/usr/src/test/util-tests/tests/mdb/
H A Dmdbtest68 local expect base ext exe command odir res reason input
112 reason="stdout mismatch"
114 reason="test exited $res, not zero"
116 reason="test exited $res, not non-zero"
119 if [[ -n "$reason" ]]; then
120 echo "$reason"
/illumos-gate/usr/src/cmd/rmvolmgr/
H A Dvold.c142 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 …]
/illumos-gate/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()
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_align.c334 char reason[1024], local
335 *cp = reason;
352 LP_ERRMSG1 (ERROR, E_LP_PTRCHK, reason);
508 static void reject (printer, reason) in reject() argument
510 *reason; in reject()
515 send_message (S_REJECT_DEST, printer, reason);
566 static void disable (printer, reason, when) in disable() argument
568 *reason; in disable()
574 send_message (S_DISABLE_DEST, printer, reason, when);
/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/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_length - 1); in ps_suspend_send_response()
496 resp->reason[reason_length] = '\0'; in ps_suspend_send_response()
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fcf.h149 uint16_t reason; member
205 uint16_t reason; member
274 uint16_t reason; member
333 uint16_t reason; member
401 uint16_t reason; member
417 uint16_t reason; member
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dplatsvc.h104 char reason[MAX_REASON_SIZE]; member
114 char reason[MAX_REASON_SIZE]; member
126 char reason[MAX_REASON_SIZE]; member
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dreject.c62 char *reason = NULL; in main() local
72 reason = optarg; in main()
96 status = papiPrinterPause(svc, printer, reason); in main()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_label.c831 vdev_inuse(vdev_t *vd, uint64_t crtxg, vdev_labeltype_t reason, in vdev_inuse() argument
904 switch (reason) { in vdev_inuse()
950 vdev_label_init(vdev_t *vd, uint64_t crtxg, vdev_labeltype_t reason) in vdev_label_init() argument
970 crtxg, reason)) != 0) in vdev_label_init()
988 if (reason != VDEV_LABEL_REMOVE && reason != VDEV_LABEL_SPLIT && in vdev_label_init()
989 vdev_inuse(vd, crtxg, reason, &spare_guid, &l2cache_guid)) in vdev_label_init()
998 if (reason != VDEV_LABEL_REMOVE && reason != VDEV_LABEL_L2CACHE && in vdev_label_init()
1012 if (reason == VDEV_LABEL_SPARE) in vdev_label_init()
1014 ASSERT(reason == VDEV_LABEL_REPLACE || in vdev_label_init()
1015 reason == VDEV_LABEL_SPLIT); in vdev_label_init()
[all …]

1234567891011