/illumos-gate/usr/src/common/zfs/ |
H A D | zfs_namecheck.c | 105 if (why) in zfs_component_namecheck() 111 if (why) in zfs_component_namecheck() 140 if (why) in permset_namecheck() 192 if (why) in entity_namecheck() 199 if (why) in entity_namecheck() 205 if (why) in entity_namecheck() 315 if (why) in mountpoint_namecheck() 362 if (why) in pool_namecheck() 381 if (why) in pool_namecheck() 387 if (why) in pool_namecheck() [all …]
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | faults.c | 76 register char *why,*shortWhy; in printer_fault() local 102 if (!why) in printer_fault() 103 why = alert_text; in printer_fault() 105 shortWhy = (why != alert_text ? shortenReason(why) : why); in printer_fault() 124 if (why != alert_text) in printer_fault() 125 Free (why); in printer_fault() 135 register char *why, *shortWhy; in clear_printer_fault() local 139 why = makestr(alert_text, (char *) 0); in clear_printer_fault() 141 shortWhy = (why ? shortenReason(why) : alert_text); in clear_printer_fault() 152 if (why != alert_text) in clear_printer_fault() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/cmd/btree_test/ |
H A D | btree_test.c | 161 find_without_index(zfs_btree_t *bt, char *why) in find_without_index() argument 185 insert_find_remove(zfs_btree_t *bt, char *why) in insert_find_remove() argument 205 (void) snprintf(why, BUFSIZE, in insert_find_remove() 221 drain_tree(zfs_btree_t *bt, char *why) in drain_tree() argument 249 (void) snprintf(why, BUFSIZE, in drain_tree() 300 stress_tree(zfs_btree_t *bt, char *why __unused) in stress_tree() 532 char why[BUFSIZE] = {0}; in main() local 536 retval = test->func(&bt, why); in main() 542 if (strlen(why) != 0) in main() 543 (void) fprintf(stdout, "\t%s\n", why); in main() [all …]
|
/illumos-gate/usr/src/cmd/lp/cmd/ |
H A D | lpfilter.c | 511 char * why; local 518 why = "range endpoint too large"; 521 why = "bad number"; 524 why = "\"\\digit\" out of range"; 527 why = "illegal or missing delimiter"; 530 why = "no remembered search string"; 533 why = "\\(...\\) imbalance"; 536 why = "too many \\("; 542 why = "} expected after \\"; 548 why = "[...] imbalance"; [all …]
|
/illumos-gate/usr/src/lib/pyzfs/common/ |
H A D | util.py | 68 def __init__(self, eno, task=None, why=None): argument 77 self.why = why 83 if self.why: 84 s += self.why
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | assfail.c | 83 common_panic(const char *head, const char *why) in common_panic() argument 96 len2 = strlen(why); in common_panic() 99 (void) strncat(msg, why, len2); in common_panic() 108 thr_panic(const char *why) in thr_panic() argument 110 common_panic("*** libc thread failure: ", why); in thr_panic() 114 aio_panic(const char *why) in aio_panic() argument 116 common_panic("*** libc aio system failure: ", why); in aio_panic() 120 mutex_panic(mutex_t *mp, const char *why) in mutex_panic() argument 123 common_panic("*** libc mutex system failure: ", why); in mutex_panic()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_rpc.c | 75 int status, astat, rstat, why; in interpret_rpc() local 198 why = getxdr_u_long(); in interpret_rpc() 201 nameof_why(why)); in interpret_rpc() 585 nameof_why(int why) in nameof_why() argument 587 switch (why) { in nameof_why() 611 int astat, rstat, why; in rpc_detail_reply() local 673 why = getxdr_u_long(); in rpc_detail_reply() 676 why, nameof_why(why)); in rpc_detail_reply()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | exit.c | 115 switch (why) { in exit_reason() 127 "(%d, %d)", why, what); in exit_reason() 156 restart_init(int what, int why) in restart_init() argument 318 exit(int why, int what) in exit() argument 326 if (proc_exit(why, what) != 0) { in exit() 444 if (restart_init(what, why) == 0) in zone_init_exit() 463 proc_exit(int why, int what) in proc_exit() argument 505 DTRACE_PROC1(exit, int, why); in proc_exit() 694 rv = wstat(why, what); in proc_exit() 706 audit_exit(why, what); in proc_exit() [all …]
|
H A D | sig.c | 434 issig(int why) in issig() argument 436 ASSERT(why == FORREAL || why == JUSTLOOKING); in issig() 848 stop(int why, int what) in stop() argument 867 if (why != PR_SUSPENDED && why != PR_CHECKPOINT) { in stop() 898 prstop(why, what); in stop() 903 switch (why) { in stop() 1023 if (why == PR_JOBCONTROL || (why == PR_SUSPENDED && p->p_stopsig)) { in stop() 1068 if (why != PR_JOBCONTROL && why != PR_CHECKPOINT) { in stop() 1171 if (why == PR_CHECKPOINT) in stop() 1179 CL_STOP(t, why, what); in stop() [all …]
|
H A D | cyclic.c | 665 if (cyc_coverage[ndx].cyv_why == why) in cyclic_coverage() 696 #define CYC_TRACE(cpu, level, why, arg0, arg1) \ argument 699 #define CYC_PTRACE(why, arg0, arg1) \ argument 708 _rec->cyt_why = (why); \ 711 cyclic_coverage(why, level, \ 720 #define CYC_TRACE(cpu, level, why, arg0, arg1) argument 721 #define CYC_PTRACE(why, arg0, arg1) argument 725 #define CYC_TRACE0(cpu, level, why) CYC_TRACE(cpu, level, why, 0, 0) argument 726 #define CYC_TRACE1(cpu, level, why, arg0) CYC_TRACE(cpu, level, why, arg0, 0) argument 728 #define CYC_PTRACE0(why) CYC_PTRACE(why, 0, 0) argument [all …]
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | mknod.c | 65 enum create why; in mknodat() local 100 why = ((fmode & S_IFMT) == S_IFDIR) ? CRMKDIR : CRMKNOD; in mknodat() 102 why, 0, PTOU(curproc)->u_cmask, startvp); in mknodat()
|
/illumos-gate/usr/src/cmd/devinfo/ |
H A D | devinfo.c | 65 static int warn(char *what, char *why); 234 warn(char *what, char *why) in warn() argument 244 (void) write(STDERR, why, (uint_t)strlen(why)); in warn()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | dio.c | 243 struct dkqqabo why; local 256 ioctl(fn, DIOCQQABO, &why); 257 if (why.rcv_ctlchar != dkeof[0])
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/kctl/ |
H A D | kctl_mod.c | 83 kctl_mod_changed(uint_t why, struct modctl *what) in kctl_mod_changed() argument 85 if (why == KOBJ_NOTIFY_MODLOADED) in kctl_mod_changed()
|
/illumos-gate/usr/src/lib/libfakekernel/common/sys/ |
H A D | proc.h | 115 #define ISSIG(thr, why) issig(why) argument
|
/illumos-gate/usr/src/lib/libadt_jni/common/ |
H A D | adt_jni.c | 47 local_throw(JNIEnv *env, const char *exception, const char *why) { in local_throw() argument 63 jbarray = (*env)->NewByteArray(env, (jsize)(strlen(why))); in local_throw() 65 (jsize)(strlen(why)), (jbyte*) why); in local_throw()
|
H A D | adt_jni.h | 48 void local_throw(JNIEnv *env, const char *exception, const char *why);
|
/illumos-gate/usr/src/cmd/ptools/pflags/ |
H A D | pflags.c | 430 prwhy(int why) in prwhy() argument 435 switch (why) { in prwhy() 459 (void) sprintf(str, "%d", why); in prwhy() 467 prwhat(int why, int what) in prwhat() argument 472 switch (why) { in prwhat()
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_dpi.c | 446 kmdb_dpi_set_state(int state, int why) in kmdb_dpi_set_state() argument 450 state, why); in kmdb_dpi_set_state() 453 kmdb_dpi_state_why = why; in kmdb_dpi_set_state()
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_vfsops.c | 271 enum whymountroot why = ROOT_INIT; in ufs_mount() local 382 why = ROOT_REMOUNT; in ufs_mount() 425 error = mountfs(vfsp, why, lvp != NULL ? lvp : svp, in ufs_mount() 478 if (why == ROOT_INIT) { in ufs_mountroot() 486 } else if (why == ROOT_REMOUNT) { in ufs_mountroot() 499 } else if (why == ROOT_UNMOUNT) { in ufs_mountroot() 537 if (why == ROOT_INIT) { in ufs_mountroot() 555 if (why == ROOT_REMOUNT) in ufs_mountroot() 564 if (why == ROOT_INIT) in ufs_mountroot() 824 if (why == ROOT_INIT) { in mountfs() [all …]
|
/illumos-gate/usr/src/uts/common/krtld/ |
H A D | kobj_kdi.c | 141 kobj_kdi_mod_notify(uint_t why, struct modctl *what) in kobj_kdi_mod_notify() argument 143 switch (why) { in kobj_kdi_mod_notify()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_common.c | 347 nfsdyn_mountroot(vfs_t *vfsp, whymountroot_t why) in nfsdyn_mountroot() argument 364 if (why == ROOT_REMOUNT) { in nfsdyn_mountroot() 371 if (why == ROOT_UNMOUNT) { in nfsdyn_mountroot() 464 return (VFS_MOUNTROOT(vfsp, why)); in nfsdyn_mountroot()
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_vfsops.c | 188 enum whymountroot why; in udf_mount() local 250 why = ROOT_REMOUNT; in udf_mount() 256 why = ROOT_INIT; in udf_mount() 547 udf_mountroot(struct vfs *vfsp, enum whymountroot why) in udf_mountroot() argument 555 if (why == ROOT_INIT) { in udf_mountroot() 565 } else if (why == ROOT_REMOUNT) { in udf_mountroot() 577 } else if (why == ROOT_UNMOUNT) { in udf_mountroot() 592 if (why == ROOT_REMOUNT) { in udf_mountroot() 602 if (why == ROOT_INIT) { in udf_mountroot() 632 if (why == ROOT_INIT) { in ud_mountfs() [all …]
|
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/ |
H A D | fake_open.c | 278 enum create why, in vn_create() argument 321 if (why == CRMKDIR) { in vn_create()
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | bindings.c | 167 Dbg_bind_reject(Rt_map *flmp, Rt_map *tlmp, const char *sym, int why) in Dbg_bind_reject() argument 179 sym, MSG_INTL(reason[why])); in Dbg_bind_reject()
|