/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | sunwmove.c | 38 Aliste idx; in make_mvsections() local 47 for (APLIST_TRAVERSE(ofl->ofl_parsyms, idx, sdp)) { in make_mvsections() 101 Aliste idx; in append_move_desc() local 114 for (ALIST_TRAVERSE(sdp->sd_move, idx, omdp)) { in append_move_desc() 171 Aliste idx; in ld_process_move() local 175 for (APLIST_TRAVERSE(ofl->ofl_ismove, idx, isp)) { in ld_process_move()
|
H A D | ldmain.c | 245 Aliste idx; in ld_main() local 248 for (APLIST_TRAVERSE(lib_support, idx, lib)) { in ld_main() 515 Aliste idx; in ifl_list_cleanup() local 518 for (APLIST_TRAVERSE(apl, idx, ifl)) { in ifl_list_cleanup() 532 Aliste idx; in ld_ofl_cleanup() local 539 for (APLIST_TRAVERSE(ofl->ofl_ars, idx, adp)) { in ld_ofl_cleanup()
|
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_gld.c | 119 int idx, rc = 0; in BnxeMacStats() local 174 LM_FOREACH_TSS_IDX(pLM, idx) in BnxeMacStats() 747 u32_t idx = pTxQ->idx; in BnxeTxRingSend() local 898 int idx; in BnxeMacResources() local 908 pUM->macRxResourceHandles[idx] = in BnxeMacResources() 1484 u32_t idx = pRxQ->idx; in BnxeRxRingPoll() local 1504 BNXE_LOCK_ENTER_INTR(pUM, idx); in BnxeRxRingPoll() 1520 BNXE_LOCK_EXIT_INTR(pUM, idx); in BnxeRxRingPoll() 1534 u32_t idx = pRxQ->idx; in BnxeRxRingStart() local 1538 BNXE_LOCK_ENTER_RX(pUM, idx); in BnxeRxRingStart() [all …]
|
H A D | bnxe_mm_l4.c | 67 void MM_ACQUIRE_TOE_GRQ_LOCK_DPC(lm_device_t *pdev, u8_t idx) in MM_ACQUIRE_TOE_GRQ_LOCK_DPC() argument 73 void MM_RELEASE_TOE_GRQ_LOCK_DPC(lm_device_t *pdev, u8_t idx) in MM_RELEASE_TOE_GRQ_LOCK_DPC() argument 79 void MM_ACQUIRE_TOE_GRQ_LOCK(lm_device_t *pdev, u8_t idx) in MM_ACQUIRE_TOE_GRQ_LOCK() argument 85 void MM_RELEASE_TOE_GRQ_LOCK(lm_device_t *pdev, u8_t idx) in MM_RELEASE_TOE_GRQ_LOCK() argument
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | zfs_fuid.h | 58 #define FUID_ENCODE(idx, rid) (((uint64_t)(idx) << 32) | (rid)) argument 121 extern const char *zfs_fuid_find_by_idx(zfsvfs_t *zfsvfs, uint32_t idx);
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | dict.c | 100 uu_list_index_t idx; in dict_insert() local 109 &idx)) != NULL) { in dict_insert() 122 uu_list_insert(dictionary->dict_list, entry, idx); in dict_insert()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/fctl/ |
H A D | fctl.c | 435 int idx; in fcport() local 507 for (idx = 0; idx < 16; idx++) { in fcport() 508 if (port.fp_ip_addr[idx] != 0) in fcport() 512 if (idx != 16) { in fcport() 530 for (idx = 0; idx < 8; idx++) { in fcport() 531 if (port.fp_fc4_types[idx] != 0) { in fcport() 534 port.fp_fc4_types[idx]); in fcport() 538 port.fp_fc4_types[idx]); in fcport() 809 int idx; in remote_port() local
|
/illumos-gate/usr/src/uts/intel/io/viona/ |
H A D | viona_main.c | 969 viona_ioc_ring_reset(viona_link_t *link, uint_t idx) in viona_ioc_ring_reset() argument 973 if (idx >= VIONA_VQ_MAX) { in viona_ioc_ring_reset() 976 ring = &link->l_vrings[idx]; in viona_ioc_ring_reset() 982 viona_ioc_ring_kick(viona_link_t *link, uint_t idx) in viona_ioc_ring_kick() argument 987 if (idx >= VIONA_VQ_MAX) { in viona_ioc_ring_kick() 990 ring = &link->l_vrings[idx]; in viona_ioc_ring_kick() 1018 viona_ioc_ring_pause(viona_link_t *link, uint_t idx) in viona_ioc_ring_pause() argument 1020 if (idx >= VIONA_VQ_MAX) { in viona_ioc_ring_pause() 1024 viona_vring_t *ring = &link->l_vrings[idx]; in viona_ioc_ring_pause() 1128 if (idx >= VIONA_VQ_MAX) { in viona_ioc_ring_intr_clear() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/emlxs/ |
H A D | emlxs.c | 87 uint32_t idx; in emlxs_msgbuf() local 188 idx = log.next; in emlxs_msgbuf() 192 idx = 0; in emlxs_msgbuf() 203 (uintptr_t)&log.entry[idx]) != sizeof (emlxs_msg_entry_t)) { in emlxs_msgbuf() 205 idx, count); in emlxs_msgbuf() 212 idx, count); in emlxs_msgbuf() 306 if (++idx >= log.size) { in emlxs_msgbuf() 307 idx = 0; in emlxs_msgbuf()
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_l2t.c | 193 int idx = e->idx + sc->vres.l2t.start; in write_l2e() local 205 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_L2T_WRITE_REQ, idx | in write_l2e() 208 req->l2t_idx = htons(idx); in write_l2e() 245 d->l2tab[i].idx = i; in t4_init_l2t() 421 d = __containerof(e, struct l2t_data, l2tab[e->idx]); in t4_l2e_free() 440 unsigned int idx = tid % L2T_SIZE; in do_l2t_write_rpl() local 445 rpl->status, idx); in do_l2t_write_rpl()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rexecd.c | 176 int idx = 0, end_env = 0; in doit() local 445 while (pam_env[idx] != 0) { in doit() 446 if (idx < PAM_ENV_ELIM && in doit() 447 legalenvvar(pam_env[idx])) { in doit() 448 envinit[end_env + idx] = pam_env[idx]; in doit() 450 idx++; in doit()
|
/illumos-gate/usr/src/uts/common/io/vscan/ |
H A D | vscan_drv.c | 670 vscan_drv_create_node(int idx) in vscan_drv_create_node() argument 677 if (vscan_drv_inst_state[idx] == VS_DRV_INST_UNCONFIG) { in vscan_drv_create_node() 678 (void) snprintf(name, VS_NODENAME_LEN, "vscan%d", idx); in vscan_drv_create_node() 680 S_IFCHR, idx, DDI_PSEUDO, 0) == DDI_SUCCESS) { in vscan_drv_create_node() 681 vscan_drv_inst_state[idx] = VS_DRV_INST_INIT; in vscan_drv_create_node() 685 DTRACE_PROBE2(vscan__minor__node, int, idx, int, rc); in vscan_drv_create_node()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | atexit.c | 378 uint_t idx; in in_range() local 380 for (idx = 0; idx < count; idx++) { in in_range() 381 if (addr >= ranges[idx].lb && in in_range() 382 addr < ranges[idx].ub) { in in_range()
|
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr_io.c | 365 int refcount = 0, idx = 0; in dr_io_status() local 374 &idx, SBD_MAX_UNSAFE, NULL); in dr_io_status() 375 while (idx > 0) { in dr_io_status() 376 isp->is_unsafe_list[idx-1] = unsafe_devs[idx-1]; in dr_io_status() 377 --idx; in dr_io_status()
|
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_io.c | 387 int refcount = 0, idx = 0; in dr_io_status() local 396 &idx, SBD_MAX_UNSAFE, NULL); in dr_io_status() 397 while (idx > 0) { in dr_io_status() 398 isp->is_unsafe_list[idx-1] = unsafe_devs[idx-1]; in dr_io_status() 399 --idx; in dr_io_status()
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | cpr_sparc.c | 62 #define CPR_PROP_PTR(dfp, idx) &(dfp)->props[idx] argument 331 static int idx; in cpr_spinning_bar() local 333 prom_printf(spin_strings[idx]); in cpr_spinning_bar() 334 if (++idx == 4) in cpr_spinning_bar() 335 idx = 0; in cpr_spinning_bar()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | rdsv3_af_thr.c | 80 int i, j, k, idx; in rdsv3_af_cpu_assign() local 122 for (k = 0, idx = 0; k < 2; k++) { in rdsv3_af_cpu_assign() 124 for (i = idx; i < rdsv3_cpuid_pool_cnt; i++) { in rdsv3_af_cpu_assign() 126 idx = i + 1; in rdsv3_af_cpu_assign() 133 for (i = idx; i < rdsv3_cpuid_pool_cnt; i++) { in rdsv3_af_cpu_assign() 137 idx = i + 1; in rdsv3_af_cpu_assign()
|
/illumos-gate/usr/src/uts/common/xen/public/io/ |
H A D | console.h | 32 #define MASK_XENCONS_IDX(idx, ring) ((idx) & (sizeof(ring)-1)) argument
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ |
H A D | ecore_init.h | 214 static __inline u32 ecore_parity_reg_mask(struct _lm_device_t *pdev, int idx) in ecore_parity_reg_mask() argument 217 return ecore_blocks_parity_data[idx].reg_mask.e1; in ecore_parity_reg_mask() 219 return ecore_blocks_parity_data[idx].reg_mask.e1h; in ecore_parity_reg_mask() 221 return ecore_blocks_parity_data[idx].reg_mask.e2; in ecore_parity_reg_mask() 223 return ecore_blocks_parity_data[idx].reg_mask.e3; in ecore_parity_reg_mask()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_mtag_data.c | 272 static int idx; in get_rl_from_mtag_offset() local 301 cached_results[idx].tag = merged; in get_rl_from_mtag_offset() 302 cached_results[idx].rl = db_info.rl; in get_rl_from_mtag_offset() 303 idx = (idx + 1) % ARRAY_SIZE(cached_results); in get_rl_from_mtag_offset()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | virtio.h | 342 vq->vq_avail->idx); in vq_has_descs() 419 unsigned int idx; /* ring index */ member 432 void vq_relchain_prepare(struct vqueue_info *vq, uint16_t idx, 435 void vq_relchain(struct vqueue_info *vq, uint16_t idx, uint32_t iolen);
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vdc.h | 150 #define VDC_GET_DRING_ENTRY_PTR(vdc, idx) \ argument 152 (idx * (vdc)->dring_entry_size)) 154 #define VDC_MARK_DRING_ENTRY_FREE(vdc, idx) \ argument 158 ASSERT(idx < vdc->dring_len); \ 162 (idx * vdc->dring_entry_size)); \
|
/illumos-gate/usr/src/lib/krb5/kadm5/ |
H A D | misc_free.c | 64 int i, idx; local 66 idx = (key->key_data_ver == 1 ? 1 : 2); 67 for (i = 0; i < idx; i++) {
|
/illumos-gate/usr/src/cmd/vscan/vscand/ |
H A D | vs_icap.c | 204 vs_icap_config(int idx, char *host, int port) in vs_icap_config() argument 207 if (vs_icap_compare_se(idx, host, port) != 0) { in vs_icap_config() 208 vs_icap_free_options(&vs_options[idx]); in vs_icap_config() 209 (void) strlcpy(vs_options[idx].vso_host, host, in vs_icap_config() 210 sizeof (vs_options[idx].vso_host)); in vs_icap_config() 211 vs_options[idx].vso_port = port; in vs_icap_config() 1749 vs_icap_compare_se(int idx, char *host, int port) in vs_icap_compare_se() argument 1751 if (vs_options[idx].vso_port != port) in vs_icap_compare_se() 1754 if (strcmp(vs_options[idx].vso_host, host) != 0) in vs_icap_compare_se() 1805 int idx = ctx->vsc_idx; in vs_icap_update_options() local [all …]
|
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/ |
H A D | module.c | 145 uu_avl_index_t idx; in module_lookup_index_nextvalid() local 149 if ((data = uu_avl_find(mod_index_avl, key, NULL, &idx)) != NULL && in module_lookup_index_nextvalid() 153 data = uu_avl_nearest_next(mod_index_avl, idx); in module_lookup_index_nextvalid() 181 uu_avl_index_t idx; in modinfo_update_one() local 205 (void) uu_avl_find(mod_name_avl, data, NULL, &idx); in modinfo_update_one() 206 uu_avl_insert(mod_name_avl, data, idx); in modinfo_update_one() 209 (void) uu_avl_find(mod_index_avl, data, NULL, &idx); in modinfo_update_one() 210 uu_avl_insert(mod_index_avl, data, idx); in modinfo_update_one()
|