Home
last modified time | relevance | path

Searched refs:why (Results 1 – 25 of 95) sorted by relevance

1234

/illumos-gate/usr/src/common/zfs/
H A Dzfs_namecheck.c100 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 Dfaults.c76 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 Dbtree_test.c161 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 Dlpfilter.c511 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 Dutil.py68 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 Dassfail.c86 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 Dexit.c114 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 Dsig.c434 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 Dcyclic.c660 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 Dsnoop_rpc.c75 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 Dmknod.c65 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 Ddevinfo.c65 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 Ddio.c243 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 Dadt_jni.c47 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 Dadt_jni.h48 void local_throw(JNIEnv *env, const char *exception, const char *why);
/illumos-gate/usr/src/lib/libfakekernel/common/sys/
H A Dproc.h115 #define ISSIG(thr, why) issig(why) argument
/illumos-gate/usr/src/cmd/mdb/common/kmdb/kctl/
H A Dkctl_mod.c83 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 Dpflags.c430 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 Dufs_vfsops.c272 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 Dkmdb_dpi.c446 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 Dnfs_common.c347 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 Dkobj_kdi.c140 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 Dudf_vfsops.c188 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 Dbindings.c167 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 Dfake_open.c278 enum create why, in vn_create() argument
321 if (why == CRMKDIR) { in vn_create()

1234