Home
last modified time | relevance | path

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

/Linux-v4.19/include/target/
Dtarget_core_backend.h28 int (*attach_hba)(struct se_hba *, u32);
29 void (*detach_hba)(struct se_hba *);
30 int (*pmode_enable_hba)(struct se_hba *, unsigned long);
32 struct se_device *(*alloc_device)(struct se_hba *, const char *);
Dtarget_core_base.h804 struct se_hba *se_hba; member
830 struct se_hba { struct
/Linux-v4.19/drivers/target/
Dtarget_core_hba.c121 struct se_hba *
124 struct se_hba *hba; in core_alloc_hba()
168 core_delete_hba(struct se_hba *hba) in core_delete_hba()
Dtarget_core_pscsi.c65 static int pscsi_attach_hba(struct se_hba *hba, u32 host_id) in pscsi_attach_hba()
88 static void pscsi_detach_hba(struct se_hba *hba) in pscsi_detach_hba()
108 static int pscsi_pmode_enable_hba(struct se_hba *hba, unsigned long mode_flag) in pscsi_pmode_enable_hba()
349 static struct se_device *pscsi_alloc_device(struct se_hba *hba, in pscsi_alloc_device()
370 struct pscsi_hba_virt *phv = dev->se_hba->hba_ptr; in pscsi_create_type_disk()
415 struct pscsi_hba_virt *phv = dev->se_hba->hba_ptr; in pscsi_create_type_nondisk()
441 struct se_hba *hba = dev->se_hba; in pscsi_configure_device()
444 struct pscsi_hba_virt *phv = dev->se_hba->hba_ptr; in pscsi_configure_device()
575 struct pscsi_hba_virt *phv = dev->se_hba->hba_ptr; in pscsi_destroy_device()
734 struct pscsi_hba_virt *phv = dev->se_hba->hba_ptr; in pscsi_set_configfs_dev_params()
[all …]
Dtarget_core_internal.h86 struct se_device *target_alloc_device(struct se_hba *hba, const char *name);
109 struct se_hba *core_alloc_hba(const char *, u32, u32);
110 int core_delete_hba(struct se_hba *);
Dtarget_core_device.c56 static struct se_hba *lun0_hba;
576 tpg->se_tpg_tfo->get_fabric_name(), dev->se_hba->hba_id); in core_dev_add_lun()
756 struct se_device *target_alloc_device(struct se_hba *hba, const char *name) in target_alloc_device()
765 dev->se_hba = hba; in target_alloc_device()
940 struct se_hba *hba = dev->se_hba; in target_configure_device()
1044 struct se_hba *hba = dev->se_hba; in target_free_device()
1075 struct se_hba *hba; in core_dev_setup_virtual_lun0()
1110 struct se_hba *hba = lun0_hba; in core_dev_release_virtual_lun0()
Dtarget_core_configfs.c83 static inline struct se_hba *
86 return container_of(to_config_group(item), struct se_hba, hba_group); in item_to_hba()
1880 struct se_hba *hba = dev->se_hba; in target_dev_alias_store()
1920 struct se_hba *hba = dev->se_hba; in target_dev_udev_path_store()
2002 struct se_hba *hba = dev->se_hba; in target_dev_alua_lu_gp_store()
2331 struct se_hba *hba; in target_lu_gp_members_show()
2341 hba = dev->se_hba; in target_lu_gp_members_show()
2931 struct se_hba *hba = item_to_hba(hba_ci); in target_core_make_subdev()
3008 struct se_hba *hba; in target_core_drop_subdev()
3010 hba = item_to_hba(&dev->se_hba->hba_group.cg_item); in target_core_drop_subdev()
[all …]
Dtarget_core_rd.c46 static int rd_attach_hba(struct se_hba *hba, u32 host_id) in rd_attach_hba()
65 static void rd_detach_hba(struct se_hba *hba) in rd_detach_hba()
283 static struct se_device *rd_alloc_device(struct se_hba *hba, const char *name) in rd_alloc_device()
300 struct rd_host *rd_host = dev->se_hba->hba_ptr; in rd_configure_device()
Dtarget_core_tpg.c613 !(dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE)) in core_tpg_add_lun()
629 if (!(dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE)) in core_tpg_add_lun()
672 if (!(dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE)) in core_tpg_remove_lun()
Dtarget_core_file.c49 static int fd_attach_hba(struct se_hba *hba, u32 host_id) in fd_attach_hba()
72 static void fd_detach_hba(struct se_hba *hba) in fd_detach_hba()
83 static struct se_device *fd_alloc_device(struct se_hba *hba, const char *name) in fd_alloc_device()
104 struct fd_host *fd_host = dev->se_hba->hba_ptr; in fd_configure_device()
Dtarget_core_stat.c66 struct se_hba *hba = to_stat_dev(item)->se_hba; in target_stat_inst_show()
116 struct se_hba *hba = to_stat_tgt_dev(item)->se_hba; in target_stat_tgt_inst_show()
214 struct se_hba *hba = to_stat_lu_dev(item)->se_hba; in target_stat_lu_inst_show()
Dtarget_core_iblock.c55 static int iblock_attach_hba(struct se_hba *hba, u32 host_id) in iblock_attach_hba()
63 static void iblock_detach_hba(struct se_hba *hba) in iblock_detach_hba()
67 static struct se_device *iblock_alloc_device(struct se_hba *hba, const char *name) in iblock_alloc_device()
Dtarget_core_alua.c691 if (dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE) in target_alua_state_check()
1936 (dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE)) in core_alua_store_tg_pt_gp_info()
2193 (dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE)) in core_alua_store_offline_bit()
2280 !(dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE)) { in core_setup_alua()
Dtarget_core_user.c128 struct se_hba *hba;
1331 static int tcmu_attach_hba(struct se_hba *hba, u32 host_id) in tcmu_attach_hba()
1345 static void tcmu_detach_hba(struct se_hba *hba) in tcmu_detach_hba()
1351 static struct se_device *tcmu_alloc_device(struct se_hba *hba, const char *name) in tcmu_alloc_device()
Dtarget_core_sbc.c982 dev->se_hba->backend->ops->name, in sbc_parse_cdb()
Dtarget_core_transport.c751 dev->se_hba->hba_id, dev->transport->name, cmd->scsi_status); in transport_get_sense_buffer()
Dtarget_core_pr.c4096 if (dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE) in target_check_reservation()
/Linux-v4.19/drivers/target/loopback/
Dtcm_loop.h48 struct se_hba_s *se_hba; member