Home
last modified time | relevance | path

Searched refs:ind (Results 1 – 25 of 58) sorted by relevance

123

/illumos-gate/usr/src/boot/common/
H A Dmerge_help.awk12 ind = 0;
36 ind++;
37 if (ind == 1)
39 first = ind;
40 help[ind, "T"] = T;
41 help[ind, "S"] = S;
59 first = ind;
64 help[ind, "T"] = T;
65 help[ind, "S"] = S;
66 help[ind, "D"] = D;
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dnblk.c43 fsblkcnt_t tot, count, count1, d_indirect, t_indirect, ind; in nblk() local
53 ind = howmany(bsize, sizeof (daddr_t)); in nblk()
54 d_indirect = ind + DIRECT; /* double indirection */ in nblk()
55 t_indirect = ind * (ind + 1) + DIRECT; /* triple indirection */ in nblk()
60 count1 = (tot - ind * ind - (DIRECT + 1)) / ind; in nblk()
61 count = count1 + count1 / ind + ind + 3; in nblk()
63 count = (tot - (DIRECT + 1)) / ind + 2; in nblk()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rollback/
H A Dzfs_rollback_common.kshlib93 typeset -i ind=0
103 ind=0
104 while (( ind < cnt )); do
107 eval typeset snap=\$FSSNAP$ind
108 eval typeset clone=\$FSCLONE$ind
112 eval typeset snap=\$VOLSNAP$ind
113 eval typeset clone=\$VOLCLONE$ind
134 (( ind += 1 ))
152 typeset -i ind=0
242 ind=""
[all …]
/illumos-gate/usr/src/cmd/cron/
H A Delm.c185 ind->key = k; in el_init()
187 index = ind; in el_init()
209 ind->key = k; in el_init()
252 ind = index; in el_add()
253 while ((ind->key)->time <= time) ind = ind->right; in el_add()
423 ind = index; in el_first()
424 while ((ind->right)->right != NULL) ind = ind->right; in el_first()
426 k = ind->key; in el_first()
496 ind = index; in el_delete()
497 k = ind->key; in el_delete()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipaddr.c217 int ind; in addhost() local
265 for (ind = 0; in addhost()
267 ind++) { in addhost()
269 aliases[ind]); in addhost()
280 for (ind = 0; in addhost()
282 ind++) { in addhost()
384 int ind; in lgetipnodebyname() local
396 ind = 0; in lgetipnodebyname()
411 ind++; in lgetipnodebyname()
432 ind++; in lgetipnodebyname()
[all …]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_vwind.c112 ind -= cnt - i; in vup()
113 if (ind < 0) in vup()
114 ind = 0; in vup()
129 if (ind > basWLINES / 2) in vup()
130 ind = basWLINES / 3; in vup()
132 vcontext(dot + ind - cnt, '.'); in vup()
138 vcline += ind, dot += ind; in vup()
160 ind -= cnt - i; in vdown()
161 if (ind < 0) in vdown()
162 ind = 0; in vdown()
[all …]
H A Dex_vops.c498 int i, ind, cnt; in vchange() local
549 ind = -1; in vchange()
559 ind = lindent(dot); in vchange()
599 if (ind >= 0) { in vchange()
605 *genindent(ind) = 0; in vchange()
635 if (ind >= 0) { in vchange()
647 ind = 0; in vchange()
655 vappend('x', 1, ind); in vchange()
729 int ind = 0, i; in voOpen() local
760 *genindent(ind) = 0; in voOpen()
[all …]
H A Dex_vmain.c76 int ind, nlput; local
378 ind = vcline, cnt += ind;
380 ind = 0;
382 vup(cnt, ind, 1);
398 ind = vcnt - vcline - 1, cnt += ind;
400 ind = 0;
402 vdown(cnt, ind, 1);
425 ind = vcnt - vcline - 1 + cnt;
426 vdown(ind, ind, 1);
439 ind = vcline + cnt;
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_stats.c398 int i, ind; in of_rule_stats() local
402 case ILBST_PKT_U: ind = RLSTA_PKT_U; in of_rule_stats()
404 case ILBST_BYTES_U: ind = RLSTA_BYTES_U; in of_rule_stats()
406 case ILBST_PKT_D: ind = RLSTA_PKT_D; in of_rule_stats()
408 case ILBST_BYTES_D: ind = RLSTA_BYTES_D; in of_rule_stats()
410 case ILBST_ICMP_P: ind = RLSTA_ICMP_P; in of_rule_stats()
412 case ILBST_ICMP_D: ind = RLSTA_ICMP_D; in of_rule_stats()
534 int i, ind; in i_copy_sstats() local
539 if (ind == -1) in i_copy_sstats()
610 int i, ind; in i_copy_rstats() local
[all …]
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_misc.h272 #define HERMON_IND_BYTE(ind) ((ind) >> 3) argument
273 #define HERMON_IND_BIT(ind) (1 << ((ind) & 0x7)) argument
275 #define HERMON_BMAP_BIT_SET(bmap, ind) \ argument
276 ((bmap)[HERMON_IND_BYTE(ind)] |= HERMON_IND_BIT(ind))
277 #define HERMON_BMAP_BIT_CLR(bmap, ind) \ argument
278 ((bmap)[HERMON_IND_BYTE(ind)] &= ~HERMON_IND_BIT(ind))
279 #define HERMON_BMAP_BIT_ISSET(bmap, ind) \ argument
280 ((bmap)[HERMON_IND_BYTE(ind)] & HERMON_IND_BIT(ind))
/illumos-gate/usr/src/lib/libmvec/common/vis/
H A D__vpow.S872 ! ind = yisint + ind;
875 ! ind = ind + itmp0;
876 ! ind = ind - itmp1;
1023 ! ind = ind + itmp0;
1024 ! ind = ind - itmp1;
1602 add %l0,%o0,%l0 ! (Y0_0) ind = ind + itmp0;
1611 sub %l0,%o5,%i4 ! (Y0_0) ind = ind - itmp1;
1801 add %i2,%o0,%i2 ! (Y1_0) ind = ind + itmp0;
1810 sub %i2,%o0,%i2 ! (Y1_0) ind = ind - itmp1;
1962 add %l0,%o0,%l0 ! (Y0_0) ind = ind + itmp0;
[all …]
H A D__vlogf.S194 ! int ival, iy, i, ind, iexp;
212 ! ind = i & (-8);
215 ! ldtmp0 = *(double*)((char*)CONST_TBL+ind);
248 ! ind = i & (-8);
373 and ival0,-8,ind0 ! (Y0_0) ind = i & (-8)
376 and ind1,-8,ind1 ! (Y1_0) ind = i & (-8)
406 and ival2,-8,ind2 ! (Y2_0) ind = i & (-8)
434 and ival3,-8,ind3 ! (Y3_0) ind = i & (-8)
516 and ind1,-8,ind1 ! (Y1_1) ind = i & (-8)
691 and ind1,-8,ind1 ! (Y1_1) ind = i & (-8)
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount_007_pos.ksh98 typeset -i ind=0
101 (( ind = i * 2 ))
103 (( ind = i * 2 + 1 ))
106 echo ${values[$ind]}
/illumos-gate/usr/src/cmd/oamuser/user/
H A Duserdefs.c117 static int ind = NDEF - 1; in scan() local
119 int lastind = ind; in scan()
130 ind++; in scan()
131 ind %= NDEF; in scan()
133 if (strncmp(cur_p, tab[ind].name, tab[ind].nmsz) == 0) { in scan()
134 *start_p = cur_p + tab[ind].nmsz; in scan()
135 return (&tab[ind]); in scan()
137 } while (ind != lastind); in scan()
/illumos-gate/usr/src/uts/common/os/
H A Ddevpolicy.c584 int ind; in devpolicy_get() local
614 ind = 1; in devpolicy_get()
618 itmp[ind].dps_maj = devpolicy[i].t_major; in devpolicy_get()
619 itmp[ind].dps_rdp = de->dpe_plcy->dp_rdp; in devpolicy_get()
620 itmp[ind].dps_wrp = de->dpe_plcy->dp_wrp; in devpolicy_get()
622 (void) strcpy(itmp[ind].dps_minornm, in devpolicy_get()
625 (void) strcpy(itmp[ind].dps_minornm, "*"); in devpolicy_get()
627 itmp[ind].dps_lomin = de->dpe_lomin; in devpolicy_get()
628 itmp[ind].dps_himin = de->dpe_himin; in devpolicy_get()
629 itmp[ind].dps_isblock = de->dpe_spec == VBLK; in devpolicy_get()
[all …]
/illumos-gate/usr/src/cmd/format/
H A Dix_altsctr.c747 int ind; in ent_bsearch() local
755 ind = i; in ent_bsearch()
757 for (interval = ind; interval; ) { in ent_bsearch()
758 if ((key->bad_start >= buf[ind-1].bad_start) && in ent_bsearch()
759 (key->bad_start <= buf[ind-1].bad_end)) { in ent_bsearch()
760 return (mystatus = ind-1); in ent_bsearch()
764 if (key->bad_start < buf[ind-1].bad_start) { in ent_bsearch()
765 ind = ind - interval; in ent_bsearch()
771 if (ind == cnt) in ent_bsearch()
773 if ((ind + interval) <= cnt) in ent_bsearch()
[all …]
/illumos-gate/usr/src/cmd/smbsrv/testoplock/
H A Dcase12.txt19 # should see break_to_none pending (but no break ind yet)
23 # should get a new break ind. (RH to none)
26 # got break ind?
/illumos-gate/usr/src/cmd/ptools/ppriv/
H A Dppriv.c446 int ind = strindex(q[i], sets); in parsespec() local
448 if (ind == -1) in parsespec()
452 if (((toupd == &rem || toupd == &add) && assign[ind] != NULL) || in parsespec()
453 (toupd == &assign && (assign[ind] != NULL || in parsespec()
454 rem[ind] != NULL || add[ind] != NULL))) { in parsespec()
459 if ((*toupd)[ind] != NULL) { in parsespec()
461 priv_intersect(upd, (*toupd)[ind]); in parsespec()
463 priv_union(upd, (*toupd)[ind]); in parsespec()
465 (*toupd)[ind] = upd; in parsespec()
/illumos-gate/usr/src/cmd/addbadsec/
H A Dix_altsctr.c727 int ind; in ent_bsearch() local
735 ind = i; in ent_bsearch()
737 for (interval = ind; interval; ) { in ent_bsearch()
741 if ((key->bad_start >= buf[ind-1].bad_start) && in ent_bsearch()
742 (key->bad_start <= buf[ind-1].bad_end)) { in ent_bsearch()
743 return(mystatus = ind-1); in ent_bsearch()
747 if (key->bad_start < buf[ind-1].bad_start) { in ent_bsearch()
748 ind = ind - interval; in ent_bsearch()
751 if (ind == cnt) break; in ent_bsearch()
752 if ((ind+interval) <= cnt) in ent_bsearch()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_chmod_compact_001_pos.ksh64 typeset -i ind
67 ((ind = $RANDOM % cnt))
69 eval print \${${arr_name}[$ind]}
H A Dzfs_acl_chmod_rwx_002_pos.ksh66 typeset -i ind
69 (( ind = $RANDOM % cnt ))
71 eval print \${${arr_name}[$ind]}
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetvalues.c150 int ind = 0; in parse_subtypes() local
174 ind = subtypeStart; in parse_subtypes()
209 ind = 0; in parse_subtypes()
211 ind = subtypeStart; in parse_subtypes()
234 (*langp)[i] = toupper( target[ind+i] ); in parse_subtypes()
/illumos-gate/usr/src/cmd/oawk/
H A Db.c437 int j, n, s, ind, numtrans; in cgotofn() local
588 ind = 0; in cgotofn()
764 fatab[ind].cc.cc_cs = cs; in cgotofn()
765 fatab[ind].cc.cc_ne = ne; in cgotofn()
766 fatab[ind].cc.cc_ce = ce; in cgotofn()
767 fatab[ind].n = n; in cgotofn()
774 prev, ind+1, NULL); in cgotofn()
776 fatab[ind].cc.cc_cs = cs; in cgotofn()
777 fatab[ind].cc.cc_ne = ne; in cgotofn()
778 fatab[ind].cc.cc_ce = ce; in cgotofn()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dzfs_set_common.kshlib146 typeset -i ind
147 ((ind = RANDOM % count))
148 eval str=\${str}\${$char_set[\$ind]}
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlcode.c395 freereg(fs, e->u.ind.idx); in luaK_dischargevars()
396 if (e->u.ind.vt == VLOCAL) { /* 't' is in a register? */ in luaK_dischargevars()
397 freereg(fs, e->u.ind.t); in luaK_dischargevars()
400 e->u.info = luaK_codeABC(fs, op, 0, e->u.ind.t, e->u.ind.idx); in luaK_dischargevars()
570 OpCode op = (var->u.ind.vt == VLOCAL) ? OP_SETTABLE : OP_SETTABUP; in luaK_storevar()
572 luaK_codeABC(fs, op, var->u.ind.t, var->u.ind.idx, e); in luaK_storevar()
704 t->u.ind.t = t->u.info; in luaK_indexed()
705 t->u.ind.idx = luaK_exp2RK(fs, k); in luaK_indexed()
706 t->u.ind.vt = (t->k == VUPVAL) ? VUPVAL in luaK_indexed()

123