Home
last modified time | relevance | path

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

1234567

/onnv-gate/usr/src/common/zfs/
H A Dzfs_namecheck.c65 snapshot_namecheck(const char *path, namecheck_err_t *why, char *what) in snapshot_namecheck() argument
70 if (why) in snapshot_namecheck()
71 *why = NAME_ERR_TOOLONG; in snapshot_namecheck()
76 if (why) in snapshot_namecheck()
77 *why = NAME_ERR_EMPTY_COMPONENT; in snapshot_namecheck()
83 if (why) { in snapshot_namecheck()
84 *why = NAME_ERR_INVALCHAR; in snapshot_namecheck()
100 permset_namecheck(const char *path, namecheck_err_t *why, char *what) in permset_namecheck() argument
103 if (why) in permset_namecheck()
104 *why = NAME_ERR_TOOLONG; in permset_namecheck()
[all …]
/onnv-gate/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 …]
/onnv-gate/usr/src/cmd/lp/cmd/
H A Dlpfilter.c513 char * why; local
520 why = "range endpoint too large";
523 why = "bad number";
526 why = "\"\\digit\" out of range";
529 why = "illegal or missing delimiter";
532 why = "no remembered search string";
535 why = "\\(...\\) imbalance";
538 why = "too many \\(";
541 why = "more than 2 numbers given in \\{...\\}";
544 why = "} expected after \\";
[all …]
/onnv-gate/usr/src/lib/pyzfs/common/
H A Dutil.py67 def __init__(self, eno, task=None, why=None): argument
76 self.why = why
82 if self.why:
83 s += self.why
/onnv-gate/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()
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Test/t/
H A Donfail.t11 my $why = "zero != one";
16 ok(0, 1, $why);
28 ok($$t{diagnostic}, $why);
/onnv-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()
/onnv-gate/usr/src/lib/libc/port/threads/
H A Dassfail.c93 common_panic(const char *head, const char *why) in common_panic() argument
106 len2 = strlen(why); in common_panic()
109 (void) strncat(msg, why, len2); in common_panic()
118 thr_panic(const char *why) in thr_panic() argument
120 common_panic("*** libc thread failure: ", why); in thr_panic()
124 aio_panic(const char *why) in aio_panic() argument
126 common_panic("*** libc aio system failure: ", why); in aio_panic()
/onnv-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()
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Test/
H A DBuilder.pm654 my($self, $why) = @_;
655 $why ||= '';
672 reason => $why,
678 $out .= " # skip $why\n";
699 my($self, $why) = @_;
700 $why ||= '';
717 reason => $why,
724 $out .= " # TODO & SKIP $why\n";
H A DMore.pm799 my($why, $how_many) = @_;
809 $Test->skip($why);
876 my($why, $how_many) = @_;
886 $Test->todo_skip($why);
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dutf8.t175 my ($why, $prog, $expect) = @$_;
181 if ($why =~ s/^!//) {
187 like ($result, $expect, $why);
195 my ($why, $prog, $expect) = @$_;
196 next if $why =~ m/^!/; # Goes bang.
202 like ($result, $expect, $why);
262 my ($why, $prog, $expect) = @$_;
265 like ($result, $expect, $why);
/onnv-gate/usr/src/uts/common/os/
H A Dexit.c109 exit_reason(char *buf, size_t bufsz, int what, int why) in exit_reason() argument
111 switch (why) { in exit_reason()
123 "(%d, %d)", why, what); in exit_reason()
152 restart_init(int what, int why) in restart_init() argument
169 exit_reason(reason_buf, sizeof (reason_buf), what, why)); in restart_init()
291 exit(int why, int what) in exit() argument
299 if (proc_exit(why, what) != 0) { in exit()
327 proc_exit(int why, int what) in proc_exit() argument
369 DTRACE_PROC1(exit, int, why); in proc_exit()
393 restart_init(what, why) == 0) in proc_exit()
[all …]
H A Dsig.c417 issig(int why) in issig() argument
419 ASSERT(why == FORREAL || why == JUSTLOOKING); in issig()
421 return ((why == FORREAL)? issig_forreal() : issig_justlooking()); in issig()
831 stop(int why, int what) in stop() argument
850 if (why != PR_SUSPENDED && why != PR_CHECKPOINT) { in stop()
881 prstop(why, what); in stop()
886 switch (why) { in stop()
947 if ((why != PR_REQUESTED || t->t_dtrace_stop) && in stop()
1006 if (why == PR_JOBCONTROL || (why == PR_SUSPENDED && p->p_stopsig)) { in stop()
1035 } else if (why == PR_JOBCONTROL && p->p_stopsig == 0) { in stop()
[all …]
H A Dcyclic.c648 cyclic_coverage(char *why, int level, uint64_t arg0, uint64_t arg1) in cyclic_coverage() argument
652 for (ndx = orig = cyclic_coverage_hash(why) % CY_NCOVERAGE; ; ) { in cyclic_coverage()
653 if (cyc_coverage[ndx].cyv_why == why) in cyclic_coverage()
657 casptr(&cyc_coverage[ndx].cyv_why, NULL, why) != NULL) { in cyclic_coverage()
683 #define CYC_TRACE(cpu, level, why, arg0, arg1) \ argument
684 CYC_TRACE_IMPL(&cpu->cyp_trace[level], level, why, arg0, arg1)
686 #define CYC_PTRACE(why, arg0, arg1) \ argument
687 CYC_TRACE_IMPL(&cyc_ptrace, CY_PASSIVE_LEVEL, why, arg0, arg1)
689 #define CYC_TRACE_IMPL(buf, level, why, a0, a1) { \ argument
695 _rec->cyt_why = (why); \
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dtaint.t637 my $why = "y";
638 my $j = "x" | $why;
640 $why = $TAINT."y";
641 $j = "x" | $why;
647 my $why = $TAINT."y";
648 $why =~ s/y/z/;
649 test 147, tainted $why;
652 $why =~ s/$z/zee/;
653 test 148, tainted $why;
655 $why =~ s/e/'-'.$$/ge;
[all …]
/onnv-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])
/onnv-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()
/onnv-gate/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);
/onnv-gate/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()
/onnv-gate/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()
/onnv-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_common.c351 nfsdyn_mountroot(vfs_t *vfsp, whymountroot_t why) in nfsdyn_mountroot() argument
368 if (why == ROOT_REMOUNT) { in nfsdyn_mountroot()
375 if (why == ROOT_UNMOUNT) { in nfsdyn_mountroot()
468 return (VFS_MOUNTROOT(vfsp, why)); in nfsdyn_mountroot()
/onnv-gate/usr/src/cmd/ptools/pflags/
H A Dpflags.c429 prwhy(int why) in prwhy() argument
434 switch (why) { in prwhy()
458 (void) sprintf(str, "%d", why); in prwhy()
466 prwhat(int why, int what) in prwhat() argument
471 switch (why) { in prwhat()
/onnv-gate/usr/src/uts/common/fs/udfs/
H A Dudf_vfsops.c190 enum whymountroot why; in udf_mount() local
252 why = ROOT_REMOUNT; in udf_mount()
258 why = ROOT_INIT; in udf_mount()
309 error = ud_mountfs(vfsp, why, dev, dpn.pn_path, cr, 0); in udf_mount()
550 udf_mountroot(struct vfs *vfsp, enum whymountroot why) in udf_mountroot() argument
558 if (why == ROOT_INIT) { in udf_mountroot()
568 } else if (why == ROOT_REMOUNT) { in udf_mountroot()
580 } else if (why == ROOT_UNMOUNT) { in udf_mountroot()
592 error = ud_mountfs(vfsp, why, rootdev, "/", CRED(), 1); in udf_mountroot()
595 if (why == ROOT_REMOUNT) { in udf_mountroot()
[all …]

1234567