Lines Matching refs:fcf
4629 phba->fcf.fcf_flag = 0;
7848 phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_fcfi,
7860 phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_mrq_fcfi,
7903 phba->fcf.fcf_flag = 0;
7904 phba->fcf.current_rec.flag = 0;
17550 if (phba->fcf.fcfi == fcfi &&
18878 * lpfc_mbx_cmpl_add_fcf_record - add fcf mbox completion handler.
18912 * @fcf_record: pointer to the initialized fcf record to add.
18991 * @fcf_record: pointer to the fcf record to write the default data.
19029 * lpfc_sli4_fcf_scan_read_fcf_rec - Read hba fcf record for fcf scan.
19076 phba->fcf.eligible_fcf_cnt = 0;
19092 * lpfc_sli4_fcf_rr_read_fcf_rec - Read hba fcf record for roundrobin fcf.
19138 * lpfc_sli4_read_fcf_rec - Read hba fcf record for update eligible fcf bmask.
19205 last_index = find_first_bit(phba->fcf.fcf_rr_bmask,
19212 if (list_empty(&phba->fcf.fcf_pri_list) ||
19213 list_is_singular(&phba->fcf.fcf_pri_list)) {
19226 memset(phba->fcf.fcf_rr_bmask, 0,
19227 sizeof(*phba->fcf.fcf_rr_bmask));
19229 list_for_each_entry(fcf_pri, &phba->fcf.fcf_pri_list, list) {
19252 if (!next_fcf_pri && !list_empty(&phba->fcf.fcf_pri_list)) {
19253 list_for_each_entry(fcf_pri, &phba->fcf.fcf_pri_list, list) {
19277 * lpfc_sli4_fcf_rr_next_index_get - Get next eligible fcf record index
19293 next_fcf_index = phba->fcf.current_rec.fcf_indx;
19296 /* Determine the next fcf index to check */
19298 next_fcf_index = find_next_bit(phba->fcf.fcf_rr_bmask,
19302 /* Wrap around condition on phba->fcf.fcf_rr_bmask */
19309 next_fcf_index = find_next_bit(phba->fcf.fcf_rr_bmask,
19316 next_fcf_index == phba->fcf.current_rec.fcf_indx) {
19318 * If next fcf index is not found check if there are lower
19319 * Priority level fcf's in the fcf_priority list.
19320 * Set up the rr_bmask with all of the avaiable fcf bits
19332 phba->fcf.fcf_pri[next_fcf_index].fcf_rec.flag &
19334 if (list_is_singular(&phba->fcf.fcf_pri_list))
19348 * lpfc_sli4_fcf_rr_index_set - Set bmask with eligible fcf record index
19371 set_bit(fcf_index, phba->fcf.fcf_rr_bmask);
19381 * lpfc_sli4_fcf_rr_index_clear - Clear bmask from eligible fcf record index
19403 list_for_each_entry_safe(fcf_pri, fcf_pri_next, &phba->fcf.fcf_pri_list,
19411 clear_bit(fcf_index, phba->fcf.fcf_rr_bmask);
19444 if (phba->fcf.fcf_flag & FCF_ACVL_DISC) {
19446 phba->fcf.fcf_flag &= ~FCF_ACVL_DISC;
19455 phba->fcf.fcf_flag &= ~FCF_DEAD_DISC;
19525 * lpfc_sli4_fcf_dead_failthrough - Failthrough routine to fcf dead event