| /illumos-gate/usr/src/common/zfs/ |
| H A D | zfs_namecheck.c | 100 zfs_component_namecheck(const char *path, namecheck_err_t *why, char *what) in zfs_component_namecheck() argument 105 if (why) in zfs_component_namecheck() 106 *why = NAME_ERR_TOOLONG; in zfs_component_namecheck() 111 if (why) in zfs_component_namecheck() 112 *why = NAME_ERR_EMPTY_COMPONENT; in zfs_component_namecheck() 118 if (why) { in zfs_component_namecheck() 119 *why = NAME_ERR_INVALCHAR; in zfs_component_namecheck() 137 permset_namecheck(const char *path, namecheck_err_t *why, char *what) in permset_namecheck() argument 140 if (why) in permset_namecheck() 141 *why = NAME_ERR_TOOLONG; in permset_namecheck() [all …]
|
| /illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
| H A D | faults.c | 76 register char *why,*shortWhy; in printer_fault() local 96 why = makestr(alert_text, "(", PERROR, ")\n", (char *)0); in printer_fault() 98 why = makestr("exec exit fault", (char *) 0); in printer_fault() 100 why = makestr(alert_text, (char *) 0); in printer_fault() 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 [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 168 (void) snprintf(why, BUFSIZE, "Unexpectedly found %llu\n", in find_without_index() 176 (void) snprintf(why, BUFSIZE, "Found bad value: %llu\n", *p); in find_without_index() 185 insert_find_remove(zfs_btree_t *bt, char *why) in insert_find_remove() argument 193 (void) snprintf(why, BUFSIZE, "Didn't find value in tree\n"); in insert_find_remove() 196 (void) snprintf(why, BUFSIZE, "Found (%llu) in tree\n", *p); in insert_find_remove() 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() [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 \\("; 539 why = "more than 2 numbers given in \\{...\\}"; 542 why = "} expected after \\"; [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 | 86 common_panic(const char *head, const char *why) in common_panic() argument 99 len2 = strlen(why); in common_panic() 102 (void) strncat(msg, why, len2); in common_panic() 111 thr_panic(const char *why) in thr_panic() argument 113 common_panic("*** libc thread failure: ", why); in thr_panic() 117 aio_panic(const char *why) in aio_panic() argument 119 common_panic("*** libc aio system failure: ", why); in aio_panic() 123 mutex_panic(mutex_t *mp, const char *why) in mutex_panic() argument 126 common_panic("*** libc mutex system failure: ", why); in mutex_panic()
|
| /illumos-gate/usr/src/uts/common/os/ |
| H A D | exit.c | 114 exit_reason(char *buf, size_t bufsz, int what, int why) in exit_reason() argument 116 switch (why) { in exit_reason() 128 "(%d, %d)", why, what); in exit_reason() 157 restart_init(int what, int why) in restart_init() argument 175 exit_reason(reason_buf, sizeof (reason_buf), what, why)); in restart_init() 319 exit(int why, int what) in exit() argument 327 if (proc_exit(why, what) != 0) { in exit() 354 zone_init_exit(zone_t *z, int why, int what) in zone_init_exit() argument 411 if (why == CLD_EXITED && what == 0) { in zone_init_exit() 437 if (why == CLD_EXITED && what == 0 && in zone_init_exit() [all …]
|
| H A D | sig.c | 434 issig(int why) in issig() argument 436 ASSERT(why == FORREAL || why == JUSTLOOKING); in issig() 438 return ((why == FORREAL)? issig_forreal() : issig_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() 964 if ((why != PR_REQUESTED || t->t_dtrace_stop) && in stop() 1023 if (why == PR_JOBCONTROL || (why == PR_SUSPENDED && p->p_stopsig)) { in stop() 1052 } else if (why == PR_JOBCONTROL && p->p_stopsig == 0) { in stop() [all …]
|
| H A D | cyclic.c | 660 cyclic_coverage(char *why, int level, uint64_t arg0, uint64_t arg1) in cyclic_coverage() argument 664 for (ndx = orig = cyclic_coverage_hash(why) % CY_NCOVERAGE; ; ) { in cyclic_coverage() 665 if (cyc_coverage[ndx].cyv_why == why) in cyclic_coverage() 669 atomic_cas_ptr(&cyc_coverage[ndx].cyv_why, NULL, why) != in cyclic_coverage() 696 #define CYC_TRACE(cpu, level, why, arg0, arg1) \ argument 697 CYC_TRACE_IMPL(&cpu->cyp_trace[level], level, why, arg0, arg1) 699 #define CYC_PTRACE(why, arg0, arg1) \ argument 700 CYC_TRACE_IMPL(&cyc_ptrace, CY_PASSIVE_LEVEL, why, arg0, arg1) 702 #define CYC_TRACE_IMPL(buf, level, why, a0, a1) { \ argument 708 _rec->cyt_why = (why); \ [all …]
|
| /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/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/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/lib/libfakekernel/common/sys/ |
| H A D | proc.h | 115 #define ISSIG(thr, why) issig(why) argument
|
| /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/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/uts/common/fs/ufs/ |
| H A D | ufs_vfsops.c | 272 enum whymountroot why = ROOT_INIT; in ufs_mount() local 383 why = ROOT_REMOUNT; in ufs_mount() 426 error = mountfs(vfsp, why, lvp != NULL ? lvp : svp, in ufs_mount() 467 ufs_mountroot(struct vfs *vfsp, enum whymountroot why) in ufs_mountroot() argument 479 if (why == ROOT_INIT) { in ufs_mountroot() 487 } else if (why == ROOT_REMOUNT) { in ufs_mountroot() 500 } else if (why == ROOT_UNMOUNT) { in ufs_mountroot() 538 if (why == ROOT_INIT) { in ufs_mountroot() 548 error = mountfs(vfsp, why, devvp, "/", CRED(), 1, NULL, 0); in ufs_mountroot() 556 if (why == ROOT_REMOUNT) in ufs_mountroot() [all …]
|
| /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/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/krtld/ |
| H A D | kobj_kdi.c | 140 kobj_kdi_mod_notify(uint_t why, struct modctl *what) in kobj_kdi_mod_notify() argument 142 switch (why) { in kobj_kdi_mod_notify()
|
| /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() 307 error = ud_mountfs(vfsp, why, dev, dpn.pn_path, cr, 0); 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() 589 error = ud_mountfs(vfsp, why, rootdev, "/", CRED(), 1); in udf_mountroot() 592 if (why == ROOT_REMOUNT) { in udf_mountroot() [all …]
|
| /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()
|
| /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()
|