/kernel/linux/linux-5.10/drivers/scsi/fcoe/ |
H A D | fcoe_sysfs.c | 29 * should insulate the loss of a fcf. 37 " insulate the loss of a fcf. Once this value is" 38 " exceeded, the fcf is removed."); 115 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); \ 248 struct fcoe_fcf_device *fcf = dev_to_fcf(dev); show_fcf_state() local 497 struct fcoe_fcf_device *fcf; store_private_fcoe_ctlr_fcf_dev_loss_tmo() local 540 struct fcoe_fcf_device *fcf = dev_to_fcf(dev); store_fcoe_fcf_dev_loss_tmo() local 646 struct fcoe_fcf_device *fcf = dev_to_fcf(dev); fcoe_fcf_device_release() local 874 struct fcoe_fcf_device *fcf, *next; fcoe_ctlr_device_delete() local 905 struct fcoe_fcf_device *fcf = fcoe_fcf_device_final_delete() local 929 struct fcoe_fcf_device *fcf = fip_timeout_deleted_fcf() local 964 fcoe_fcf_device_delete(struct fcoe_fcf_device *fcf) fcoe_fcf_device_delete() argument 996 struct fcoe_fcf_device *fcf; fcoe_fcf_device_add() local [all...] |
H A D | fcoe_ctlr.c | 98 * @fcf: The FCF to check 102 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() 109 * @fcf: The FCF to check 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() 203 * The fcoe_sysfs layer can return a CONNECTED fcf that in fcoe_sysfs_fcf_add() 204 * has a priv (fcf was never deleted) or a CONNECTED fcf in fcoe_sysfs_fcf_add() 205 * that doesn't have a priv (fcf wa in fcoe_sysfs_fcf_add() 272 struct fcoe_fcf *fcf; fcoe_ctlr_reset_fcfs() local 321 struct fcoe_fcf *fcf; fcoe_ctlr_announce() local 376 fcoe_ctlr_solicit(struct fcoe_ctlr *fip, struct fcoe_fcf *fcf) fcoe_ctlr_solicit() argument 542 struct fcoe_fcf *fcf; fcoe_ctlr_send_keep_alive() local 614 struct fcoe_fcf *fcf; fcoe_ctlr_encaps() local 821 struct fcoe_fcf *fcf; fcoe_ctlr_age_fcfs() local 891 fcoe_ctlr_parse_adv(struct fcoe_ctlr *fip, struct sk_buff *skb, struct fcoe_fcf *fcf) fcoe_ctlr_parse_adv() argument 1022 struct fcoe_fcf *fcf; fcoe_ctlr_recv_adv() local 1321 struct fcoe_fcf *fcf = fip->sel_fcf; fcoe_ctlr_recv_clr_vlink() local 1625 struct fcoe_fcf *fcf; fcoe_ctlr_select() local 1715 struct fcoe_fcf *fcf; fcoe_ctlr_flogi_retry() local 1746 struct fcoe_fcf *fcf; fcoe_ctlr_flogi_send() local 1805 struct fcoe_fcf *fcf; fcoe_ctlr_timer_work() local 3226 struct fcoe_fcf *fcf; fcoe_fcf_get_selected() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/fcoe/ |
H A D | fcoe_sysfs.c | 29 * should insulate the loss of a fcf. 37 " insulate the loss of a fcf. Once this value is" 38 " exceeded, the fcf is removed."); 115 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); \ 248 struct fcoe_fcf_device *fcf = dev_to_fcf(dev); show_fcf_state() local 497 struct fcoe_fcf_device *fcf; store_private_fcoe_ctlr_fcf_dev_loss_tmo() local 540 struct fcoe_fcf_device *fcf = dev_to_fcf(dev); store_fcoe_fcf_dev_loss_tmo() local 646 struct fcoe_fcf_device *fcf = dev_to_fcf(dev); fcoe_fcf_device_release() local 874 struct fcoe_fcf_device *fcf, *next; fcoe_ctlr_device_delete() local 905 struct fcoe_fcf_device *fcf = fcoe_fcf_device_final_delete() local 929 struct fcoe_fcf_device *fcf = fip_timeout_deleted_fcf() local 964 fcoe_fcf_device_delete(struct fcoe_fcf_device *fcf) fcoe_fcf_device_delete() argument 996 struct fcoe_fcf_device *fcf; fcoe_fcf_device_add() local [all...] |
H A D | fcoe_ctlr.c | 98 * @fcf: The FCF to check 102 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() 109 * @fcf: The FCF to check 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() 203 * The fcoe_sysfs layer can return a CONNECTED fcf that in fcoe_sysfs_fcf_add() 204 * has a priv (fcf was never deleted) or a CONNECTED fcf in fcoe_sysfs_fcf_add() 205 * that doesn't have a priv (fcf wa in fcoe_sysfs_fcf_add() 272 struct fcoe_fcf *fcf; fcoe_ctlr_reset_fcfs() local 321 struct fcoe_fcf *fcf; fcoe_ctlr_announce() local 376 fcoe_ctlr_solicit(struct fcoe_ctlr *fip, struct fcoe_fcf *fcf) fcoe_ctlr_solicit() argument 542 struct fcoe_fcf *fcf; fcoe_ctlr_send_keep_alive() local 614 struct fcoe_fcf *fcf; fcoe_ctlr_encaps() local 821 struct fcoe_fcf *fcf; fcoe_ctlr_age_fcfs() local 889 fcoe_ctlr_parse_adv(struct fcoe_ctlr *fip, struct sk_buff *skb, struct fcoe_fcf *fcf) fcoe_ctlr_parse_adv() argument 1020 struct fcoe_fcf *fcf; fcoe_ctlr_recv_adv() local 1316 struct fcoe_fcf *fcf = fip->sel_fcf; fcoe_ctlr_recv_clr_vlink() local 1617 struct fcoe_fcf *fcf; fcoe_ctlr_select() local 1707 struct fcoe_fcf *fcf; fcoe_ctlr_flogi_retry() local 1738 struct fcoe_fcf *fcf; fcoe_ctlr_flogi_send() local 1797 struct fcoe_fcf *fcf; fcoe_ctlr_timer_work() local 3218 struct fcoe_fcf *fcf; fcoe_fcf_get_selected() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
H A D | lpfc_hbadisc.c | 358 if (phba->fcf.fcf_flag & FCF_DISCOVERY) { in lpfc_sli4_post_dev_loss_tmo_handler() 368 if (phba->fcf.fcf_flag & FCF_REDISC_PROG) { in lpfc_sli4_post_dev_loss_tmo_handler() 668 if (phba->fcf.fcf_flag & FCF_REDISC_EVT) in lpfc_work_done() 923 phba->fcf.fcf_flag &= ~(FCF_AVAILABLE | FCF_SCAN_DONE); in lpfc_linkdown() 1251 * fcf priority list. The list deletions are done while holding the 1260 memset(phba->fcf.fcf_rr_bmask, 0, sizeof(*phba->fcf.fcf_rr_bmask)); in lpfc_sli4_clear_fcf_rr_bmask() 1263 &phba->fcf.fcf_pri_list, list) { in lpfc_sli4_clear_fcf_rr_bmask() 1283 phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_fcfi, &mboxq->u.mqe.un.reg_fcfi); in lpfc_mbx_cmpl_reg_fcfi() 1286 phba->fcf in lpfc_mbx_cmpl_reg_fcfi() [all...] |
H A D | lpfc_mbox.c | 2013 * lpfc_sli4_mbx_read_fcf_rec - Allocate and construct read fcf mbox cmd 2016 * @fcf_index: index to fcf table. 2134 vport->phba->fcf.fcfi); in lpfc_init_vfi() 2161 bf_set(lpfc_reg_vfi_fcfi, reg_vfi, phba->fcf.fcfi); in lpfc_reg_vfi() 2208 phba->fcf.fcfi, in lpfc_reg_vfi() 2489 /* addr mode is bit wise inverted value of fcf addr_mode */ in lpfc_reg_fcfi() 2491 (~phba->fcf.addr_mode) & 0x3); in lpfc_reg_fcfi() 2516 phba->fcf.current_rec.fcf_indx); in lpfc_reg_fcfi() 2517 if (phba->fcf.current_rec.vlan_id != LPFC_FCOE_NULL_VID) { in lpfc_reg_fcfi() 2520 phba->fcf in lpfc_reg_fcfi() [all...] |
H A D | lpfc_els.c | 1013 (phba->fcf.fcf_flag & FCF_DISCOVERY)) { in lpfc_cmpl_els_flogi() 1029 phba->fcf.current_rec.fcf_indx, in lpfc_cmpl_els_flogi() 1033 phba->fcf.current_rec.fcf_indx); in lpfc_cmpl_els_flogi() 1050 phba->fcf.fcf_flag); in lpfc_cmpl_els_flogi() 1143 phba->fcf.current_rec.fcf_indx, in lpfc_cmpl_els_flogi() 1144 phba->fcf.current_rec.switch_name[0], in lpfc_cmpl_els_flogi() 1145 phba->fcf.current_rec.switch_name[1], in lpfc_cmpl_els_flogi() 1146 phba->fcf.current_rec.switch_name[2], in lpfc_cmpl_els_flogi() 1147 phba->fcf.current_rec.switch_name[3], in lpfc_cmpl_els_flogi() 1148 phba->fcf in lpfc_cmpl_els_flogi() [all...] |
H A D | lpfc_init.c | 2948 phba->fcf.fcf_flag &= ~FCF_REDISC_PEND; in __lpfc_sli4_stop_fcf_redisc_wait_timer() 2951 del_timer(&phba->fcf.redisc_wait); in __lpfc_sli4_stop_fcf_redisc_wait_timer() 2967 if (!(phba->fcf.fcf_flag & FCF_REDISC_PEND)) { in lpfc_sli4_stop_fcf_redisc_wait_timer() 2974 phba->fcf.fcf_flag &= ~(FCF_DEAD_DISC | FCF_ACVL_DISC); in lpfc_sli4_stop_fcf_redisc_wait_timer() 4712 * lpfc_fcf_redisc_wait_start_timer - Start fcf rediscover wait timer 4722 /* Start fcf rediscovery wait period timer */ in lpfc_fcf_redisc_wait_start_timer() 4723 mod_timer(&phba->fcf.redisc_wait, fcf_redisc_wait_tmo); in lpfc_fcf_redisc_wait_start_timer() 4725 /* Allow action to new fcf asynchronous event */ in lpfc_fcf_redisc_wait_start_timer() 4726 phba->fcf.fcf_flag &= ~(FCF_AVAILABLE | FCF_SCAN_DONE); in lpfc_fcf_redisc_wait_start_timer() 4728 phba->fcf in lpfc_fcf_redisc_wait_start_timer() [all...] |
H A D | lpfc_sli.c | 4629 phba->fcf.fcf_flag = 0; in lpfc_sli4_brdreset() 7848 phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_fcfi, in lpfc_sli4_hba_setup() 7860 phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_mrq_fcfi, in lpfc_sli4_hba_setup() 7903 phba->fcf.fcf_flag = 0; in lpfc_sli4_hba_setup() 7904 phba->fcf.current_rec.flag = 0; in lpfc_sli4_hba_setup() 17550 if (phba->fcf.fcfi == fcfi && in lpfc_fc_frame_to_vport() 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 recor [all...] |
H A D | lpfc.h | 840 #define LPFC_FCF_FOV 1 /* Fast fcf failover */ 841 #define LPFC_FCF_PRIORITY 2 /* Priority fcf failover */ 1166 struct lpfc_fcf fcf; member
|
/kernel/linux/linux-6.6/drivers/scsi/lpfc/ |
H A D | lpfc_hbadisc.c | 658 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() 1588 * fcf priority list. The list deletions are done while holding the 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 in lpfc_mbx_cmpl_reg_fcfi() [all...] |
H A D | lpfc_mbox.c | 2074 * lpfc_sli4_mbx_read_fcf_rec - Allocate and construct read fcf mbox cmd 2077 * @fcf_index: index to fcf table. 2201 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() 2534 /* addr mode is bit wise inverted value of fcf addr_mode */ in lpfc_reg_fcfi() 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 in lpfc_reg_fcfi() [all...] |
H A D | lpfc_els.c | 988 (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 in lpfc_cmpl_els_flogi() [all...] |
H A D | lpfc_init.c | 3149 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() 5100 * lpfc_fcf_redisc_wait_start_timer - Start fcf rediscover wait timer 5110 /* Start fcf rediscovery wait period timer */ in lpfc_fcf_redisc_wait_start_timer() 5111 mod_timer(&phba->fcf.redisc_wait, fcf_redisc_wait_tmo); in lpfc_fcf_redisc_wait_start_timer() 5113 /* Allow action to new fcf asynchronous event */ 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 in lpfc_fcf_redisc_wait_start_timer() [all...] |
H A D | lpfc_sli.c | 5164 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() 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 recor [all...] |
H A D | lpfc.h | 1095 #define LPFC_FCF_FOV 1 /* Fast fcf failover */ 1096 #define LPFC_FCF_PRIORITY 2 /* Priority fcf failover */ 1416 struct lpfc_fcf fcf; member
|
/kernel/linux/linux-6.6/arch/x86/ |
H A D | Makefile | 49 -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)
|
/kernel/linux/linux-6.6/drivers/scsi/elx/libefc/ |
H A D | efc_cmds.h | 19 efc_cmd_domain_alloc(struct efc *efc, struct efc_domain *domain, u32 fcf);
|
H A D | efc_cmds.c | 455 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()
|
H A D | efclib.h | 189 * @fcf: FC Forwarder table index 220 u32 fcf; member
|
/kernel/linux/linux-5.10/arch/x86/ |
H A D | Makefile | 37 -mno-mmx -mno-sse $(call cc-option,-fcf-protection=none) 62 KBUILD_CFLAGS += $(call cc-option,-fcf-protection=none)
|
/kernel/linux/linux-6.6/tools/virtio/ |
H A D | Makefile | 17 CFLAGS += -g -O2 -Werror -Wno-maybe-uninitialized -Wall -I. -I../include/ -I ../../usr/include/ -Wno-pointer-sign -fno-strict-overflow -fno-strict-aliasing -fno-common -MMD -U_FORTIFY_SOURCE -include ../../include/linux/kconfig.h $(call cc-option,-mfunction-return=thunk) $(call cc-option,-fcf-protection=none) $(call cc-option,-mindirect-branch-register)
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | Makefile | 397 -fno-asynchronous-unwind-tables -fcf-protection \
|
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
H A D | bfa_defs_svc.h | 1105 struct bfa_fcport_fcf_s fcf; member
|
/kernel/linux/linux-6.6/drivers/scsi/bfa/ |
H A D | bfa_defs_svc.h | 1105 struct bfa_fcport_fcf_s fcf; member
|