Lines Matching refs:fcf
5164 phba->fcf.fcf_flag = 0;
8947 phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_fcfi,
8959 phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_mrq_fcfi,
9002 phba->fcf.fcf_flag = 0;
9003 phba->fcf.current_rec.flag = 0;
18558 if (phba->fcf.fcfi == fcfi &&
19904 * lpfc_mbx_cmpl_add_fcf_record - add fcf mbox completion handler.
19938 * @fcf_record: pointer to the initialized fcf record to add.
20017 * @fcf_record: pointer to the fcf record to write the default data.
20055 * lpfc_sli4_fcf_scan_read_fcf_rec - Read hba fcf record for fcf scan.
20102 phba->fcf.eligible_fcf_cnt = 0;
20118 * lpfc_sli4_fcf_rr_read_fcf_rec - Read hba fcf record for roundrobin fcf.
20164 * lpfc_sli4_read_fcf_rec - Read hba fcf record for update eligible fcf bmask.
20231 last_index = find_first_bit(phba->fcf.fcf_rr_bmask,
20238 if (list_empty(&phba->fcf.fcf_pri_list) ||
20239 list_is_singular(&phba->fcf.fcf_pri_list)) {
20252 memset(phba->fcf.fcf_rr_bmask, 0,
20253 sizeof(*phba->fcf.fcf_rr_bmask));
20255 list_for_each_entry(fcf_pri, &phba->fcf.fcf_pri_list, list) {
20278 if (!next_fcf_pri && !list_empty(&phba->fcf.fcf_pri_list)) {
20279 list_for_each_entry(fcf_pri, &phba->fcf.fcf_pri_list, list) {
20303 * lpfc_sli4_fcf_rr_next_index_get - Get next eligible fcf record index
20319 next_fcf_index = phba->fcf.current_rec.fcf_indx;
20322 /* Determine the next fcf index to check */
20324 next_fcf_index = find_next_bit(phba->fcf.fcf_rr_bmask,
20328 /* Wrap around condition on phba->fcf.fcf_rr_bmask */
20335 next_fcf_index = find_first_bit(phba->fcf.fcf_rr_bmask,
20342 next_fcf_index == phba->fcf.current_rec.fcf_indx) {
20344 * If next fcf index is not found check if there are lower
20345 * Priority level fcf's in the fcf_priority list.
20346 * Set up the rr_bmask with all of the avaiable fcf bits
20358 phba->fcf.fcf_pri[next_fcf_index].fcf_rec.flag &
20360 if (list_is_singular(&phba->fcf.fcf_pri_list))
20374 * lpfc_sli4_fcf_rr_index_set - Set bmask with eligible fcf record index
20397 set_bit(fcf_index, phba->fcf.fcf_rr_bmask);
20407 * lpfc_sli4_fcf_rr_index_clear - Clear bmask from eligible fcf record index
20429 list_for_each_entry_safe(fcf_pri, fcf_pri_next, &phba->fcf.fcf_pri_list,
20437 clear_bit(fcf_index, phba->fcf.fcf_rr_bmask);
20470 if (phba->fcf.fcf_flag & FCF_ACVL_DISC) {
20472 phba->fcf.fcf_flag &= ~FCF_ACVL_DISC;
20481 phba->fcf.fcf_flag &= ~FCF_DEAD_DISC;
20551 * lpfc_sli4_fcf_dead_failthrough - Failthrough routine to fcf dead event