Home
last modified time | relevance | path

Searched refs:fcf (Results 1 – 18 of 18) sorted by relevance

/Linux-v6.6/drivers/scsi/fcoe/
Dfcoe_sysfs.c115 static int fcoe_fcf_set_dev_loss_tmo(struct fcoe_fcf_device *fcf, in fcoe_fcf_set_dev_loss_tmo() argument
118 if ((fcf->state == FCOE_FCF_STATE_UNKNOWN) || in fcoe_fcf_set_dev_loss_tmo()
119 (fcf->state == FCOE_FCF_STATE_DISCONNECTED) || in fcoe_fcf_set_dev_loss_tmo()
120 (fcf->state == FCOE_FCF_STATE_DELETED)) in fcoe_fcf_set_dev_loss_tmo()
128 fcoe_fcf_dev_loss_tmo(fcf) = val; in fcoe_fcf_set_dev_loss_tmo()
153 struct fcoe_fcf_device *fcf = dev_to_fcf(dev); \
154 struct fcoe_ctlr_device *ctlr = fcoe_fcf_dev_to_ctlr_dev(fcf); \
156 ctlr->f->get_fcoe_fcf_##field(fcf); \
158 cast fcoe_fcf_##field(fcf)); \
175 struct fcoe_fcf_device *fcf = dev_to_fcf(dev); \
[all …]
Dfcoe_ctlr.c102 static inline int fcoe_ctlr_mtu_valid(const struct fcoe_fcf *fcf) in fcoe_ctlr_mtu_valid() argument
104 return (fcf->flags & FIP_FL_SOL) != 0; in fcoe_ctlr_mtu_valid()
113 static inline int fcoe_ctlr_fcf_usable(struct fcoe_fcf *fcf) in fcoe_ctlr_fcf_usable() argument
117 return (fcf->flags & flags) == flags; in fcoe_ctlr_fcf_usable()
272 struct fcoe_fcf *fcf; in fcoe_ctlr_reset_fcfs() local
276 list_for_each_entry_safe(fcf, next, &fip->fcfs, list) { in fcoe_ctlr_reset_fcfs()
277 fcoe_sysfs_fcf_del(fcf); in fcoe_ctlr_reset_fcfs()
321 struct fcoe_fcf *fcf; in fcoe_ctlr_announce() local
329 list_for_each_entry(fcf, &fip->fcfs, list) in fcoe_ctlr_announce()
330 fcf->flogi_sent = 0; in fcoe_ctlr_announce()
[all …]
/Linux-v6.6/drivers/scsi/lpfc/
Dlpfc_hbadisc.c658 if (phba->fcf.fcf_flag & FCF_DISCOVERY) { in lpfc_sli4_post_dev_loss_tmo_handler()
668 if (phba->fcf.fcf_flag & FCF_REDISC_PROG) { in lpfc_sli4_post_dev_loss_tmo_handler()
994 if (phba->fcf.fcf_flag & FCF_REDISC_EVT) in lpfc_work_done()
1262 phba->fcf.fcf_flag &= ~(FCF_AVAILABLE | FCF_SCAN_DONE); in lpfc_linkdown()
1597 memset(phba->fcf.fcf_rr_bmask, 0, sizeof(*phba->fcf.fcf_rr_bmask)); in lpfc_sli4_clear_fcf_rr_bmask()
1600 &phba->fcf.fcf_pri_list, list) { in lpfc_sli4_clear_fcf_rr_bmask()
1620 phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_fcfi, &mboxq->u.mqe.un.reg_fcfi); in lpfc_mbx_cmpl_reg_fcfi()
1623 phba->fcf.fcf_flag |= FCF_REGISTERED; in lpfc_mbx_cmpl_reg_fcfi()
1633 phba->fcf.fcf_flag |= (FCF_SCAN_DONE | FCF_IN_USE); in lpfc_mbx_cmpl_reg_fcfi()
1764 fcf_pri = &phba->fcf.fcf_pri[fcf_index]; in __lpfc_update_fcf_record_pri()
[all …]
Dlpfc_mbox.c2201 vport->phba->fcf.fcfi); in lpfc_init_vfi()
2228 bf_set(lpfc_reg_vfi_fcfi, reg_vfi, phba->fcf.fcfi); in lpfc_reg_vfi()
2275 phba->fcf.fcfi, in lpfc_reg_vfi()
2536 (~phba->fcf.addr_mode) & 0x3); in lpfc_reg_fcfi()
2561 phba->fcf.current_rec.fcf_indx); in lpfc_reg_fcfi()
2562 if (phba->fcf.current_rec.vlan_id != LPFC_FCOE_NULL_VID) { in lpfc_reg_fcfi()
2565 phba->fcf.current_rec.vlan_id); in lpfc_reg_fcfi()
2597 phba->fcf.current_rec.fcf_indx); in lpfc_reg_fcfi_mrq()
2598 if (phba->fcf.current_rec.vlan_id != LPFC_FCOE_NULL_VID) { in lpfc_reg_fcfi_mrq()
2601 phba->fcf.current_rec.vlan_id); in lpfc_reg_fcfi_mrq()
Dlpfc_els.c988 (phba->fcf.fcf_flag & FCF_DISCOVERY)) { in lpfc_cmpl_els_flogi()
1004 phba->fcf.current_rec.fcf_indx, in lpfc_cmpl_els_flogi()
1007 phba->fcf.current_rec.fcf_indx); in lpfc_cmpl_els_flogi()
1023 phba->hba_flag, phba->fcf.fcf_flag); in lpfc_cmpl_els_flogi()
1152 phba->fcf.current_rec.fcf_indx, in lpfc_cmpl_els_flogi()
1153 phba->fcf.current_rec.switch_name[0], in lpfc_cmpl_els_flogi()
1154 phba->fcf.current_rec.switch_name[1], in lpfc_cmpl_els_flogi()
1155 phba->fcf.current_rec.switch_name[2], in lpfc_cmpl_els_flogi()
1156 phba->fcf.current_rec.switch_name[3], in lpfc_cmpl_els_flogi()
1157 phba->fcf.current_rec.switch_name[4], in lpfc_cmpl_els_flogi()
[all …]
Dlpfc_init.c3149 phba->fcf.fcf_flag &= ~FCF_REDISC_PEND; in __lpfc_sli4_stop_fcf_redisc_wait_timer()
3152 del_timer(&phba->fcf.redisc_wait); in __lpfc_sli4_stop_fcf_redisc_wait_timer()
3168 if (!(phba->fcf.fcf_flag & FCF_REDISC_PEND)) { in lpfc_sli4_stop_fcf_redisc_wait_timer()
3175 phba->fcf.fcf_flag &= ~(FCF_DEAD_DISC | FCF_ACVL_DISC); in lpfc_sli4_stop_fcf_redisc_wait_timer()
5111 mod_timer(&phba->fcf.redisc_wait, fcf_redisc_wait_tmo); in lpfc_fcf_redisc_wait_start_timer()
5114 phba->fcf.fcf_flag &= ~(FCF_AVAILABLE | FCF_SCAN_DONE); in lpfc_fcf_redisc_wait_start_timer()
5116 phba->fcf.fcf_flag |= FCF_REDISC_PEND; in lpfc_fcf_redisc_wait_start_timer()
5133 struct lpfc_hba *phba = from_timer(phba, t, fcf.redisc_wait); in lpfc_sli4_fcf_redisc_wait_tmo()
5137 if (!(phba->fcf.fcf_flag & FCF_REDISC_PEND)) { in lpfc_sli4_fcf_redisc_wait_tmo()
5142 phba->fcf.fcf_flag &= ~FCF_REDISC_PEND; in lpfc_sli4_fcf_redisc_wait_tmo()
[all …]
Dlpfc_sli.c5164 phba->fcf.fcf_flag = 0; in lpfc_sli4_brdreset()
8947 phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_fcfi, in lpfc_sli4_hba_setup()
8959 phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_mrq_fcfi, in lpfc_sli4_hba_setup()
9002 phba->fcf.fcf_flag = 0; in lpfc_sli4_hba_setup()
9003 phba->fcf.current_rec.flag = 0; in lpfc_sli4_hba_setup()
18558 if (phba->fcf.fcfi == fcfi && in lpfc_fc_frame_to_vport()
20102 phba->fcf.eligible_fcf_cnt = 0; in lpfc_sli4_fcf_scan_read_fcf_rec()
20231 last_index = find_first_bit(phba->fcf.fcf_rr_bmask, in lpfc_check_next_fcf_pri_level()
20238 if (list_empty(&phba->fcf.fcf_pri_list) || in lpfc_check_next_fcf_pri_level()
20239 list_is_singular(&phba->fcf.fcf_pri_list)) { in lpfc_check_next_fcf_pri_level()
[all …]
Dlpfc.h1415 struct lpfc_fcf fcf; member
Dlpfc_bsg.c1984 phba->pport->fc_myDID, phba->fcf.fcfi, in lpfc_sli4_diag_fcport_reg_setup()
/Linux-v6.6/arch/x86/
DMakefile49 -mno-mmx -mno-sse $(call cc-option,-fcf-protection=none)
83 KBUILD_CFLAGS += $(call cc-option,-fcf-protection=branch -fno-jump-tables)
85 KBUILD_CFLAGS += $(call cc-option,-fcf-protection=none)
DKconfig1814 def_bool ((CC_IS_GCC && $(cc-option, -fcf-protection=branch -mindirect-branch-register)) || \
/Linux-v6.6/drivers/scsi/elx/libefc/
Defc_cmds.h19 efc_cmd_domain_alloc(struct efc *efc, struct efc_domain *domain, u32 fcf);
Defc_cmds.c455 efc_cmd_domain_alloc(struct efc *efc, struct efc_domain *domain, u32 fcf) in efc_cmd_domain_alloc() argument
475 domain->fcf = fcf; in efc_cmd_domain_alloc()
Defclib.h220 u32 fcf; member
/Linux-v6.6/tools/virtio/
DMakefile17 …inux/kconfig.h $(call cc-option,-mfunction-return=thunk) $(call cc-option,-fcf-protection=none) $(…
/Linux-v6.6/samples/bpf/
DMakefile397 -fno-asynchronous-unwind-tables -fcf-protection \
/Linux-v6.6/drivers/scsi/bfa/
Dbfa_defs_svc.h1105 struct bfa_fcport_fcf_s fcf; member
Dbfa_svc.c2211 pevent->link_state.attr.vc_fcf.fcf.fipenabled); in bfa_fcport_sm_linkdown()
2213 pevent->link_state.attr.vc_fcf.fcf.fipfailed); in bfa_fcport_sm_linkdown()
2215 if (pevent->link_state.attr.vc_fcf.fcf.fipfailed) in bfa_fcport_sm_linkdown()
3125 be16_to_cpu(pevent->link_state.attr.vc_fcf.fcf.vlan); in bfa_fcport_update_linkinfo()