Lines Matching refs:new_fcf_pri

2465 	struct lpfc_fcf_pri *new_fcf_pri;  in lpfc_sli4_fcf_pri_list_del()  local
2467 new_fcf_pri = &phba->fcf.fcf_pri[fcf_index]; in lpfc_sli4_fcf_pri_list_del()
2470 fcf_index, new_fcf_pri->fcf_rec.priority, in lpfc_sli4_fcf_pri_list_del()
2471 new_fcf_pri->fcf_rec.flag); in lpfc_sli4_fcf_pri_list_del()
2473 if (new_fcf_pri->fcf_rec.flag & LPFC_FCF_ON_PRI_LIST) { in lpfc_sli4_fcf_pri_list_del()
2475 new_fcf_pri->fcf_rec.priority) in lpfc_sli4_fcf_pri_list_del()
2477 list_del_init(&new_fcf_pri->list); in lpfc_sli4_fcf_pri_list_del()
2478 new_fcf_pri->fcf_rec.flag &= ~LPFC_FCF_ON_PRI_LIST; in lpfc_sli4_fcf_pri_list_del()
2496 struct lpfc_fcf_pri *new_fcf_pri; in lpfc_sli4_set_fcf_flogi_fail() local
2497 new_fcf_pri = &phba->fcf.fcf_pri[fcf_index]; in lpfc_sli4_set_fcf_flogi_fail()
2499 new_fcf_pri->fcf_rec.flag |= LPFC_FCF_FLOGI_FAILED; in lpfc_sli4_set_fcf_flogi_fail()
2527 struct lpfc_fcf_pri *new_fcf_pri; in lpfc_sli4_fcf_pri_list_add() local
2530 new_fcf_pri = &phba->fcf.fcf_pri[fcf_index]; in lpfc_sli4_fcf_pri_list_add()
2534 new_fcf_pri->fcf_rec.flag); in lpfc_sli4_fcf_pri_list_add()
2536 if (new_fcf_pri->fcf_rec.flag & LPFC_FCF_ON_PRI_LIST) in lpfc_sli4_fcf_pri_list_add()
2537 list_del_init(&new_fcf_pri->list); in lpfc_sli4_fcf_pri_list_add()
2538 new_fcf_pri->fcf_rec.fcf_index = fcf_index; in lpfc_sli4_fcf_pri_list_add()
2539 new_fcf_pri->fcf_rec.priority = new_fcf_record->fip_priority; in lpfc_sli4_fcf_pri_list_add()
2541 list_add(&new_fcf_pri->list, &phba->fcf.fcf_pri_list); in lpfc_sli4_fcf_pri_list_add()
2543 new_fcf_pri->fcf_rec.fcf_index); in lpfc_sli4_fcf_pri_list_add()
2554 if (new_fcf_pri->fcf_rec.priority <= current_fcf_pri) { in lpfc_sli4_fcf_pri_list_add()
2555 list_add(&new_fcf_pri->list, &phba->fcf.fcf_pri_list); in lpfc_sli4_fcf_pri_list_add()
2556 if (new_fcf_pri->fcf_rec.priority < current_fcf_pri) { in lpfc_sli4_fcf_pri_list_add()
2565 new_fcf_pri->fcf_rec.fcf_index); in lpfc_sli4_fcf_pri_list_add()
2571 if (new_fcf_pri->fcf_rec.priority <= in lpfc_sli4_fcf_pri_list_add()
2574 list_add(&new_fcf_pri->list, in lpfc_sli4_fcf_pri_list_add()
2577 list_add(&new_fcf_pri->list, in lpfc_sli4_fcf_pri_list_add()
2583 || new_fcf_pri->fcf_rec.priority < in lpfc_sli4_fcf_pri_list_add()
2585 list_add(&new_fcf_pri->list, &fcf_pri->list); in lpfc_sli4_fcf_pri_list_add()
2589 if (new_fcf_pri->fcf_rec.priority > fcf_pri->fcf_rec.priority) in lpfc_sli4_fcf_pri_list_add()
2596 new_fcf_pri->fcf_rec.flag = LPFC_FCF_ON_PRI_LIST; in lpfc_sli4_fcf_pri_list_add()