/kernel/linux/linux-5.10/drivers/scsi/fcoe/ |
H A D | fcoe_sysfs.c | 441 struct fcoe_ctlr_device *ctlr_dev = dev_to_ctlr(dev); in store_ctlr_r_a_tov() local 442 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in store_ctlr_r_a_tov() 444 if (ctlr_dev->enabled == FCOE_CTLR_ENABLED) in store_ctlr_r_a_tov() 446 if (ctlr_dev->enabled == FCOE_CTLR_DISABLED) in store_ctlr_r_a_tov() 455 struct fcoe_ctlr_device *ctlr_dev = dev_to_ctlr(dev); in show_ctlr_r_a_tov() local 456 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in show_ctlr_r_a_tov() 468 struct fcoe_ctlr_device *ctlr_dev = dev_to_ctlr(dev); in store_ctlr_e_d_tov() local 469 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in store_ctlr_e_d_tov() 471 if (ctlr_dev->enabled == FCOE_CTLR_ENABLED) in store_ctlr_e_d_tov() 473 if (ctlr_dev in store_ctlr_e_d_tov() 482 struct fcoe_ctlr_device *ctlr_dev = dev_to_ctlr(dev); show_ctlr_e_d_tov() local [all...] |
H A D | fcoe.c | 116 static void fcoe_ctlr_mode(struct fcoe_ctlr_device *ctlr_dev); 382 struct fcoe_ctlr_device *ctlr_dev; in fcoe_interface_create() local 396 ctlr_dev = fcoe_ctlr_device_add(&netdev->dev, &fcoe_sysfs_templ, in fcoe_interface_create() 398 if (!ctlr_dev) { in fcoe_interface_create() 404 ctlr = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_interface_create() 405 ctlr->cdev = ctlr_dev; in fcoe_interface_create() 421 fcoe_ctlr_device_delete(ctlr_dev); in fcoe_interface_create() 2032 * @ctlr_dev: The FCoE Controller that is being modified 2038 static void fcoe_ctlr_mode(struct fcoe_ctlr_device *ctlr_dev) in fcoe_ctlr_mode() argument 2040 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_ctlr_mode() 2201 struct fcoe_ctlr_device *ctlr_dev; _fcoe_create() local 2808 struct fcoe_ctlr_device *ctlr_dev = fcoe_fcf_get_vlan_id() local [all...] |
H A D | fcoe_ctlr.c | 164 struct fcoe_ctlr_device *ctlr_dev; in fcoe_sysfs_fcf_add() local 185 * If ctlr_dev doesn't exist then it means we're a libfcoe user in fcoe_sysfs_fcf_add() 192 ctlr_dev = fcoe_ctlr_to_ctlr_dev(fip); in fcoe_sysfs_fcf_add() 193 if (ctlr_dev) { in fcoe_sysfs_fcf_add() 194 mutex_lock(&ctlr_dev->lock); in fcoe_sysfs_fcf_add() 195 fcf_dev = fcoe_fcf_device_add(ctlr_dev, temp); in fcoe_sysfs_fcf_add() 198 mutex_unlock(&ctlr_dev->lock); in fcoe_sysfs_fcf_add() 216 mutex_unlock(&ctlr_dev->lock); in fcoe_sysfs_fcf_add() 244 * If ctlr_dev doesn't exist then it means we're a libfcoe user in fcoe_sysfs_fcf_del() 3224 struct fcoe_ctlr_device *ctlr_dev in fcoe_fcf_get_selected() local 3242 fcoe_ctlr_set_fip_mode(struct fcoe_ctlr_device *ctlr_dev) fcoe_ctlr_set_fip_mode() argument [all...] |
H A D | fcoe_transport.c | 214 * @ctlr_dev: The given fcoe controller device 217 void fcoe_ctlr_get_lesb(struct fcoe_ctlr_device *ctlr_dev) in fcoe_ctlr_get_lesb() argument 219 struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_ctlr_get_lesb() 223 fc_lesb = (struct fc_els_lesb *)(&ctlr_dev->lesb); in fcoe_ctlr_get_lesb()
|
/kernel/linux/linux-6.6/drivers/scsi/fcoe/ |
H A D | fcoe_sysfs.c | 441 struct fcoe_ctlr_device *ctlr_dev = dev_to_ctlr(dev); in store_ctlr_r_a_tov() local 442 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in store_ctlr_r_a_tov() 444 if (ctlr_dev->enabled == FCOE_CTLR_ENABLED) in store_ctlr_r_a_tov() 446 if (ctlr_dev->enabled == FCOE_CTLR_DISABLED) in store_ctlr_r_a_tov() 455 struct fcoe_ctlr_device *ctlr_dev = dev_to_ctlr(dev); in show_ctlr_r_a_tov() local 456 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in show_ctlr_r_a_tov() 468 struct fcoe_ctlr_device *ctlr_dev = dev_to_ctlr(dev); in store_ctlr_e_d_tov() local 469 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in store_ctlr_e_d_tov() 471 if (ctlr_dev->enabled == FCOE_CTLR_ENABLED) in store_ctlr_e_d_tov() 473 if (ctlr_dev in store_ctlr_e_d_tov() 482 struct fcoe_ctlr_device *ctlr_dev = dev_to_ctlr(dev); show_ctlr_e_d_tov() local [all...] |
H A D | fcoe.c | 116 static void fcoe_ctlr_mode(struct fcoe_ctlr_device *ctlr_dev); 382 struct fcoe_ctlr_device *ctlr_dev; in fcoe_interface_create() local 396 ctlr_dev = fcoe_ctlr_device_add(&netdev->dev, &fcoe_sysfs_templ, in fcoe_interface_create() 398 if (!ctlr_dev) { in fcoe_interface_create() 404 ctlr = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_interface_create() 405 ctlr->cdev = ctlr_dev; in fcoe_interface_create() 421 fcoe_ctlr_device_delete(ctlr_dev); in fcoe_interface_create() 2018 * @ctlr_dev: The FCoE Controller that is being modified 2024 static void fcoe_ctlr_mode(struct fcoe_ctlr_device *ctlr_dev) in fcoe_ctlr_mode() argument 2026 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_ctlr_mode() 2187 struct fcoe_ctlr_device *ctlr_dev; _fcoe_create() local 2795 struct fcoe_ctlr_device *ctlr_dev = fcoe_fcf_get_vlan_id() local [all...] |
H A D | fcoe_ctlr.c | 164 struct fcoe_ctlr_device *ctlr_dev; in fcoe_sysfs_fcf_add() local 185 * If ctlr_dev doesn't exist then it means we're a libfcoe user in fcoe_sysfs_fcf_add() 192 ctlr_dev = fcoe_ctlr_to_ctlr_dev(fip); in fcoe_sysfs_fcf_add() 193 if (ctlr_dev) { in fcoe_sysfs_fcf_add() 194 mutex_lock(&ctlr_dev->lock); in fcoe_sysfs_fcf_add() 195 fcf_dev = fcoe_fcf_device_add(ctlr_dev, temp); in fcoe_sysfs_fcf_add() 198 mutex_unlock(&ctlr_dev->lock); in fcoe_sysfs_fcf_add() 216 mutex_unlock(&ctlr_dev->lock); in fcoe_sysfs_fcf_add() 244 * If ctlr_dev doesn't exist then it means we're a libfcoe user in fcoe_sysfs_fcf_del() 3216 struct fcoe_ctlr_device *ctlr_dev in fcoe_fcf_get_selected() local 3234 fcoe_ctlr_set_fip_mode(struct fcoe_ctlr_device *ctlr_dev) fcoe_ctlr_set_fip_mode() argument [all...] |
H A D | fcoe_transport.c | 215 * @ctlr_dev: The given fcoe controller device 218 void fcoe_ctlr_get_lesb(struct fcoe_ctlr_device *ctlr_dev) in fcoe_ctlr_get_lesb() argument 220 struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_ctlr_get_lesb() 224 fc_lesb = (struct fc_els_lesb *)(&ctlr_dev->lesb); in fcoe_ctlr_get_lesb()
|
/kernel/linux/linux-5.10/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_fcoe.c | 139 struct fcoe_ctlr_device *ctlr_dev = in bnx2fc_fcf_get_vlan_id() local 141 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in bnx2fc_fcf_get_vlan_id() 1310 struct fcoe_ctlr_device *ctlr_dev; in bnx2fc_interface_release() local 1319 ctlr_dev = fcoe_ctlr_to_ctlr_dev(ctlr); in bnx2fc_interface_release() 1326 fcoe_ctlr_device_delete(ctlr_dev); in bnx2fc_interface_release() 1442 struct fcoe_ctlr_device *ctlr_dev; in bnx2fc_interface_create() local 1449 ctlr_dev = fcoe_ctlr_device_add(&netdev->dev, &bnx2fc_fcoe_sysfs_templ, in bnx2fc_interface_create() 1451 if (!ctlr_dev) { in bnx2fc_interface_create() 1455 ctlr = fcoe_ctlr_device_priv(ctlr_dev); in bnx2fc_interface_create() 1456 ctlr->cdev = ctlr_dev; in bnx2fc_interface_create() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_fcoe.c | 141 struct fcoe_ctlr_device *ctlr_dev = in bnx2fc_fcf_get_vlan_id() local 143 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in bnx2fc_fcf_get_vlan_id() 1302 struct fcoe_ctlr_device *ctlr_dev; in bnx2fc_interface_release() local 1311 ctlr_dev = fcoe_ctlr_to_ctlr_dev(ctlr); in bnx2fc_interface_release() 1318 fcoe_ctlr_device_delete(ctlr_dev); in bnx2fc_interface_release() 1434 struct fcoe_ctlr_device *ctlr_dev; in bnx2fc_interface_create() local 1441 ctlr_dev = fcoe_ctlr_device_add(&netdev->dev, &bnx2fc_fcoe_sysfs_templ, in bnx2fc_interface_create() 1443 if (!ctlr_dev) { in bnx2fc_interface_create() 1447 ctlr = fcoe_ctlr_device_priv(ctlr_dev); in bnx2fc_interface_create() 1448 ctlr->cdev = ctlr_dev; in bnx2fc_interface_create() [all...] |
/kernel/linux/linux-5.10/include/scsi/ |
H A D | libfcoe.h | 265 void fcoe_ctlr_get_lesb(struct fcoe_ctlr_device *ctlr_dev);
|
/kernel/linux/linux-6.6/include/scsi/ |
H A D | libfcoe.h | 266 void fcoe_ctlr_get_lesb(struct fcoe_ctlr_device *ctlr_dev);
|