Searched refs:free_index (Results 1 – 7 of 7) sorted by relevance
212 unsigned int free_index, index; in ibmveth_replenish_buffer_pool() local231 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() local382 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()
2277 int i, free_index = MAX_LUN_MASK_CFG + 1; in bfa_fcpim_lunmask_add() local2298 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 …]
1402 int free_index = -1; in rsi_mac80211_sta_add() local1414 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()
1762 int free_index = -1; in qla4xxx_get_chap_index() local1788 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()
731 int free_index = -1; in qla4xxx_find_free_chap_index() local753 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()
237 unsigned short free_index; member
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()1035 pwrb_handle, pwrb_context->free_index, in free_wrb_handle()2655 pwrb_context->free_index = 0; in beiscsi_init_wrb_handle()4352 pwrb_handle, pwrb_context->free_index, in beiscsi_offload_connection()