/illumos-gate/usr/src/lib/pyzfs/common/ |
H A D | util.py | 117 index = 0; 122 index += 1 124 u = " KMGTPE"[index] 125 if index == 0: 127 elif n >= 100 or num & ((1024*index)-1) == 0: 135 s = "%.*f%c" % (i, float(num) / (1<<(10*index)), u)
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | wctomb.c | 42 int size, index; in _curs_wctomb() local 72 if ((index = size) <= 0) in _curs_wctomb() 74 while (index--) { in _curs_wctomb() 80 s[index] = d; in _curs_wctomb()
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_page.c | 744 ulong_t index; in page_lookup_create() local 953 ulong_t index; in page_lookup_nowait() local 1021 ulong_t index; in page_find() local 1048 ulong_t index; in page_exists() local 1081 ulong_t index; in page_exists_physcontig() local 1318 ulong_t index; in page_exists_forreal() local 6084 index++; in build_pfn_hash() 6368 int index; in page_capture_move_to_walked() local 6419 int index; in page_capture_add_hash() local 6789 int index; in page_capture_take_action() local [all …]
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasGetAdapterName.c | 41 Sun_sasGetAdapterName(HBA_UINT32 index, char *name) in Sun_sasGetAdapterName() argument 53 if (hba_ptr->index == index) { in Sun_sasGetAdapterName() 69 "Unable to find adapter index %d.", index); in Sun_sasGetAdapterName()
|
/illumos-gate/usr/src/cmd/power/ |
H A D | sysstat.c | 428 int index; in nfs_load() local 448 for (index = 0; index < nfs_client2_kstat->ks_ndata; index++) { in nfs_load() 449 total_calls += kstat_ptr[index].value.ui64; in nfs_load() 461 for (index = 0; index < nfs_client3_kstat->ks_ndata; index++) { in nfs_load() 462 total_calls += kstat_ptr[index].value.ui64; in nfs_load() 477 for (index = 0; index < nfs_server2_kstat->ks_ndata; index++) { in nfs_load() 478 total_calls += kstat_ptr[index].value.ui64; in nfs_load() 490 for (index = 0; index < nfs_server3_kstat->ks_ndata; index++) { in nfs_load() 491 total_calls += kstat_ptr[index].value.ui64; in nfs_load()
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | tidbit.c | 331 register int index = pp - boolnames; local 338 if (index >= pt->nbools) 341 ip = pt->boolean_offset + index; 350 register int index = pp - numnames; local 357 if (index >= pt->nints) 360 ip = pt->number_offset + index * 2; 371 register int index = pp - strnames; local 381 if (index >= pt->nstrs) 384 ip = pt->string_offset + index * 2;
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_filter.c | 623 return ((sftp->sft_bitmap[index / 32] & (1 << (index % 32))) != 0); in siena_filter_test_used() 632 sftp->sft_bitmap[index / 32] |= (1 << (index % 32)); in siena_filter_set_used() 642 sftp->sft_bitmap[index / 32] &= ~(1 << (index % 32)); in siena_filter_clear_used() 889 __in int index, in siena_filter_push_entry() argument 1004 __in int index) in siena_filter_clear_entry() argument 1014 index, &filter); in siena_filter_clear_entry() 1028 int index; in siena_filter_tbl_clear() local 1033 for (index = 0; index < sftp->sft_size; ++index) { in siena_filter_tbl_clear() 1357 int index = 0; in siena_filter_supported_filters() local 1366 rx_matches[index++] = in siena_filter_supported_filters() [all …]
|
/illumos-gate/usr/src/cmd/ast/libast/sparc/ |
H A D | lc.h | 40 unsigned long index; member 48 unsigned long index; member 58 unsigned long index; member 67 unsigned long index; member 98 unsigned long index; member
|
/illumos-gate/usr/src/cmd/ast/libast/amd64/ |
H A D | lc.h | 40 unsigned long index; member 48 unsigned long index; member 58 unsigned long index; member 67 unsigned long index; member 98 unsigned long index; member
|
/illumos-gate/usr/src/cmd/ast/libast/i386/ |
H A D | lc.h | 40 unsigned long index; member 48 unsigned long index; member 58 unsigned long index; member 67 unsigned long index; member 98 unsigned long index; member
|
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/ |
H A D | lc.h | 40 unsigned long index; member 48 unsigned long index; member 58 unsigned long index; member 67 unsigned long index; member 98 unsigned long index; member
|
/illumos-gate/usr/src/common/mc/imc/ |
H A D | imc_decode.c | 425 uint64_t index; in imc_decode_tad_channel() local 428 index = dec->ids_pa >> 6; in imc_decode_tad_channel() 430 index = index >> 1; in imc_decode_tad_channel() 437 index = index / rule->itr_sock_way; in imc_decode_tad_channel() 443 index ^= shift; in imc_decode_tad_channel() 447 index %= rule->itr_chan_way; in imc_decode_tad_channel() 448 if (index >= rule->itr_ntargets) { in imc_decode_tad_channel() 450 dec->ids_fail_data = index; in imc_decode_tad_channel() 617 uint32_t shift, index; in imc_decode_rir() local 650 if (index >= rir->irle_nentries) { in imc_decode_rir() [all …]
|
/illumos-gate/usr/src/lib/iconv_modules/zh/common/ |
H A D | zh_CN.gbk%zh_HK.hkscs.c | 230 int index; in gbk_to_hkscs() local 239 index = binsearch(gbk_val, gbk_hkscs_tab, GBKMAX); in gbk_to_hkscs() 240 if (index >= 0) { in gbk_to_hkscs() 241 hkscs_val = gbk_hkscs_tab[index].value; in gbk_to_hkscs() 252 int index; in gbk4_to_hkscs() local 262 index = binsearch(gbk_val, gbk4_hkscs_tab, GBK4MAX); in gbk4_to_hkscs() 263 if (index >= 0) { in gbk4_to_hkscs() 264 hkscs_val = gbk4_hkscs_tab[index].value; in gbk4_to_hkscs()
|
/illumos-gate/usr/src/uts/sun4/io/fpc/ |
H A D | fpc-impl.c | 152 *fpc_get_dev_name_by_number(int index) in fpc_get_dev_name_by_number() argument 154 return (node_data[index].name); in fpc_get_dev_name_by_number() 158 fpc_get_platform_data_by_number(int index) in fpc_get_platform_data_by_number() argument 160 return (node_data[index].plat_data_p); in fpc_get_platform_data_by_number() 165 fpc_set_platform_data_by_number(int index, void *data_p) in fpc_set_platform_data_by_number() argument 167 node_data[index].plat_data_p = data_p; in fpc_set_platform_data_by_number() 173 fpc_get_mutex_by_number(int index, kmutex_t **mutex_pp) in fpc_get_mutex_by_number() argument 175 *mutex_pp = &node_data[index].mutex; in fpc_get_mutex_by_number()
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_search.c | 84 t->bt_cur.index = idx = base + (lim >> 1); 118 t->bt_cur.index = base; 170 e.index = 0; 190 if (parent->index != NEXTINDEX(h) - 1) { 191 idx = parent->index + 1; 250 e.index = NEXTINDEX(e.page) - 1; 271 if (parent->index != 0) { 272 idx = parent->index - 1;
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | memcache.c | 200 int index); 1306 pRes->ldmemcr_prev[index]->ldmemcr_next[index] = 1310 pRes->ldmemcr_next[index]->ldmemcr_prev[index] = 1314 cache->ldmemc_resHead[index] = pRes->ldmemcr_next[index]; 1317 cache->ldmemc_resTail[index] = pRes->ldmemcr_prev[index]; 1330 cache->ldmemc_resHead[index]->ldmemcr_prev[index] = pRes; 1335 pRes->ldmemcr_next[index] = cache->ldmemc_resHead[index]; 1741 if (index >= 0 && index < pTable->size) 1755 if (index >= 0 && index < pTable->size) 1767 if (index >= 0 && index < pTable->size) [all …]
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_lock.c | 1367 return (index); in get_pid_index() 1386 return (index); in get_pid_index() 1395 int fd, index; in add_to_polling_list() local 1412 if (index != -1) { in add_to_polling_list() 1413 polllist.refcnt[index]++; in add_to_polling_list() 1424 if (index != -1) { in add_to_polling_list() 1425 polllist.refcnt[index]++; in add_to_polling_list() 1442 index = get_pid_index(); in add_to_polling_list() 1461 int i, index; in remove_from_polling_list() local 1477 if (index == -1) { in remove_from_polling_list() [all …]
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | multi.awk.sh | 52 } else if (index(namelist[$1], $i) == 0) { 73 } else if (index(addr[$i], $1) == 0) { 86 if (index(addr[host], ",") == 0) 99 if (index(namelist[addr[host]], tmpname[j]) == 0) { 121 if (index(addr[host], ",")) {
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/data/ |
H A D | bash_pre_rc.sh | 84 integer index 85 index=_push_max-.sh.subscript 86 (( index == _push_max || index < _push_top )) && return 87 _push_stack[index]=${.sh.value}
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_txdma.c | 1051 int index, ndmas; in hxge_fixup_txdma_rings() local 1084 for (index = 0; index < ndmas; index++) { in hxge_fixup_txdma_rings() 1182 for (index = 0; index < ndmas; index++) { in hxge_txdma_hw_kick() 1281 for (index = 0; index < ndmas; index++) { in hxge_txdma_hung() 1382 for (index = 0; index < ndmas; index++) { in hxge_fixup_hung_txdma_rings() 1502 for (index = 0; index < ndmas; index++) { in hxge_reclaim_rings() 1950 index = 0; in hxge_map_txdma_channel_buf_ring() 1993 index--; in hxge_map_txdma_channel_buf_ring() 1994 for (; index >= 0; index--) { in hxge_map_txdma_channel_buf_ring() 2436 for (index = 0; index < ndmas; index++) { in hxge_txdma_get_ring() [all …]
|
/illumos-gate/usr/src/lib/mpapi/libmpapi/common/ |
H A D | mpapi-sun.c | 48 MP_UINT32 index; in Sun_MP_SendScsiCmd() local 58 index = pathOid.ownerId - 1; in Sun_MP_SendScsiCmd() 59 if (plugintable[index].hdlPlugin != NULL) { in Sun_MP_SendScsiCmd() 61 dlsym(plugintable[index].hdlPlugin, in Sun_MP_SendScsiCmd()
|
/illumos-gate/usr/src/lib/libgss/ |
H A D | oid_ops.c | 334 int index; local 435 index = -1; 437 op[index] = (unsigned char) 439 if (index != -1) 440 op[index] |= 0x80; 441 index--; 489 OM_uint32 index; in gss_copy_oid_set() local 515 for (index = 0; index < copy->count; index++) { in gss_copy_oid_set() 516 gss_OID_desc *out = ©->elements[index]; in gss_copy_oid_set() 517 gss_OID_desc *in = &oidset->elements[index]; in gss_copy_oid_set()
|
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | sym.msg | 36 @ MSG_ARG_SECNDX "symbol section index" 63 normally go in extended index section: %d\n" 98 @ MSG_DESC_ST_SHNDX "Symbol section index" 108 Force the use of the extended index section to hold the\n\ 114 specified index.\n" 169 If -secshndx is set, then sec is a section index,\n\ 237 the specified index is set to the given value.\n" 251 the specified index is set to the given value.\n\ 279 the specified index is set to the given value.\n" 295 the specified index is set to the given value.\n\ [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_init.c | 1131 for (index = 0; index < 8; index++) { in ql_nvram_24xx_config() 1139 for (index = 0; index < 8; index++) { in ql_nvram_24xx_config() 2713 for (index = 0; index < ha->osc_max_cnt; index++) { in ql_init_rings() 2741 for (index = 0; index < ha->max_vports; index++) { in ql_init_rings() 2765 for (index = 0; index < 2; index++) { in ql_init_rings() 3102 for (index = 0; index < DEVICE_HEAD_LIST_SIZE; index++) { in ql_configure_n_port_info() 3496 for (index = 0; index < DEVICE_HEAD_LIST_SIZE; index++) { in ql_configure_device_d_id() 3521 for (index = 0; index < mr.mb[1]; index++) { in ql_configure_device_d_id() 3588 for (index = 0; index < DEVICE_HEAD_LIST_SIZE; index++) { in ql_configure_device_d_id() 4105 for (index = 100; index && in ql_abort_isp() [all …]
|
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/ |
H A D | resource.c | 75 key_build(const char *fmri, const ulong_t index) in key_build() argument 79 key.d_index = index; in key_build() 114 key = key_build(NULL, index); in resource_lookup_index_exact() 131 key = key_build(NULL, index); in resource_lookup_index_nextvalid() 479 ulong_t index; in sunFmResourceTable_nextrsrc() local 486 index = 1; in sunFmResourceTable_nextrsrc() 491 (uchar_t *)&index, sizeof (index)); in sunFmResourceTable_nextrsrc() 506 index = *var->val.integer; in sunFmResourceTable_nextrsrc() 510 index++; in sunFmResourceTable_nextrsrc() 527 index = 1; in sunFmResourceTable_nextrsrc() [all …]
|