/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | vsc7321.c | 58 u32 index; member 238 static struct cmac *vsc7321_mac_create(adapter_t *adapter, int index) in vsc7321_mac_create() argument 251 mac->instance->index = index; in vsc7321_mac_create() 312 int port = mac->instance->index; in mac_set_address() 330 int port = mac->instance->index; in mac_get_address() 347 int index = mac->instance->index; in mac_reset() local 349 run_table(mac->adapter, vsc7321_portinit[index], in mac_reset() 350 DIMOF(vsc7321_portinit[index])); in mac_reset() 378 int port = mac->instance->index; in mac_enable() 392 int port = mac->instance->index; in mac_disable()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | ldi.c | 51 size_t index; /* hash table index */ member 61 size_t index; /* hash table index */ member 87 lhwp->index = 0; in ldi_handle_walk_init() 112 if (++(lhwp->index) >= LH_HASH_SZ) in ldi_handle_walk_step() 117 (uintptr_t)(lhwp->hash + lhwp->index))) == -1) { in ldi_handle_walk_step() 119 (uintptr_t)lhwp->hash + lhwp->index); in ldi_handle_walk_step() 155 liwp->index = 0; in ldi_ident_walk_init() 180 if (++(liwp->index) >= LI_HASH_SZ) in ldi_ident_walk_step() 185 (uintptr_t)(liwp->hash + liwp->index))) == -1) { in ldi_ident_walk_step() 187 (uintptr_t)liwp->hash + liwp->index); in ldi_ident_walk_step()
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_index_c.x | 76 % STRUCTRWLOCK(index); 143 % return (WLOCK(index)); 147 % return (WULOCK(index)); 151 % return (RLOCK(index)); 155 % return (RULOCK(index));
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/zfs_list/ |
H A D | setup.ksh | 42 typeset -i index=0 58 log_must zfs set checksum=${cksumarray[$index]} \ 61 log_must zfs set checksum=${cksumarray[$index]} \ 65 index=$((index + 1))
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_cookie.c | 158 buffer->pool[i].index = i; in dapls_cb_create() 200 int index; in dapls_cb_resize() local 225 index = 0; in dapls_cb_resize() 227 new_buffer->pool[index] = curr_buffer->pool[head]; in dapls_cb_resize() 229 index++; in dapls_cb_resize() 232 new_buffer->tail = index; in dapls_cb_resize() 327 buffer->tail = cookie->index; in dapls_cb_put() 424 buffer->tail = cookie->index; in dapls_cookie_dealloc()
|
/illumos-gate/usr/src/cmd/lastcomm/ |
H A D | lc_exacct.c | 45 ok(int argc, char *argv[], int index, uid_t uid, dev_t tty, char *command) in ok() argument 49 for (j = index; j < argc; j++) in ok() 58 disp_group(ea_file_t *ef, uint_t nobjs, int argc, char *argv[], int index) in disp_group() argument 120 argc, argv, index); in disp_group() 143 if (argc > index && !ok(argc, argv, index, uid, tty, command)) in disp_group() 157 lc_exacct(char *filename, int argc, char *argv[], int index) in lc_exacct() argument 197 argc, argv, index); in lc_exacct()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/ |
H A D | gentab.sh | 48 index="" 121 case $index in 122 ?*) eval $index=$counter ;; 128 index="" 158 case $index in 161 *) eval value=\$$index
|
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | getscn.c | 36 elf_getscn(Elf * elf, size_t index) in elf_getscn() argument 40 size_t j = index; in elf_getscn() 63 if (index < tabsz) { in elf_getscn() 64 s = &elf->ed_hdscn[index]; in elf_getscn() 80 if (s->s_index == index) { in elf_getscn()
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_vfsops.c | 427 int32_t index; in udf_statvfs() local 440 for (index = 0; index < udf_vfsp->udf_npart; index++) { in udf_statvfs() 737 for (index = 0; index < count; index ++) { in ud_mountfs() 1052 for (index = 0; index < count; index ++) { in ud_validate_and_fill_superblock() 1256 for (index = 0; index < udf_vfsp->udf_npart; index ++) { in ud_validate_and_fill_superblock() 1271 for (index = 0; index < count; index++) { in ud_validate_and_fill_superblock() 1408 for (index = 0; index < count; index ++) { in ud_validate_and_fill_superblock() 1793 for (index = 0; index < map->udm_nspm; index++) { in ud_read_sparing_tbls() 1794 map->udm_loc[index] = SWAP_32(typ2->map2_st[index]); in ud_read_sparing_tbls() 1859 for (index = 0; index < end_index; index++) { in ud_get_lbsize() [all …]
|
/illumos-gate/usr/src/uts/i86pc/dboot/ |
H A D | dboot_startkern.c | 467 int index; in dump_tables() local 482 for (index = 0; index < ptes_per_table; ++index) { in dump_tables() 501 save_index[l] = index; in dump_tables() 503 index = -1; in dump_tables() 526 index += i - 2; in dump_tables() 537 index = save_index[l]; in dump_tables() 743 mb2_mmap_tagp, index)); in dboot_loader_mmap_get_type() 752 return (map_buffer[index].type); in dboot_loader_mmap_get_type() 781 mb2_mmap_tagp, index)); in dboot_loader_mmap_get_base() 820 mb2_mmap_tagp, index)); in dboot_loader_mmap_get_length() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/hash/ |
H A D | hashsize.c | 45 unsigned int index; in hashsize() local 69 index = new_b->hash; in hashsize() 70 HASHMOD(tab, index); in hashsize() 71 new_b->next = new_s[index]; in hashsize() 72 new_s[index] = new_b; in hashsize()
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_stat.h | 59 int index; /* position in the stats buffer */ member 97 int vmm_stat_copy(struct vm *vm, int vcpu, int index, int count, 99 int vmm_stat_desc_copy(int index, char *buf, int buflen); 110 if (vst->index >= 0 && statidx < vst->nelems) in vmm_stat_array_incr() 111 stats[vst->index + statidx] += x; in vmm_stat_array_incr() 124 if (vst->index >= 0 && statidx < vst->nelems) in vmm_stat_array_set() 125 stats[vst->index + statidx] = val; in vmm_stat_array_set()
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | procmap.c | 67 static int sortentry(int index); 288 sortentry(int index) in sortentry() argument 295 if (index == 0) in sortentry() 297 else if (index < 0) { in sortentry() 307 ept = eptlist[index]; in sortentry() 310 if (strcmp(ept->path, eptlist[index-1]->path) > 0) { in sortentry() 312 last = index-1; in sortentry() 317 upper = index; /* upper bound */ in sortentry() 335 (void) ar_delete(space, index); in sortentry() 356 for (j = index; j > i; j--) in sortentry()
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_crc32.c | 113 int index; in efx_crc32_calculate() local 116 for (index = 0; index < length; index++) { in efx_crc32_calculate()
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasGetDiscoveredPortAttributes.c | 46 int index; in Sun_sasGetDiscoveredPortAttributes() local 56 index = RetrieveIndex(handle); in Sun_sasGetDiscoveredPortAttributes() 58 hba_ptr = RetrieveHandle(index); in Sun_sasGetDiscoveredPortAttributes() 83 " index %d contains no port data", hba_ptr->index); in Sun_sasGetDiscoveredPortAttributes() 92 if (hba_port_ptr->index == port) { in Sun_sasGetDiscoveredPortAttributes() 111 if (hba_disco_port->index == discoveredport) { in Sun_sasGetDiscoveredPortAttributes()
|
/illumos-gate/usr/src/uts/common/kiconv/kiconv_ja/ |
H A D | kiconv_ja.c | 371 index = (ic2 - 0xa1); in _do_kiconv_fr_eucjp() 391 [index]; in _do_kiconv_fr_eucjp() 579 index = (ic2 - 0xa1); in _do_kiconvstr_fr_eucjp() 612 [index]; in _do_kiconvstr_fr_eucjp() 852 index = ((ic1 - 0x21) * 94) in _do_kiconv_fr_sjis() 870 index = ((ic1 - 0x21) * 94) in _do_kiconv_fr_sjis() 916 [index]; in _do_kiconv_fr_sjis() 936 [index]; in _do_kiconv_fr_sjis() 1202 index = ((ic1 - 0x21) * 94) in _do_kiconvstr_fr_sjis() 1265 [index]; in _do_kiconvstr_fr_sjis() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libsum/ |
H A D | sum-md5.c | 274 unsigned int index; in md5_block() local 278 index = (unsigned int)((context->count[0] >> 3) & 0x3f); in md5_block() 284 partLen = 64 - index; in md5_block() 289 memcpy(&context->buffer[index], input, partLen); in md5_block() 293 index = 0; in md5_block() 299 memcpy(&context->buffer[index], &input[i], inputLen - i); in md5_block() 309 unsigned int index; in md5_done() local 316 index = (unsigned int)((context->count[0] >> 3) & 0x3f); in md5_done() 317 padLen = (index < 56) ? (56 - index) : (120 - index); in md5_done() 327 for (index = 0; index < elementsof(context->digest); index++) in md5_done() [all …]
|
/illumos-gate/usr/src/lib/libcmdutils/common/ |
H A D | nicenum.c | 46 int index = 0; in nicenum_scale() local 76 while (index < INDEX_MAX) { in nicenum_scale() 87 index++; in nicenum_scale() 90 u = " KMGTPE"[index]; in nicenum_scale() 92 if (index == 0) { in nicenum_scale()
|
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/ |
H A D | sun_solaris_vartree002.sh | 54 typeset index 66 for index in "${!srcdata.hashnodes[@]}" ; do 67 nameref node=srcdata.hashnodes["${index}"] 106 … add_tree_leaf dest_tree.l1["$a"].l2["$b"].l3["$c"].entries[${new_index}] "${index}" "${tree_mode}" 121 typeset index 133 for index in "${!srcdata.hashnodes[@]}" ; do 134 nameref node=srcdata.hashnodes["${index}"] 173 … add_tree_leaf dest_tree.l1["$a"].l2["$b"].l3["$c"].entries[${new_index}] "${index}" "${tree_mode}"
|
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vexpf.c | 182 #define PREPROCESS(N, index, label) \ argument 194 y[index] = fx * fx; \ 197 y[index] = (sign) ? 0.0f : fx; \ 202 y[index] = fx * fx; \ 210 #define PREPROCESS(N, index, label) \ argument 222 y[index] = fx * fx; \ 225 y[index] = (sign) ? 0.0f : fx; \ 229 y[index] = fx * fx; \
|
/illumos-gate/usr/src/lib/fm/libfmd_msg/common/ |
H A D | fmd_msg_test.out | 30 code TEST-8000-08 item 5 = <<Variable expansion for arrays: index = %<test_arr[1].index>>> 39 REC-ACTION: Variable expansion for arrays: index = %<test_arr[1].index> 46 code TEST-8000-08 item 5 = <<Variable expansion for arrays: index = 1>> 55 REC-ACTION: Variable expansion for arrays: index = 1 64 REC-ACTION: Variable expansion for arrays: index = 1 71 code TEST-8000-08 item 5 = <<Variable expansion for arrays: index = %<test_arr[1].index>>> 80 REC-ACTION: Variable expansion for arrays: index = %<test_arr[1].index> 87 code TEST-8000-08 item 5 = <<Variable expansion for arrays: index = 1>> 96 REC-ACTION: Variable expansion for arrays: index = 1 105 REC-ACTION: Variable expansion for arrays: index = 1
|
/illumos-gate/usr/src/uts/common/kiconv/kiconv_ko/ |
H A D | kiconv_ko.c | 467 size_t index; in utf8_to_ko() local 484 index = 1; in utf8_to_ko() 486 index = kiconv_binsearch(utf8, table, nitems); in utf8_to_ko() 487 kocode = table[index].value; in utf8_to_ko() 497 if (index == 0) in utf8_to_ko() 538 size_t index; in ko_to_utf8() local 553 index = 1; in ko_to_utf8() 556 u8 = table[index].u8; in ko_to_utf8() 566 if (index == 0) in ko_to_utf8() 569 for (index = 0; index < sz; index++) in ko_to_utf8() [all …]
|
/illumos-gate/usr/src/uts/intel/io/dnet/ |
H A D | dnet.c | 1080 hashp[ index / 16 ] |= 1 << (index % 16); in dnet_m_unicst() 1083 hashp[ index / 16 ] |= 1 << (index % 16); in dnet_m_unicst() 1107 hashp[ index / 16 ] |= 1 << (index % 16); in dnet_m_multicst() 1113 hashp[ index / 16 ] &= ~ (1 << (index % 16)); in dnet_m_multicst() 1267 #define PrevTXIndex(index) (((index)-1) < 0 ? dnetp->max_tx_desc - 1: (index)-1) argument 1399 index = NextTXIndex(index); /* goto next desc */ in dnet_send() 1455 for (index = end_index; index != start_index; in dnet_send() 1456 index = PrevTXIndex(index)) in dnet_send() 1650 index = (index+1) % dnetp->max_rx_desc; in dnet_getp() 1674 index = (index + 1) % dnetp->max_rx_desc; in dnet_getp() [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | l2_dbg.c | 412 u8_t index; in dbg_sb_ints_test_suite() local 427 for(index = 0; index < MAX_RSS_CHAINS; index++) in dbg_sb_ints_test_suite() 429 dbg_sb_dpc(pdev, index); in dbg_sb_ints_test_suite() 434 for(index = 0; index <= MAX_RSS_CHAINS; index++) in dbg_sb_ints_test_suite() 437 if((index % 2) || (index == MAX_RSS_CHAINS)) in dbg_sb_ints_test_suite() 439 dbg_change_sb_index(pdev, index); in dbg_sb_ints_test_suite()
|
/illumos-gate/usr/src/lib/libmvec/common/vis/ |
H A D | __vatan.S | 41 ! int index, sign, intf, intz; 81 ! index = 2; 82 ! f = __vlibm_TBL_atan1[index] + __vlibm_TBL_atan1[index+1];/* pi/2 up + pi/2 low */ 88 ! index = 0; /* points to 0,0 in table */ 100 ! index += 4; /* skip over 0,0,pi/2,pi/2 */ 254 add %o3,4,%o1 !index = index + 4 258 /*17*/ sll %o1,3,%l3 !index0 = index 340 add %o3,4,%o1 !index = index + 4 344 /*41*/sll %o1,3,%l4 !index1 = index 420 add %o3,4,%o1 !index = index + 4 [all …]
|