/kernel/linux/linux-6.6/arch/arm64/kvm/vgic/ |
H A D | vgic-mmio-v3.c | 301 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 D | vgic.h | 297 return (region->free_index >= region->count); in vgic_v3_redist_region_full()
|
/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/ |
H A D | vgic-mmio-v3.c | 262 (rdreg->free_index - 1) * KVM_VGIC_V3_REDIST_SIZE; in vgic_mmio_read_v3r_typer() 725 rd_base = rdreg->base + rdreg->free_index * KVM_VGIC_V3_REDIST_SIZE; in vgic_register_redist_iodev() 742 rdreg->free_index++; in vgic_register_redist_iodev() 848 rdreg->free_index = 0; in vgic_v3_insert_redist_region()
|
H A D | vgic.h | 280 return (region->free_index >= region->count); in vgic_v3_redist_region_full()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ |
H A D | ibmveth.c | 212 unsigned int free_index, index; in ibmveth_replenish_buffer_pool() local 231 free_index = pool->consumer_index; in ibmveth_replenish_buffer_pool() 235 index = pool->free_map[free_index]; in ibmveth_replenish_buffer_pool() 246 pool->free_map[free_index] = IBM_VETH_INVALID_MAP; in ibmveth_replenish_buffer_pool() 278 pool->free_map[free_index] = index; in ibmveth_replenish_buffer_pool() 365 unsigned int free_index; in ibmveth_remove_buffer_from_pool() local 382 free_index = adapter->rx_buff_pool[pool].producer_index; in ibmveth_remove_buffer_from_pool() 387 adapter->rx_buff_pool[pool].free_map[free_index] = index; in ibmveth_remove_buffer_from_pool()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/ibm/ |
H A D | ibmveth.c | 219 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()
|
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
H A D | bfa_fcpim.c | 2277 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] in bfa_fcpim_lunmask_add() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/bfa/ |
H A D | bfa_fcpim.c | 2277 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] in bfa_fcpim_lunmask_add() [all...] |
/kernel/linux/linux-5.10/include/kvm/ |
H A D | arm_vgic.h | 199 u32 free_index; /* index of the next free redistributor */ member
|
/kernel/linux/linux-5.10/drivers/net/wireless/rsi/ |
H A D | rsi_91x_mac80211.c | 1402 int free_index = -1; in rsi_mac80211_sta_add() local 1414 if (free_index < 0) in rsi_mac80211_sta_add() 1415 free_index = cnt; in rsi_mac80211_sta_add() 1426 if (free_index >= 0) in rsi_mac80211_sta_add() 1427 sta_idx = free_index; in rsi_mac80211_sta_add()
|
/kernel/linux/linux-6.6/drivers/net/wireless/rsi/ |
H A D | rsi_91x_mac80211.c | 1421 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()
|
/kernel/linux/linux-6.6/include/kvm/ |
H A D | arm_vgic.h | 220 u32 free_index; /* index of the next free redistributor */ member
|
/kernel/linux/linux-5.10/drivers/scsi/qla4xxx/ |
H A D | ql4_mbx.c | 1762 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 D | ql4_os.c | 731 int free_index = -1; in qla4xxx_find_free_chap_index() local 753 free_index = i; in qla4xxx_find_free_chap_index() 758 if (free_index != -1) { in qla4xxx_find_free_chap_index() 759 *chap_index = free_index; in qla4xxx_find_free_chap_index()
|
/kernel/linux/linux-6.6/drivers/scsi/qla4xxx/ |
H A D | ql4_mbx.c | 1762 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 D | ql4_os.c | 728 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()
|
/kernel/linux/linux-5.10/drivers/scsi/be2iscsi/ |
H A D | be_main.h | 237 unsigned short free_index; member
|
H A D | be_main.c | 1006 pwrb_context->pwrb_handle_base[pwrb_context->free_index] = pwrb_handle; in beiscsi_put_wrb_handle() 1008 if (pwrb_context->free_index == (wrbs_per_cxn - 1)) in beiscsi_put_wrb_handle() 1009 pwrb_context->free_index = 0; in beiscsi_put_wrb_handle() 1011 pwrb_context->free_index++; in beiscsi_put_wrb_handle() 1033 "BM_%d : FREE WRB: pwrb_handle=%p free_index=0x%x" in free_wrb_handle() 1035 pwrb_handle, pwrb_context->free_index, in free_wrb_handle() 2655 pwrb_context->free_index = 0; in beiscsi_init_wrb_handle() 4351 "BM_%d : put CONTEXT_UPDATE pwrb_handle=%p free_index=0x%x wrb_handles_available=%d\n", in beiscsi_offload_connection() 4352 pwrb_handle, pwrb_context->free_index, in beiscsi_offload_connection()
|
/kernel/linux/linux-6.6/drivers/scsi/be2iscsi/ |
H A D | be_main.h | 236 unsigned short free_index; member
|
H A D | be_main.c | 1023 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() 1050 "BM_%d : FREE WRB: pwrb_handle=%p free_index=0x%x " in free_wrb_handle() 1052 pwrb_handle, pwrb_context->free_index, in free_wrb_handle() 2671 pwrb_context->free_index = 0; in beiscsi_init_wrb_handle() 4345 "BM_%d : put CONTEXT_UPDATE pwrb_handle=%p free_index=0x%x wrb_handles_available=%d\n", in beiscsi_offload_connection() 4346 pwrb_handle, pwrb_context->free_index, in beiscsi_offload_connection()
|
/kernel/linux/linux-5.10/fs/jfs/ |
H A D | jfs_dtree.c | 280 jfs_err("free_index: error reading directory table"); in find_index() 479 * free_index() 483 static void free_index(tid_t tid, struct inode *ip, u32 index, u32 next) in free_index() function 2142 free_index(tid, ip, table_index, next_index); in dtDelete()
|
/kernel/linux/linux-6.6/fs/jfs/ |
H A D | jfs_dtree.c | 280 jfs_err("free_index: error reading directory table"); in find_index() 479 * free_index() 483 static void free_index(tid_t tid, struct inode *ip, u32 index, u32 next) in free_index() function 2142 free_index(tid, ip, table_index, next_index); in dtDelete()
|