Searched refs:ok (Results 26 - 50 of 281) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/sun4u/seeprom/
H A DMakefile105 warlock: $(MODULE).ok
116 %.ok: $(SEEPROM_FILES)
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/
H A Dmhd_failfast.c233 uint_t i, ok, cnt; local
243 for (ok = cnt = 0, i = 0; (i < dlp->dl_ndrive); ++i) {
253 ++ok;
257 if ((cnt == 0) || (ok >= ((cnt / 2) + 1))) {
266 mhd_eprintf("%s: failed majority cnt %d ok %d\n",
267 sp->sr_name, cnt, ok);
/illumos-gate/usr/src/common/util/
H A Dsscanf.c392 * Switch on the character; `goto ok'
418 goto ok;
425 goto ok;
427 /* digits 8 and 9 ok iff decimal or hex */
433 goto ok;
435 /* letters ok iff hex */
444 goto ok;
446 /* sign ok only as first character */
450 goto ok;
454 /* x ok if
[all...]
/illumos-gate/usr/src/ucbcmd/vipw/
H A Dvipw.c70 int ok = 0; local
111 ok++;
151 ok++;
188 return (ok ? 0 : 1);
256 * return 0 if ok, 1 otherwise
261 int i, ok = 0; local
380 ok++;
383 if (ok)
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_ndd.c430 boolean_t ok; local
453 ok = nd_getset(wq, adapter->nd_data_p, mp);
454 DPRINTF(1, (CE_WARN, "unm_nd_ioctl: get %s", ok ? "OK" :
456 return (ok ? IOC_REPLY : IOC_INVAL);
468 ok = nd_getset(wq, adapter->nd_data_p, mp);
484 ok ? "OK" : "FAIL", iocp->ioc_error,
487 if (!ok)
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_ndd.c410 boolean_t ok; local
436 ok = nd_getset(wq, rgep->nd_data_p, mp);
437 RGE_DEBUG(("rge_nd_ioctl: get %s", ok ? "OK" : "FAIL"));
438 return (ok ? IOC_REPLY : IOC_INVAL);
458 ok = nd_getset(wq, rgep->nd_data_p, mp);
473 ok ? "OK" : "FAIL", iocp->ioc_error,
475 if (!ok)
/illumos-gate/usr/src/cmd/setuname/
H A Dsetuname.c203 int ok; /* Flag, everything okay? */
280 ok = TRUE;
281 for (p = s_arg ; ok && *p ; p++) {
282 if (!isalnum(*p) && (*p != '-') && (*p != '_')) ok = FALSE;
284 if (!ok || (p == s_arg)) {
303 ok = TRUE;
304 for (p = n_arg ; ok && *p ; p++) {
305 if (!isalnum(*p) && (*p != '-') && (*p != '_')) ok = FALSE;
307 if (!ok || (p == n_arg)) {
201 int ok; /* Flag, everything okay? */ local
/illumos-gate/usr/src/cmd/acctadm/
H A Dres.c299 int i, j, id, ok; local
316 for (ok = 0, i = 0; (g = ac_groups[i].ag_name) != NULL; i++) {
321 ok = 1;
325 if (ok == 0) {
347 int i, j, ok, id; local
363 ok = 1;
365 ok = 0;
369 if (ok) { /* buf contains this resource group */
377 ok = 0;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dglob.c416 int ok; local
443 ok = 0;
452 if (ok)
464 ok++;
467 ok++;
470 if (!ok)
529 int ok, lc; local
537 ok = 0;
541 if (ok)
547 ok
[all...]
/illumos-gate/usr/src/cmd/tip/aculib/
H A Dv3451.c31 int ok; local
93 ok = expect("ON LINE");
95 if (!ok) {
/illumos-gate/usr/src/lib/libast/common/cdt/
H A Ddtview.c40 Void_t *o, *n, *ok, *nk; local
66 ok = _DTKEY(o,ky,sz);
69 { cmp = _DTCMP(d,ok,nk,d->disc,cmpf,sz);
77 nk = ok;
149 /* ok */
/illumos-gate/usr/src/uts/intel/mii/
H A DMakefile43 WARLOCK_OK = $(MODULE).ok
/illumos-gate/usr/src/uts/intel/pmcs/
H A DMakefile43 WARLOCK_OK = $(MODULE).ok
/illumos-gate/usr/src/uts/sparc/ac97/
H A DMakefile43 WARLOCK_OK = $(MODULE).ok
/illumos-gate/usr/src/uts/sparc/mii/
H A DMakefile43 WARLOCK_OK = $(MODULE).ok
/illumos-gate/usr/src/uts/sparc/pmcs/
H A DMakefile43 WARLOCK_OK = $(MODULE).ok
/illumos-gate/usr/src/uts/intel/ac97/
H A DMakefile43 WARLOCK_OK = $(MODULE).ok
/illumos-gate/usr/src/cmd/lastcomm/
H A Dlc_pacct.c27 ok(int argc, char *argv[], int index, struct acct *acp) function
89 if (argc > index && !ok(argc, argv, index, acp))
/illumos-gate/usr/src/uts/intel/ohci/
H A DMakefile41 WARLOCK_OK = $(MODULE).ok
115 ohci.ok: $(WARLOCK_OUT) $(WLCMD_DIR)/ohci.wlcmd warlock_ddi.files usba.files
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfs_acl.h95 GETACL2resok ok; member in union:GETACL2res::__anon640
114 SETACL2resok ok; member in union:SETACL2res::__anon641
132 GETATTR2resok ok; member in union:GETATTR2res::__anon642
159 ACCESS2resok ok; member in union:ACCESS2res::__anon643
179 GETXATTRDIR2resok ok; member in union:GETXATTRDIR2res::__anon644
204 GETACL3resok ok; member in union:GETACL3res::__anon645
229 SETACL3resok ok; member in union:SETACL3res::__anon646
250 GETXATTRDIR3resok ok; member in union:GETXATTRDIR3res::__anon647
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Darrays.sh279 foo[$((10))]=ok 2> /dev/null || err_exit 'arithmetic expression as subscript not working'
322 do [[ ${foo[i]} ]] && print ok
323 done) == ok ]] || err_exit 'invalid optimization for subscripted variables'
430 typeset -a foo=([1]=ok [2]=no)
431 [[ $foo[bar] == ok ]] || err_exit 'typeset -a not working for simple assignment'
433 typeset -a foo=([1]=(x=ok) [2]=(x=no))
438 typeset -A foo=([1]=ok [2]=no)
439 [[ $foo[bar] == ok ]] && err_exit 'typeset -A not working for simple assignment'
441 typeset -A foo=([1]=(x=ok) [2]=(x=no))
442 [[ ${foo[bar].x} == ok ]]
[all...]
H A Dsubshell.sh73 z.foo[two]=ok
74 [[ ${z.foo[two]} == ok ]] || err_exit 'associative array assignment to compound variable in subshell not working'
196 print ok
199 [[ $r == ok ]] || err_exit "large subshell command substitution hangs"
217 print ok
219 [[ $r == ok ]] || err_exit "shell hangs on $TEST_test"
269 exp=ok
291 exp=ok
295 else print ok
458 cmd='echo $((case x in x)echo ok;esa
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypxfrd_server.c268 res.status = mygetpage(res.pag_u.ok.blkdat, &(res.pag_u.ok.blkno), m);
272 s = (short *)res.pag_u.ok.blkdat;
285 res.status = mygetpage(res.pag_u.ok.blkdat,
286 &(res.pag_u.ok.blkno), m);
290 s = (short *)res.pag_u.ok.blkdat;
343 res.status = mygetdir(res.dir_u.ok.blkdat, &(res.dir_u.ok.blkno), m);
351 res.status = mygetdir(res.dir_u.ok.blkdat,
352 &(res.dir_u.ok
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dexpand.c453 int ok, lc; local
467 ok = 0;
471 if (ok)
477 ok++;
480 ok++;
542 int ok, lc; local
550 ok = 0;
554 if (ok)
560 ok++;
563 ok
[all...]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dfnmatch.c223 int negate, ok; local
246 ok = 0;
286 ok = 1;
288 ok = 1;
292 return (ok == negate ? RANGE_NOMATCH : RANGE_MATCH);

Completed in 128 milliseconds

1234567891011>>