Searched refs:free_index (Results 1 – 7 of 7) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/ibm/ |
D | ibmveth.c | 220 unsigned int free_index, index; in ibmveth_replenish_buffer_pool() local 239 free_index = pool->consumer_index; in ibmveth_replenish_buffer_pool() 243 index = pool->free_map[free_index]; in ibmveth_replenish_buffer_pool() 254 pool->free_map[free_index] = IBM_VETH_INVALID_MAP; in ibmveth_replenish_buffer_pool() 286 pool->free_map[free_index] = index; in ibmveth_replenish_buffer_pool() 373 unsigned int free_index; in ibmveth_remove_buffer_from_pool() local 390 free_index = adapter->rx_buff_pool[pool].producer_index; in ibmveth_remove_buffer_from_pool() 395 adapter->rx_buff_pool[pool].free_map[free_index] = index; in ibmveth_remove_buffer_from_pool()
|
/linux-4.4.14/drivers/scsi/bfa/ |
D | bfa_fcpim.c | 2284 int i, free_index = MAX_LUN_MASK_CFG + 1; in bfa_fcpim_lunmask_add() local 2305 free_index = i; in bfa_fcpim_lunmask_add() 2313 if (free_index > MAX_LUN_MASK_CFG) in bfa_fcpim_lunmask_add() 2317 lunm_list[free_index].lp_tag = bfa_lps_get_tag_from_pid(bfa, in bfa_fcpim_lunmask_add() 2319 lunm_list[free_index].rp_tag = rp->rport_tag; in bfa_fcpim_lunmask_add() 2321 lunm_list[free_index].lp_tag = BFA_LP_TAG_INVALID; in bfa_fcpim_lunmask_add() 2322 lunm_list[free_index].rp_tag = BFA_RPORT_TAG_INVALID; in bfa_fcpim_lunmask_add() 2325 lunm_list[free_index].lp_wwn = *pwwn; in bfa_fcpim_lunmask_add() 2326 lunm_list[free_index].rp_wwn = rpwwn; in bfa_fcpim_lunmask_add() 2327 lunm_list[free_index].lun = lun; in bfa_fcpim_lunmask_add() [all …]
|
/linux-4.4.14/drivers/scsi/qla4xxx/ |
D | ql4_mbx.c | 1772 int free_index = -1; in qla4xxx_get_chap_index() local 1798 if (i > MAX_RESRV_CHAP_IDX && free_index == -1) in qla4xxx_get_chap_index() 1799 free_index = i; in qla4xxx_get_chap_index() 1822 if (!found_index && free_index != -1) { in qla4xxx_get_chap_index() 1824 free_index, bidi); in qla4xxx_get_chap_index() 1826 *chap_index = free_index; in qla4xxx_get_chap_index()
|
D | ql4_os.c | 680 int free_index = -1; in qla4xxx_find_free_chap_index() local 702 free_index = i; in qla4xxx_find_free_chap_index() 707 if (free_index != -1) { in qla4xxx_find_free_chap_index() 708 *chap_index = free_index; in qla4xxx_find_free_chap_index()
|
/linux-4.4.14/drivers/scsi/be2iscsi/ |
D | be_main.h | 313 unsigned short free_index; member
|
D | be_main.c | 1244 pwrb_context->pwrb_handle_base[pwrb_context->free_index] = pwrb_handle; in free_wrb_handle() 1246 if (pwrb_context->free_index == (phba->params.wrbs_per_cxn - 1)) in free_wrb_handle() 1247 pwrb_context->free_index = 0; in free_wrb_handle() 1249 pwrb_context->free_index++; in free_wrb_handle() 1255 pwrb_handle, pwrb_context->free_index, in free_wrb_handle() 2896 pwrb_context->free_index = 0; in beiscsi_init_wrb_handle()
|
/linux-4.4.14/fs/jfs/ |
D | jfs_dtree.c | 496 static void free_index(tid_t tid, struct inode *ip, u32 index, u32 next) in free_index() function 2149 free_index(tid, ip, table_index, next_index); in dtDelete()
|