/titanic_50/usr/src/common/zfs/ |
H A D | zfs_namecheck.c | 68 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 D | faults.c | 79 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 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 …]
|
/titanic_50/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
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_rpc.c | 74 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 D | assfail.c | 99 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 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()
|
/titanic_50/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()
|
/titanic_50/usr/src/uts/common/os/ |
H A D | exit.c | 110 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 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 | 652 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 D | core.c | 85 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 D | dio.c | 245 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 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()
|
/titanic_50/usr/src/lib/libadt_jni/common/ |
H A D | adt_jni.c | 48 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 D | adt_jni.h | 50 void local_throw(JNIEnv *env, const char *exception, const char *why);
|
/titanic_50/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_dpi.c | 448 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 D | kobj_kdi.c | 143 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 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() 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 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()
|
/titanic_50/usr/src/cmd/ptools/pflags/ |
H A D | pflags.c | 445 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 D | udf_vfsops.c | 187 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 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()
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | proc.h | 522 #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 D | class.h | 193 #define CL_STOP(t, why, what) (*(t)->t_clfuncs->cl_stop)(t, why, what) argument
|