Home
last modified time | relevance | path

Searched refs:free_index (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/arch/arm64/kvm/vgic/
H A Dvgic-mmio-v3.c301 if (vgic_cpu->rdreg_index < rdreg->free_index - 1) { in vgic_mmio_vcpu_rdist_is_last()
312 if (iter->base == end && iter->free_index > 0) in vgic_mmio_vcpu_rdist_is_last()
803 vgic_cpu->rdreg_index = rdreg->free_index; in vgic_register_redist_iodev()
805 rd_base = rdreg->base + rdreg->free_index * KVM_VGIC_V3_REDIST_SIZE; in vgic_register_redist_iodev()
822 rdreg->free_index++; in vgic_register_redist_iodev()
935 rdreg->free_index = 0; in vgic_v3_alloc_redist_region()
H A Dvgic.h297 return (region->free_index >= region->count); in vgic_v3_redist_region_full()
/openbmc/linux/drivers/net/ethernet/ibm/
H A Dibmveth.c219 unsigned int free_index, index; in ibmveth_replenish_buffer_pool() local
238 free_index = pool->consumer_index; in ibmveth_replenish_buffer_pool()
242 index = pool->free_map[free_index]; in ibmveth_replenish_buffer_pool()
253 pool->free_map[free_index] = IBM_VETH_INVALID_MAP; in ibmveth_replenish_buffer_pool()
285 pool->free_map[free_index] = index; in ibmveth_replenish_buffer_pool()
372 unsigned int free_index; in ibmveth_remove_buffer_from_pool() local
389 free_index = adapter->rx_buff_pool[pool].producer_index; in ibmveth_remove_buffer_from_pool()
394 adapter->rx_buff_pool[pool].free_map[free_index] = index; in ibmveth_remove_buffer_from_pool()
/openbmc/linux/drivers/scsi/bfa/
H A Dbfa_fcpim.c2277 int i, free_index = MAX_LUN_MASK_CFG + 1; in bfa_fcpim_lunmask_add() local
2298 free_index = i; in bfa_fcpim_lunmask_add()
2306 if (free_index > MAX_LUN_MASK_CFG) in bfa_fcpim_lunmask_add()
2310 lunm_list[free_index].lp_tag = bfa_lps_get_tag_from_pid(bfa, in bfa_fcpim_lunmask_add()
2312 lunm_list[free_index].rp_tag = rp->rport_tag; in bfa_fcpim_lunmask_add()
2314 lunm_list[free_index].lp_tag = BFA_LP_TAG_INVALID; in bfa_fcpim_lunmask_add()
2315 lunm_list[free_index].rp_tag = BFA_RPORT_TAG_INVALID; in bfa_fcpim_lunmask_add()
2318 lunm_list[free_index].lp_wwn = *pwwn; in bfa_fcpim_lunmask_add()
2319 lunm_list[free_index].rp_wwn = rpwwn; in bfa_fcpim_lunmask_add()
2320 lunm_list[free_index].lun = lun; in bfa_fcpim_lunmask_add()
[all …]
/openbmc/linux/include/kvm/
H A Darm_vgic.h220 u32 free_index; /* index of the next free redistributor */ member
/openbmc/linux/drivers/net/wireless/rsi/
H A Drsi_91x_mac80211.c1421 int free_index = -1; in rsi_mac80211_sta_add() local
1433 if (free_index < 0) in rsi_mac80211_sta_add()
1434 free_index = cnt; in rsi_mac80211_sta_add()
1445 if (free_index >= 0) in rsi_mac80211_sta_add()
1446 sta_idx = free_index; in rsi_mac80211_sta_add()
/openbmc/linux/drivers/scsi/qla4xxx/
H A Dql4_mbx.c1762 int free_index = -1; in qla4xxx_get_chap_index() local
1788 if (i > MAX_RESRV_CHAP_IDX && free_index == -1) in qla4xxx_get_chap_index()
1789 free_index = i; in qla4xxx_get_chap_index()
1812 if (!found_index && free_index != -1) { in qla4xxx_get_chap_index()
1814 free_index, bidi); in qla4xxx_get_chap_index()
1816 *chap_index = free_index; in qla4xxx_get_chap_index()
H A Dql4_os.c728 int free_index = -1; in qla4xxx_find_free_chap_index() local
750 free_index = i; in qla4xxx_find_free_chap_index()
755 if (free_index != -1) { in qla4xxx_find_free_chap_index()
756 *chap_index = free_index; in qla4xxx_find_free_chap_index()
/openbmc/linux/drivers/scsi/be2iscsi/
H A Dbe_main.h236 unsigned short free_index; member
H A Dbe_main.c1023 pwrb_context->pwrb_handle_base[pwrb_context->free_index] = pwrb_handle; in beiscsi_put_wrb_handle()
1025 if (pwrb_context->free_index == (wrbs_per_cxn - 1)) in beiscsi_put_wrb_handle()
1026 pwrb_context->free_index = 0; in beiscsi_put_wrb_handle()
1028 pwrb_context->free_index++; in beiscsi_put_wrb_handle()
1052 pwrb_handle, pwrb_context->free_index, in free_wrb_handle()
2671 pwrb_context->free_index = 0; in beiscsi_init_wrb_handle()
4346 pwrb_handle, pwrb_context->free_index, in beiscsi_offload_connection()
/openbmc/linux/fs/jfs/
H A Djfs_dtree.c483 static void free_index(tid_t tid, struct inode *ip, u32 index, u32 next) in free_index() function
2144 free_index(tid, ip, table_index, next_index); in dtDelete()