/titanic_41/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_bitmap.h | 52 #define IND_BYTE(ind) ((ind) >> 3) argument 53 #define IND_BIT(ind) (1 << ((ind) & 0x7)) argument 68 #define BMAP_BIT_SET(bmap, ind) ((bmap)[IND_BYTE(ind)] |= IND_BIT(ind)) argument 69 #define BMAP_BIT_CLR(bmap, ind) ((bmap)[IND_BYTE(ind)] &= ~IND_BIT(ind)) argument 70 #define BMAP_BIT_ISSET(bmap, ind) \ argument 71 ((bmap)[IND_BYTE(ind)] & IND_BIT(ind)) 75 #define BMAP_REF_SET(krdc, ind) (((krdc)->bm_refs->bmap_ref_set)(krdc, ind)) argument 76 #define BMAP_REF_CLR(krdc, ind) (((krdc)->bm_refs->bmap_ref_clr)(krdc, ind)) argument 77 #define BMAP_REF_ISSET(krdc, ind) (((krdc)->bm_refs->bmap_ref_isset)(krdc, ind)) argument 78 #define BMAP_REF_FORCE(krdc, ind, val) \ argument [all …]
|
/titanic_41/usr/src/cmd/svr4pkg/libinst/ |
H A D | nblk.c | 43 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()
|
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rollback/ |
H A D | zfs_rollback_common.kshlib | 93 typeset -i ind=0 103 ind=0 104 while (( ind < cnt )); do 107 eval typeset snap=\$FSSNAP$ind 108 eval typeset clone=\$FSCLONE$ind 109 eval typeset fname=\$TESTDIR/\$TESTFILE$ind 112 eval typeset snap=\$VOLSNAP$ind 113 eval typeset clone=\$VOLCLONE$ind 114 eval typeset fname=\$TESTDIR1/\$TESTFILE$ind 134 (( ind += 1 )) [all …]
|
/titanic_41/usr/src/cmd/cron/ |
H A D | elm.c | 138 struct index *indprev, *ind; local 188 ind = (struct index *)xmalloc(sizeof (struct index)); 189 ind->key = k; 191 index = ind; 193 indprev->right = ind; 194 indprev = ind; } 212 ind = (struct index *)xmalloc(sizeof (struct index)); 213 ind->key = k; 214 ind->right = NULL; 215 indprev->right = ind; [all …]
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ipaddr.c | 192 int ind; in addhost() local 240 for (ind = 0; in addhost() 241 aliases[ind] != NULL; in addhost() 242 ind++) { in addhost() 244 aliases[ind]); in addhost() 255 for (ind = 0; in addhost() 256 aliases[ind] != NULL; in addhost() 257 ind++) { in addhost() 259 aliases[ind]); in addhost() 360 int ind; in lgetipnodebyname() local [all …]
|
/titanic_41/usr/src/cmd/vi/port/ |
H A D | ex_vwind.c | 101 vup(int cnt, int ind, bool scroll) in vup() argument 112 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() 149 vdown(int cnt, int ind, bool scroll) in vdown() argument 160 ind -= cnt - i; in vdown() [all …]
|
H A D | ex_vops.c | 498 int i, ind, cnt; in vchange() local 549 ind = -1; in vchange() 559 ind = lindent(dot); in vchange() 561 ind = whitecnt(linebuf); 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 [all …]
|
H A D | ex_vmain.c | 78 int ind, nlput; local 380 ind = vcline, cnt += ind; 382 ind = 0; 384 vup(cnt, ind, 1); 400 ind = vcnt - vcline - 1, cnt += ind; 402 ind = 0; 404 vdown(cnt, ind, 1); 427 ind = vcnt - vcline - 1 + cnt; 428 vdown(ind, ind, 1); 441 ind = vcline + cnt; [all …]
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm_stats.c | 398 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() 414 case ILBST_ICMP2BIG_P: ind = RLSTA_ICMP2BIG_P; in of_rule_stats() 416 case ILBST_ICMP2BIG_D: ind = RLSTA_ICMP2BIG_D; in of_rule_stats() 418 case ILBST_NOMEMP_D: ind = RLSTA_NOMEMPKT_D; in of_rule_stats() [all …]
|
/titanic_41/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_misc.h | 272 #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))
|
/titanic_41/usr/src/lib/libmvec/common/vis/ |
H A D | __vpow.S | 847 ! ind = (int)dtmp0; 848 ! i = ind & 0xff; 851 ! ind >>= 8; 864 ! eflag = (ind + 1021); 866 ! gflag = (1022 - ind); 872 ! ind = yisint + ind; 875 ! ind = ind + itmp0; 876 ! ind = ind - itmp1; 877 ! ind <<= 20; 878 ! *(int*)&dtmp0 = ind; [all …]
|
H A D | __vlogf.S | 194 ! int ival, iy, i, ind, iexp; 212 ! ind = i & (-8); 215 ! ldtmp0 = *(double*)((char*)CONST_TBL+ind); 216 ! ldtmp1 = *(double*)((char*)CONST_TBL+ind+8); 248 ! ind = i & (-8); 251 ! ldtmp0 = *(double*)((char*)CONST_TBL+ind); 252 ! ldtmp1 = *(double*)((char*)CONST_TBL+ind+8); 373 and ival0,-8,ind0 ! (Y0_0) ind = i & (-8) 376 and ind1,-8,ind1 ! (Y1_0) ind = i & (-8) 377 ldd [LOGFTBL_P8+ind0],%f14 ! (Y0_0) ldtmp1 = *(double*)((char*)CONST_TBL+ind+8) [all …]
|
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/ |
H A D | zfs_mount_007_pos.ksh | 94 typeset -i ind=0 97 (( ind = i * 2 )) 99 (( ind = i * 2 + 1 )) 102 $ECHO ${values[$ind]}
|
/titanic_41/usr/src/cmd/oamuser/user/ |
H A D | userdefs.c | 116 static int ind = NDEF - 1; in scan() local 118 int lastind = ind; in scan() 129 ind++; in scan() 130 ind %= NDEF; in scan() 132 if (strncmp(cur_p, tab[ind].name, tab[ind].nmsz) == 0) { in scan() 133 *start_p = cur_p + tab[ind].nmsz; in scan() 134 return (&tab[ind]); in scan() 136 } while (ind != lastind); in scan()
|
/titanic_41/usr/src/cmd/avs/sdbc/ |
H A D | sd_trace.c | 536 int ind, i, k, len; in dual_stats() local 605 ind = IND_VOLUME_DOWN; in dual_stats() 607 ind = IND_FCAL_FAILED; in dual_stats() 609 ind = IND_BITMAP_FAILED; in dual_stats() 613 ind = IND_RESYNC_NEEDED; in dual_stats() 616 ind = IND_REV_RESYNC_NEEDED; in dual_stats() 618 ind = IND_LOGGING; in dual_stats() 622 ind = IND_RESYNC_REVERSE; in dual_stats() 624 ind = IND_RESYNC; in dual_stats() 627 ind = IND_RESYNC; in dual_stats() [all …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | devpolicy.c | 584 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 …]
|
/titanic_41/usr/src/cmd/format/ |
H A D | ix_altsctr.c | 754 int ind; local 762 ind = i; 764 for (interval = ind; interval; ) { 765 if ((key->bad_start >= buf[ind-1].bad_start) && 766 (key->bad_start <= buf[ind-1].bad_end)) { 767 return (mystatus = ind-1); 771 if (key->bad_start < buf[ind-1].bad_start) { 772 ind = ind - interval; 775 if (ind == cnt) break; 776 if ((ind+interval) <= cnt) [all …]
|
/titanic_41/usr/src/cmd/ptools/ppriv/ |
H A D | ppriv.c | 445 int ind = strindex(q[i], sets); in parsespec() local 447 if (ind == -1) in parsespec() 451 if (((toupd == &rem || toupd == &add) && assign[ind] != NULL) || in parsespec() 452 (toupd == &assign && (assign[ind] != NULL || in parsespec() 453 rem[ind] != NULL || add[ind] != NULL))) { in parsespec() 458 if ((*toupd)[ind] != NULL) { in parsespec() 460 priv_intersect(upd, (*toupd)[ind]); in parsespec() 462 priv_union(upd, (*toupd)[ind]); in parsespec() 464 (*toupd)[ind] = upd; in parsespec()
|
/titanic_41/usr/src/cmd/addbadsec/ |
H A D | ix_altsctr.c | 727 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 …]
|
/titanic_41/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_compact_001_pos.ksh | 64 typeset -i ind 67 ((ind = $RANDOM % cnt)) 69 eval print \${${arr_name}[$ind]}
|
H A D | zfs_acl_chmod_rwx_002_pos.ksh | 62 typeset -i ind 65 (( ind = $RANDOM % cnt )) 67 eval print \${${arr_name}[$ind]}
|
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | getvalues.c | 150 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()
|
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | zfs_set_common.kshlib | 146 typeset -i ind 147 ((ind = RANDOM % count)) 148 eval str=\${str}\${$char_set[\$ind]}
|
/titanic_41/usr/src/cmd/oawk/ |
H A D | b.c | 437 int j, n, s, ind, numtrans; in cgotofn() local 588 ind = 0; in cgotofn() 762 dprintf(" = %d, ind = %d\n", n, ind+1, NULL); in cgotofn() 763 fatab[++ind].cc.cc_ns = ns; 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() 775 fatab[++ind].cc.cc_ns = ns; in cgotofn() [all …]
|
/titanic_41/usr/src/cmd/newtask/ |
H A D | newtask.c | 520 int ind; in set_ids() local 553 ind = priv_getsetbyname(PRIV_EFFECTIVE); in set_ids() 554 eset = (priv_set_t *)&new_prpriv->pr_sets[new_prpriv->pr_setsize * ind]; in set_ids() 555 ind = priv_getsetbyname(PRIV_PERMITTED); in set_ids() 556 pset = (priv_set_t *)&new_prpriv->pr_sets[new_prpriv->pr_setsize * ind]; in set_ids()
|