Home
last modified time | relevance | path

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

1234

/titanic_50/usr/src/common/zfs/
H A Dzfs_namecheck.c68 zfs_component_namecheck(const char *path, namecheck_err_t *why, char *what) in zfs_component_namecheck() argument
73 if (why) in zfs_component_namecheck()
74 *why = NAME_ERR_TOOLONG; in zfs_component_namecheck()
79 if (why) in zfs_component_namecheck()
80 *why = NAME_ERR_EMPTY_COMPONENT; in zfs_component_namecheck()
86 if (why) { in zfs_component_namecheck()
87 *why = NAME_ERR_INVALCHAR; in zfs_component_namecheck()
103 permset_namecheck(const char *path, namecheck_err_t *why, char *what) in permset_namecheck() argument
106 if (why) in permset_namecheck()
107 *why = NAME_ERR_TOOLONG; in permset_namecheck()
[all …]
/titanic_50/usr/src/cmd/lp/cmd/lpsched/
H A Dfaults.c79 register char *why,*shortWhy; in printer_fault() local
99 why = makestr(alert_text, "(", PERROR, ")\n", (char *)0); in printer_fault()
101 why = makestr("exec exit fault", (char *) 0); in printer_fault()
103 why = makestr(alert_text, (char *) 0); in printer_fault()
105 if (!why) in printer_fault()
106 why = alert_text; in printer_fault()
108 shortWhy = (why != alert_text ? shortenReason(why) : why); in printer_fault()
127 if (why != alert_text) in printer_fault()
128 Free (why); in printer_fault()
138 register char *why, *shortWhy; in clear_printer_fault() local
[all …]
/titanic_50/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 …]
/titanic_50/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
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_rpc.c74 int status, astat, rstat, why; in interpret_rpc() local
197 why = getxdr_u_long(); in interpret_rpc()
200 nameof_why(why)); in interpret_rpc()
588 nameof_why(why) in nameof_why() argument
589 int why; in nameof_why()
591 switch (why) {
615 int astat, rstat, why; in rpc_detail_reply() local
677 why = getxdr_u_long(); in rpc_detail_reply()
680 why, nameof_why(why)); in rpc_detail_reply()
/titanic_50/usr/src/lib/libc/port/threads/
H A Dassfail.c99 common_panic(const char *head, const char *why) in common_panic() argument
112 len2 = strlen(why); in common_panic()
115 (void) strncat(msg, why, len2); in common_panic()
124 thr_panic(const char *why) in thr_panic() argument
126 common_panic("*** libc thread failure: ", why); in thr_panic()
130 aio_panic(const char *why) in aio_panic() argument
132 common_panic("*** libc aio system failure: ", why); in aio_panic()
136 mutex_panic(mutex_t *mp, const char *why) in mutex_panic() argument
139 common_panic("*** libc mutex system failure: ", why); in mutex_panic()
/titanic_50/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()
/titanic_50/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()
/titanic_50/usr/src/uts/common/os/
H A Dexit.c110 exit_reason(char *buf, size_t bufsz, int what, int why) in exit_reason() argument
112 switch (why) { in exit_reason()
124 "(%d, %d)", why, what); in exit_reason()
153 restart_init(int what, int why) in restart_init() argument
170 exit_reason(reason_buf, sizeof (reason_buf), what, why)); in restart_init()
292 exit(int why, int what) in exit() argument
300 if (proc_exit(why, what) != 0) { in exit()
328 proc_exit(int why, int what) in proc_exit() argument
370 DTRACE_PROC1(exit, int, why); in proc_exit()
394 if (restart_init(what, why) == 0) in proc_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.c652 cyclic_coverage(char *why, int level, uint64_t arg0, uint64_t arg1) in cyclic_coverage() argument
656 for (ndx = orig = cyclic_coverage_hash(why) % CY_NCOVERAGE; ; ) { in cyclic_coverage()
657 if (cyc_coverage[ndx].cyv_why == why) in cyclic_coverage()
661 atomic_cas_ptr(&cyc_coverage[ndx].cyv_why, NULL, why) != in cyclic_coverage()
688 #define CYC_TRACE(cpu, level, why, arg0, arg1) \ argument
689 CYC_TRACE_IMPL(&cpu->cyp_trace[level], level, why, arg0, arg1)
691 #define CYC_PTRACE(why, arg0, arg1) \ argument
692 CYC_TRACE_IMPL(&cyc_ptrace, CY_PASSIVE_LEVEL, why, arg0, arg1)
694 #define CYC_TRACE_IMPL(buf, level, why, a0, a1) { \ argument
700 _rec->cyt_why = (why); \
[all …]
H A Dcore.c85 core_log(struct core_globals *cg, int error, const char *why, const char *path, in core_log() argument
96 zcmn_err(zoneid, CE_NOTE, "core_log: %s[%d] %s", fn, pid, why); in core_log()
99 why, path); in core_log()
102 fn, pid, why, error, path); in core_log()
/titanic_50/usr/src/cmd/bnu/
H A Ddio.c245 struct dkqqabo why; local
258 ioctl(fn, DIOCQQABO, &why);
259 if (why.rcv_ctlchar != dkeof[0])
/titanic_50/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()
/titanic_50/usr/src/lib/libadt_jni/common/
H A Dadt_jni.c48 local_throw(JNIEnv *env, const char *exception, const char *why) { in local_throw() argument
64 jbarray = (*env)->NewByteArray(env, (jsize)(strlen(why))); in local_throw()
66 (jsize)(strlen(why)), (jbyte*) why); in local_throw()
H A Dadt_jni.h50 void local_throw(JNIEnv *env, const char *exception, const char *why);
/titanic_50/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_dpi.c448 kmdb_dpi_set_state(int state, int why) in kmdb_dpi_set_state() argument
452 state, why); in kmdb_dpi_set_state()
455 kmdb_dpi_state_why = why; in kmdb_dpi_set_state()
/titanic_50/usr/src/uts/common/krtld/
H A Dkobj_kdi.c143 kobj_kdi_mod_notify(uint_t why, struct modctl *what) in kobj_kdi_mod_notify() argument
145 switch (why) { in kobj_kdi_mod_notify()
/titanic_50/usr/src/uts/common/fs/ufs/
H A Dufs_vfsops.c271 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()
466 ufs_mountroot(struct vfs *vfsp, enum whymountroot why) in ufs_mountroot() argument
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()
547 error = mountfs(vfsp, why, devvp, "/", CRED(), 1, NULL, 0); in ufs_mountroot()
555 if (why == ROOT_REMOUNT) in ufs_mountroot()
[all …]
/titanic_50/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()
/titanic_50/usr/src/cmd/ptools/pflags/
H A Dpflags.c445 prwhy(int why) in prwhy() argument
450 switch (why) { in prwhy()
474 (void) sprintf(str, "%d", why); in prwhy()
482 prwhat(int why, int what) in prwhat() argument
487 switch (why) { in prwhat()
/titanic_50/usr/src/uts/common/fs/udfs/
H A Dudf_vfsops.c187 enum whymountroot why; in udf_mount() local
249 why = ROOT_REMOUNT; in udf_mount()
255 why = ROOT_INIT; in udf_mount()
306 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 …]
/titanic_50/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()
/titanic_50/usr/src/uts/common/sys/
H A Dproc.h522 #define ISSIG(t, why) ISSIG_FAST(t, ttolwp(t), ttoproc(t), why) argument
532 #define ISSIG_FAST(t, lwp, p, why) \ argument
533 (ISSIG_PENDING(t, lwp, p) && issig(why))
H A Dclass.h193 #define CL_STOP(t, why, what) (*(t)->t_clfuncs->cl_stop)(t, why, what) argument

1234