/illumos-gate/usr/src/lib/libshare/nfs/ |
H A D | libshare_nfs.c | 2436 uint_t index; member 2688 VERIFY3S(proto_options[index].index, ==, index); in range_check_validator_value() 2773 switch (index) { in range_check_validator_client() 2812 VERIFY3S(proto_options[index].index, ==, index); in range_check_validator_server() 2819 switch (index) { in range_check_validator_server() 2848 VERIFY3S(proto_options[index].index, ==, index); in onoff_validator() 2865 VERIFY3S(proto_options[index].index, ==, index); in domain_validator() 2902 VERIFY3S(proto_options[index].index, ==, index); in boolean_validator() 2917 VERIFY3S(proto_options[index].index, ==, index); in protocol_validator() 3000 int index; in extractprop() local [all …]
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | obj_mgr.c | 1753 CK_ULONG index; in object_mgr_set_attribute_values() local 1902 CK_ULONG index; in object_mgr_check_shm() local 1940 CK_ULONG *index) in object_mgr_search_shm_for_obj() argument 1946 *index = idx; in object_mgr_search_shm_for_obj() 1953 *index = obj->index; in object_mgr_search_shm_for_obj() 1982 index = 0; in object_mgr_update_publ_tok_obj_from_shm() 2018 index++; in object_mgr_update_publ_tok_obj_from_shm() 2037 index++; in object_mgr_update_publ_tok_obj_from_shm() 2093 index = 0; in object_mgr_update_priv_tok_obj_from_shm() 2126 index++; in object_mgr_update_priv_tok_obj_from_shm() [all …]
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | filesys_rcm.c | 225 uint32_t index; in mnt_unregister() local 236 for (index = 0; index < mnt_cache->hash_size; index++) { in mnt_unregister() 785 uint32_t index; in free_cache() local 795 for (index = 0; index < (*cachep)->hash_size; index++) { in free_cache() 862 uint32_t index; in cache_sync() local 902 for (index = 0; index < new_cache->hash_size; index++) { in cache_sync() 923 for (index = 0; index < old_cache->hash_size; index++) { in cache_sync() 952 uint32_t index; in cache_insert() local 1004 for (index = 0; index < entry->n_mounts; index++) { in cache_insert() 1047 uint32_t index; in cache_lookup() local [all …]
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasGetPortType.c | 40 int index; in Sun_sasGetPortType() local 51 index = RetrieveIndex(handle); in Sun_sasGetPortType() 53 hba_ptr = RetrieveHandle(index); in Sun_sasGetPortType() 71 "no port data", hba_ptr->index); in Sun_sasGetPortType() 80 if (hba_port_ptr->index == port) { in Sun_sasGetPortType() 85 if (hba_port_ptr == NULL || hba_port_ptr->index != port) { in Sun_sasGetPortType()
|
H A D | Sun_sasGetAdapterPortAttributes.c | 42 int index; in Sun_sasGetAdapterPortAttributes() local 52 index = RetrieveIndex(handle); in Sun_sasGetAdapterPortAttributes() 54 hba_ptr = RetrieveHandle(index); in Sun_sasGetAdapterPortAttributes() 78 " index %d contains no port data", hba_ptr->index); in Sun_sasGetAdapterPortAttributes() 86 if (hba_port_ptr->index == port) { in Sun_sasGetAdapterPortAttributes() 90 if (hba_port_ptr == NULL || hba_port_ptr->index != port) { in Sun_sasGetAdapterPortAttributes()
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/ |
H A D | fsdb_yacc.y | 711 index = 2; 714 index = 2; 717 index = 1; 720 index = 0; 727 for ( ; index < length; index++) { 729 if ((str[index] < '0') || 730 (str[index] > '7')) { 739 (str[index] > '9' )) { 748 (str[index] <= '9')) { 751 (str[index] <= 'f')) { [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | env.c | 36 int index; member 105 vp->index = (n<<ENV_BITS) | (vp->index&((1<<ENV_BITS)-1)); in env_get() 129 if(vp->index&ENV_PMALLOC) in env_add() 133 ep->env[vp->index>>ENV_BITS] = vp->un.ptr; in env_add() 142 vp->index = ENV_VMALLOC; in env_add() 154 vp->index |= ENV_PMALLOC; in env_add() 156 vp->index &= ~ENV_PMALLOC; in env_add() 172 if(vp->index&ENV_PMALLOC) in env_delete() 212 vp->index = ENV_VMALLOC; in env_open() 243 if(vp->index&ENV_VMALLOC) in env_close()
|
/illumos-gate/usr/src/lib/libzutil/common/ |
H A D | zutil_nicenum.c | 53 int index = 0; in zfs_nicenum_format() local 82 while (n >= k_unit[format] && index < units_len[format]) { in zfs_nicenum_format() 84 index++; in zfs_nicenum_format() 87 u = units[format][index]; in zfs_nicenum_format() 92 } else if ((index == 0) || ((num % in zfs_nicenum_format() 93 (uint64_t)powl(k_unit[format], index)) == 0)) { in zfs_nicenum_format() 113 (uint64_t)powl(k_unit[format], index); in zfs_nicenum_format()
|
/illumos-gate/usr/src/lib/libgss/ |
H A D | g_rel_oid_set.c | 43 OM_uint32 index; local 54 for (index = 0; index < (*set)->count; index++) { 55 oid = &(*set)->elements[index];
|
/illumos-gate/usr/src/uts/common/io/dmfe/ |
H A D | dmfe_main.c | 619 int index; in dmfe_getp() local 761 index = NEXT(index, dmfep->rx.n_desc); in dmfe_getp() 897 int bit = index % NBBY; in dmfe_update_tx_stats() 1011 uint32_t index; in dmfe_send_msg() local 1208 uint32_t index; in dmfe_hash_index() local 1231 return (index); in dmfe_hash_index() 1265 uint32_t index; in dmfe_update_mcast() local 1320 int index; in dmfe_m_unicst() local 1377 for (index = 0; index < ETHERADDRL; index += 2) in dmfe_m_unicst() 1379 (macaddr[index+1] << 8) | macaddr[index]); in dmfe_m_unicst() [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_find.c | 220 uint16_t count, maxcount, index; in smb_com_search() local 323 odir_resume.or_idx = index; in smb_com_search() 331 index = 0; in smb_com_search() 361 index++; in smb_com_search() 412 uint16_t count, maxcount, index; in smb_com_find() local 479 odir_resume.or_idx = index; in smb_com_find() 487 index = 0; in smb_com_find() 515 index++; in smb_com_find() 566 uint16_t maxcount, index; in smb_com_find_close() local 678 index = 0; in smb_com_find_unique() [all …]
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | Sun_fcAdapterCreateWWN.cc | 59 int index = 0; in Sun_fcAdapterCreateWWN() local 76 randomwwn.wwn[index++] = 0x0; in Sun_fcAdapterCreateWWN() 77 randomwwn.wwn[index++] = 0x0; in Sun_fcAdapterCreateWWN() 78 randomwwn.wwn[index++] = 0x7D; in Sun_fcAdapterCreateWWN() 81 index += 3; in Sun_fcAdapterCreateWWN() 92 memcpy(randomwwn.wwn+index, randombyte, 5); in Sun_fcAdapterCreateWWN()
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_sram.c | 210 unsigned int index; in efx_sram_byte_increment_set() local 214 for (index = 0; index < sizeof (efx_qword_t); index++) in efx_sram_byte_increment_set() 215 eqp->eq_u8[index] = offset + index; in efx_sram_byte_increment_set() 265 unsigned int index; in efx_sram_byte_changing_set() local 267 for (index = 0; index < sizeof (efx_qword_t); index++) { in efx_sram_byte_changing_set() 275 eqp->eq_u8[index] = (negate) ? ~byte : byte; in efx_sram_byte_changing_set()
|
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vatan.c | 53 int index, sign, intf, intflo, intz, argcount; in __vatan() local 101 index = 2; in __vatan() 102 ans = __vlibm_TBL_atan1[index] + __vlibm_TBL_atan1[index+1];/* pi/2 up + pi/2 low */ in __vatan() 112 index = 0; /* points to 0,0 in table */ in __vatan() 115 index = 2; /* point to pi/2 upper, lower */ in __vatan() 123 index = (intz - 0x3f900000) >> 15; /* (index >> 16) << 1) */ in __vatan() 124 index = index + 4; /* skip over 0,0,pi/2,pi/2 */ in __vatan() 277 conup = __vlibm_TBL_atan1[index ]; /* upper table */ in __vatan() 281 conlo = __vlibm_TBL_atan1[index +1]; /* lower table */ in __vatan()
|
/illumos-gate/usr/src/uts/common/io/softmac/ |
H A D | softmac_stat.c | 282 uint_t index; in softmac_m_stat() local 291 for (index = 0; index < SOFTMAC_DRIVER_SI_SZ; index++) { in softmac_m_stat() 292 if (stat == i_softmac_driver_si[index].ssi_stat) { in softmac_m_stat() 293 ssip = &i_softmac_driver_si[index]; in softmac_m_stat() 313 for (index = 0; index < SOFTMAC_ETHER_SI_SZ; index++) { in softmac_m_stat() 315 i_softmac_ether_si[index].ssi_stat) { in softmac_m_stat() 316 ssip = &i_softmac_ether_si[index]; in softmac_m_stat()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | enc_des.c | 514 register int index; in cfb64_encrypt() local 516 index = stp->str_index; in cfb64_encrypt() 518 if (index == sizeof (Block)) { in cfb64_encrypt() 523 index = 0; in cfb64_encrypt() 527 *s = stp->str_output[index] = (stp->str_feed[index] ^ *s); in cfb64_encrypt() 529 index++; in cfb64_encrypt() 531 stp->str_index = index; in cfb64_encrypt() 539 int index; in cfb64_decrypt() local 552 index = stp->str_index++; in cfb64_decrypt() 553 if (index == sizeof (Block)) { in cfb64_decrypt() [all …]
|
/illumos-gate/usr/src/cmd/streams/log/ |
H A D | strace.c | 117 static int index = 1; in getid() local 144 if (index >= ac) in getid() 150 if (strcmp(av[index], "-") == 0) { in getid() 152 index++; in getid() 160 if ((index+2) >= ac) in getid() 163 tp->ti_mid = convarg(av[index++]); in getid() 164 tp->ti_sid = convarg(av[index++]); in getid() 165 tp->ti_level = convarg(av[index++]); in getid()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ipc.c | 720 uint_t index; in ipc_lock_internal() local 726 index = id & (tabsz - 1); in ipc_lock_internal() 734 return (index); in ipc_lock_internal() 743 uint_t index; in ipc_lock() local 787 uint_t index; in ipc_lookup() local 995 int error, index; in ipc_get() local 1115 int index; in ipc_commit_end() local 1130 slot = &service->ipcs_table[index]; in ipc_commit_end() 1193 int index; in ipc_remove() local 1198 index = IPC_INDEX(id); in ipc_remove() [all …]
|
/illumos-gate/usr/src/test/elf-tests/tests/groups/ |
H A D | common.sh | 26 }' | read index 27 if [[ -z $index ]] || (( index <= 0 )); then 31 print $index;
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | vartree2.sh | 44 typeset index 56 for index in "${!srcdata.hashnodes[@]}" ; do 57 nameref node=srcdata.hashnodes["${index}"] 96 … add_tree_leaf dest_tree.l1["$a"].l2["$b"].l3["$c"].entries[${new_index}] "${index}" "${tree_mode}" 111 typeset index 123 for index in "${!srcdata.hashnodes[@]}" ; do 124 nameref node=srcdata.hashnodes["${index}"] 163 … add_tree_leaf dest_tree.l1["$a"].l2["$b"].l3["$c"].entries[${new_index}] "${index}" "${tree_mode}"
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | got.c | 84 char index[INDEX_STR_SIZE]; in Dbg_got_display() local 86 (void) snprintf(index, INDEX_STR_SIZE, MSG_ORIG(MSG_GOT_INDEX), in Dbg_got_display() 110 dbg_print(lml, MSG_INTL(MSG_GOT_FORMAT1), index, in Dbg_got_display() 113 dbg_print(lml, MSG_INTL(MSG_GOT_FORMAT2), index, in Dbg_got_display() 135 char index[INDEX_STR_SIZE]; in Elf_got_entry() local 137 (void) snprintf(index, INDEX_STR_SIZE, MSG_ORIG(MSG_GOT_INDEX), in Elf_got_entry() 165 dbg_print(lml, MSG_INTL(MSG_GOT_ENTRY_RE), index, EC_ADDR(addr), in Elf_got_entry() 168 dbg_print(lml, MSG_INTL(MSG_GOT_ENTRY_NR), index, EC_ADDR(addr), in Elf_got_entry()
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | machthread.h | 58 #define CPU_INDEXTOSET(base, index, scr) \ argument 59 srl index, BT_ULSHIFT, scr; \ 60 and index, BT_ULMASK, index; \ 64 #define CPU_INDEXTOSET(base, index, scr)
|
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/ |
H A D | module.c | 95 key.d_index = index; in key_build() 126 module_lookup_index_exact(const ulong_t index) in module_lookup_index_exact() argument 130 key = key_build(NULL, index); in module_lookup_index_exact() 147 key = key_build(NULL, index); in module_lookup_index_nextvalid() 466 ulong_t index; in sunFmModuleTable_nextmod() local 473 index = 1; in sunFmModuleTable_nextmod() 478 (uchar_t *)&index, sizeof (index)); in sunFmModuleTable_nextmod() 493 index = *var->val.integer; in sunFmModuleTable_nextmod() 497 index++; in sunFmModuleTable_nextmod() 514 index = 1; in sunFmModuleTable_nextmod() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_indirect_mapping.c | 222 uint64_t index; in vdev_indirect_mapping_entry_for_offset_impl() local 224 index = mid; in vdev_indirect_mapping_entry_for_offset_impl() 226 index = mid + 1; in vdev_indirect_mapping_entry_for_offset_impl() 241 &vim->vim_entries[index - 1]), >, 0); in vdev_indirect_mapping_entry_for_offset_impl() 255 &vim->vim_entries[index]), <, 0); in vdev_indirect_mapping_entry_for_offset_impl() 257 &vim->vim_entries[index - 1]) > 0); in vdev_indirect_mapping_entry_for_offset_impl() 259 return (&vim->vim_entries[index]); in vdev_indirect_mapping_entry_for_offset_impl() 504 uint64_t index; in vdev_indirect_mapping_increment_obsolete_count() local 511 index = mapping - vim->vim_entries; in vdev_indirect_mapping_increment_obsolete_count() 523 counts[index] += inner_size; in vdev_indirect_mapping_increment_obsolete_count() [all …]
|
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-mm.c | 130 int index = i*n_items + j; in __hal_mempool_grow() local 136 mempool->items_arr[index] = in __hal_mempool_grow() 148 mempool->items_arr[index], in __hal_mempool_grow() 149 index, in __hal_mempool_grow() 158 index =i*n_items + k; in __hal_mempool_grow() 163 mempool->items_arr[index], in __hal_mempool_grow() 164 index, is_last, in __hal_mempool_grow() 187 mempool->items_current = index + 1; in __hal_mempool_grow() 368 if (index >= mempool->items_current) { in __hal_mempool_destroy() 378 mempool->shadow_items_arr[index], in __hal_mempool_destroy() [all …]
|