Lines Matching refs:free_index
2277 int i, free_index = MAX_LUN_MASK_CFG + 1;
2298 free_index = i;
2306 if (free_index > MAX_LUN_MASK_CFG)
2310 lunm_list[free_index].lp_tag = bfa_lps_get_tag_from_pid(bfa,
2312 lunm_list[free_index].rp_tag = rp->rport_tag;
2314 lunm_list[free_index].lp_tag = BFA_LP_TAG_INVALID;
2315 lunm_list[free_index].rp_tag = BFA_RPORT_TAG_INVALID;
2318 lunm_list[free_index].lp_wwn = *pwwn;
2319 lunm_list[free_index].rp_wwn = rpwwn;
2320 lunm_list[free_index].lun = lun;
2321 lunm_list[free_index].state = BFA_IOIM_LUN_MASK_ACTIVE;