Searched refs:why (Results 1 - 25 of 64) sorted by relevance

123

/illumos-gate/usr/src/common/zfs/
H A Dzfs_namecheck.c35 * Each routine therefore takes a 'namecheck_err_t' which describes exactly why
68 zfs_component_namecheck(const char *path, namecheck_err_t *why, char *what) argument
73 if (why)
74 *why = NAME_ERR_TOOLONG;
79 if (why)
80 *why = NAME_ERR_EMPTY_COMPONENT;
86 if (why) {
87 *why = NAME_ERR_INVALCHAR;
103 permset_namecheck(const char *path, namecheck_err_t *why, char *what) argument
106 if (why)
136 entity_namecheck(const char *path, namecheck_err_t *why, char *what) argument
233 dataset_namecheck(const char *path, namecheck_err_t *why, char *what) argument
254 mountpoint_namecheck(const char *path, namecheck_err_t *why) argument
298 pool_namecheck(const char *pool, namecheck_err_t *why, char *what) argument
[all...]
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dfaults.c79 register char *why,*shortWhy; local
99 why = makestr(alert_text, "(", PERROR, ")\n", (char *)0);
101 why = makestr("exec exit fault", (char *) 0);
103 why = makestr(alert_text, (char *) 0);
105 if (!why)
106 why = alert_text;
108 shortWhy = (why != alert_text ? shortenReason(why) : why);
127 if (why !
138 register char *why, *shortWhy; local
[all...]
/illumos-gate/usr/src/lib/libadt_jni/common/
H A Dadt_jni.h50 void local_throw(JNIEnv *env, const char *exception, const char *why);
H A Dadt_jni.c43 * "why" string must be i18n'd before calling here.
48 local_throw(JNIEnv *env, const char *exception, const char *why) { argument
63 /* Create a Byte Array from message "why" */
64 jbarray = (*env)->NewByteArray(env, (jsize)(strlen(why)));
66 (jsize)(strlen(why)), (jbyte*) why);
/illumos-gate/usr/src/lib/pyzfs/common/
H A Dutil.py64 __slots__ = "why", "task", "errno"
67 def __init__(self, eno, task=None, why=None):
71 why -- a string describing why it failed (defaults to
76 self.why = why
82 if self.why:
83 s += self.why
/illumos-gate/usr/src/cmd/mdb/common/kmdb/kctl/
H A Dkctl_mod.c83 kctl_mod_changed(uint_t why, struct modctl *what) argument
85 if (why == KOBJ_NOTIFY_MODLOADED)
/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
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dmknod.c65 enum create why; local
100 why = ((fmode & S_IFMT) == S_IFDIR) ? CRMKDIR : CRMKNOD;
102 why, 0, PTOU(curproc)->u_cmask, startvp);
/illumos-gate/usr/src/cmd/devinfo/
H A Ddevinfo.c65 static int warn(char *what, char *why);
234 warn(char *what, char *why) argument
244 (void) write(STDERR, why, (uint_t)strlen(why));
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_rpc.c74 int status, astat, rstat, why; local
197 why = getxdr_u_long();
200 nameof_why(why));
588 nameof_why(why)
589 int why;
591 switch (why) {
615 int astat, rstat, why; local
677 why = getxdr_u_long();
680 why, nameof_why(why)); local
[all...]
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dassfail.c99 common_panic(const char *head, const char *why) argument
112 len2 = strlen(why);
115 (void) strncat(msg, why, len2);
124 thr_panic(const char *why) argument
126 common_panic("*** libc thread failure: ", why);
130 aio_panic(const char *why) argument
132 common_panic("*** libc aio system failure: ", why);
136 mutex_panic(mutex_t *mp, const char *why) argument
139 common_panic("*** libc mutex system failure: ", why);
/illumos-gate/usr/src/cmd/bnu/
H A Ddio.c245 struct dkqqabo why; local
258 ioctl(fn, DIOCQQABO, &why);
259 if (why.rcv_ctlchar != dkeof[0])
/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj_kdi.c143 kobj_kdi_mod_notify(uint_t why, struct modctl *what) argument
145 switch (why) {
/illumos-gate/usr/src/uts/common/os/
H A Dexit.c110 exit_reason(char *buf, size_t bufsz, int what, int why) argument
112 switch (why) {
124 "(%d, %d)", why, what);
153 restart_init(int what, int why) argument
170 exit_reason(reason_buf, sizeof (reason_buf), what, why));
292 exit(int why, int what) argument
300 if (proc_exit(why, what) != 0) {
328 proc_exit(int why, int what) argument
370 DTRACE_PROC1(exit, int, why);
394 if (restart_init(what, why)
[all...]
H A Dsig.c417 * The "why" argument indicates the allowable side-effects of the call:
434 issig(int why) argument
436 ASSERT(why == FORREAL || why == JUSTLOOKING);
438 return ((why == FORREAL)? issig_forreal() : issig_justlooking());
848 stop(int why, int what) argument
867 if (why != PR_SUSPENDED && why != PR_CHECKPOINT) {
898 prstop(why, what);
903 switch (why) {
[all...]
H A Dcyclic.c652 cyclic_coverage(char *why, int level, uint64_t arg0, uint64_t arg1) argument
656 for (ndx = orig = cyclic_coverage_hash(why) % CY_NCOVERAGE; ; ) {
657 if (cyc_coverage[ndx].cyv_why == why)
661 atomic_cas_ptr(&cyc_coverage[ndx].cyv_why, NULL, why) !=
688 #define CYC_TRACE(cpu, level, why, arg0, arg1) \
689 CYC_TRACE_IMPL(&cpu->cyp_trace[level], level, why, arg0, arg1)
691 #define CYC_PTRACE(why, arg0, arg1) \
692 CYC_TRACE_IMPL(&cyc_ptrace, CY_PASSIVE_LEVEL, why, arg0, arg1)
694 #define CYC_TRACE_IMPL(buf, level, why, a0, a1) { \
700 _rec->cyt_why = (why); \
[all...]
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_dpi.c448 kmdb_dpi_set_state(int state, int why) argument
451 mdb_dprintf(MDB_DBG_DPI, "dpi_set_state %d why %d\n",
452 state, why);
455 kmdb_dpi_state_why = why;
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_common.c347 nfsdyn_mountroot(vfs_t *vfsp, whymountroot_t why) argument
364 if (why == ROOT_REMOUNT) {
368 panic("nfs3_mountroot: why == ROOT_REMOUNT\n");
371 if (why == ROOT_UNMOUNT) {
379 * why == ROOT_INIT
464 return (VFS_MOUNTROOT(vfsp, why));
/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) argument
179 sym, MSG_INTL(reason[why]));
/illumos-gate/usr/src/uts/common/sys/
H A Dclass.h193 #define CL_STOP(t, why, what) (*(t)->t_clfuncs->cl_stop)(t, why, what)
H A Dproc.h524 #define ISSIG(t, why) ISSIG_FAST(t, ttolwp(t), ttoproc(t), why)
534 #define ISSIG_FAST(t, lwp, p, why) \
535 (ISSIG_PENDING(t, lwp, p) && issig(why))
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_vfsops.c269 enum whymountroot why = ROOT_INIT; local
380 why = ROOT_REMOUNT;
423 error = mountfs(vfsp, why, lvp != NULL ? lvp : svp,
450 * "why" is ROOT_INIT on initial call ROOT_REMOUNT if called to
464 ufs_mountroot(struct vfs *vfsp, enum whymountroot why) argument
476 if (why == ROOT_INIT) {
484 } else if (why == ROOT_REMOUNT) {
497 } else if (why == ROOT_UNMOUNT) {
535 if (why == ROOT_INIT) {
545 error = mountfs(vfsp, why, devv
796 mountfs(struct vfs *vfsp, enum whymountroot why, struct vnode *devvp, char *path, cred_t *cr, int isroot, void *raw_argsp, int args_len) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_vfsops.c187 enum whymountroot why; local
249 why = ROOT_REMOUNT;
255 why = ROOT_INIT;
306 error = ud_mountfs(vfsp, why, dev, dpn.pn_path, cr, 0);
532 * "why" is ROOT_INIT on initial call, ROOT_REMOUNT if called to
547 udf_mountroot(struct vfs *vfsp, enum whymountroot why) argument
555 if (why == ROOT_INIT) {
565 } else if (why == ROOT_REMOUNT) {
577 } else if (why == ROOT_UNMOUNT) {
589 error = ud_mountfs(vfsp, why, rootde
615 ud_mountfs(struct vfs *vfsp, enum whymountroot why, dev_t dev, char *name, struct cred *cr, int32_t isroot) argument
[all...]
/illumos-gate/usr/src/cmd/ptools/pflags/
H A Dpflags.c445 prwhy(int why) argument
450 switch (why) {
474 (void) sprintf(str, "%d", why);
482 prwhat(int why, int what) argument
487 switch (why) {
/illumos-gate/usr/src/ucbcmd/sbcp/
H A Dsbcp.s122 ! which uses %g7 as the curthread pointer. That is why we

Completed in 99 milliseconds

123