Home
last modified time | relevance | path

Searched refs:se_hba (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/include/target/
H A Dtarget_core_backend.h29 int (*attach_hba)(struct se_hba *, u32);
30 void (*detach_hba)(struct se_hba *);
31 int (*pmode_enable_hba)(struct se_hba *, unsigned long);
33 struct se_device *(*alloc_device)(struct se_hba *, const char *);
H A Dtarget_core_base.h109 /* struct se_hba->hba_flags */
827 struct se_hba *se_hba; member
856 struct se_hba { struct
/kernel/linux/linux-6.6/include/target/
H A Dtarget_core_backend.h29 int (*attach_hba)(struct se_hba *, u32);
30 void (*detach_hba)(struct se_hba *);
31 int (*pmode_enable_hba)(struct se_hba *, unsigned long);
33 struct se_device *(*alloc_device)(struct se_hba *, const char *);
H A Dtarget_core_base.h111 /* struct se_hba->hba_flags */
845 struct se_hba *se_hba; member
890 struct se_hba { struct
/kernel/linux/linux-5.10/drivers/target/
H A Dtarget_core_pscsi.c52 static int pscsi_attach_hba(struct se_hba *hba, u32 host_id) in pscsi_attach_hba()
75 static void pscsi_detach_hba(struct se_hba *hba) in pscsi_detach_hba()
95 static int pscsi_pmode_enable_hba(struct se_hba *hba, unsigned long mode_flag) in pscsi_pmode_enable_hba()
336 static struct se_device *pscsi_alloc_device(struct se_hba *hba, in pscsi_alloc_device()
357 struct pscsi_hba_virt *phv = dev->se_hba->hba_ptr;
402 struct pscsi_hba_virt *phv = dev->se_hba->hba_ptr;
428 struct se_hba *hba = dev->se_hba; in pscsi_configure_device()
431 struct pscsi_hba_virt *phv = dev->se_hba->hba_ptr; in pscsi_configure_device()
562 struct pscsi_hba_virt *phv = dev->se_hba in pscsi_destroy_device()
[all...]
H A 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 *);
H A Dtarget_core_hba.c108 struct se_hba *
111 struct se_hba *hba; in core_alloc_hba()
116 pr_err("Unable to allocate struct se_hba\n"); in core_alloc_hba()
155 core_delete_hba(struct se_hba *hba) in core_delete_hba()
H A Dtarget_core_configfs.c75 static inline struct se_hba *
78 return container_of(to_config_group(item), struct se_hba, hba_group); in item_to_hba()
2172 struct se_hba *hba = dev->se_hba; in target_dev_alias_store()
2212 struct se_hba *hba = dev->se_hba; in target_dev_udev_path_store()
2294 struct se_hba *hba = dev->se_hba; in target_dev_alua_lu_gp_store()
2623 struct se_hba *hba; in target_lu_gp_members_show()
2633 hba = dev->se_hba; in target_lu_gp_members_show()
[all...]
H A Dtarget_core_device.c43 static struct se_hba *lun0_hba;
562 tpg->se_tpg_tfo->fabric_name, dev->se_hba->hba_id); in core_dev_add_lun()
723 struct se_device *target_alloc_device(struct se_hba *hba, const char *name) in target_alloc_device()
745 dev->se_hba = hba; in target_alloc_device()
925 struct se_hba *hba = dev->se_hba; in target_configure_device()
1002 struct se_hba *hba = dev->se_hba; in target_free_device()
1032 struct se_hba *hba; in core_dev_setup_virtual_lun0()
1067 struct se_hba *hb in core_dev_release_virtual_lun0()
[all...]
H A Dtarget_core_rd.c33 static int rd_attach_hba(struct se_hba *hba, u32 host_id) in rd_attach_hba()
52 static void rd_detach_hba(struct se_hba *hba) in rd_detach_hba()
270 static struct se_device *rd_alloc_device(struct se_hba *hba, const char *name) in rd_alloc_device()
287 struct rd_host *rd_host = dev->se_hba->hba_ptr; in rd_configure_device()
H A Dtarget_core_tpg.c586 !(dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE)) in core_tpg_add_lun()
602 if (!(dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE)) in core_tpg_add_lun()
645 if (!(dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE)) in core_tpg_remove_lun()
H A Dtarget_core_stat.c53 struct se_hba *hba = to_stat_dev(item)->se_hba; in target_stat_inst_show()
103 struct se_hba *hba = to_stat_tgt_dev(item)->se_hba; in target_stat_tgt_inst_show()
201 struct se_hba *hba = to_stat_lu_dev(item)->se_hba; in target_stat_lu_inst_show()
H A Dtarget_core_file.c36 static int fd_attach_hba(struct se_hba *hba, u32 host_id) in fd_attach_hba()
59 static void fd_detach_hba(struct se_hba *hba) in fd_detach_hba()
70 static struct se_device *fd_alloc_device(struct se_hba *hba, const char *name) in fd_alloc_device()
91 struct fd_host *fd_host = dev->se_hba->hba_ptr; in fd_configure_device()
H A Dtarget_core_iblock.c42 static int iblock_attach_hba(struct se_hba *hba, u32 host_id) in iblock_attach_hba()
50 static void iblock_detach_hba(struct se_hba *hba) in iblock_detach_hba()
54 static struct se_device *iblock_alloc_device(struct se_hba *hba, const char *name) in iblock_alloc_device()
/kernel/linux/linux-6.6/drivers/target/
H A Dtarget_core_pscsi.c49 static int pscsi_attach_hba(struct se_hba *hba, u32 host_id) in pscsi_attach_hba()
72 static void pscsi_detach_hba(struct se_hba *hba) in pscsi_detach_hba()
92 static int pscsi_pmode_enable_hba(struct se_hba *hba, unsigned long mode_flag) in pscsi_pmode_enable_hba()
331 static struct se_device *pscsi_alloc_device(struct se_hba *hba, in pscsi_alloc_device()
352 struct pscsi_hba_virt *phv = dev->se_hba->hba_ptr;
397 struct pscsi_hba_virt *phv = dev->se_hba->hba_ptr;
423 struct se_hba *hba = dev->se_hba; in pscsi_configure_device()
426 struct pscsi_hba_virt *phv = dev->se_hba->hba_ptr; in pscsi_configure_device()
557 struct pscsi_hba_virt *phv = dev->se_hba in pscsi_destroy_device()
[all...]
H A Dtarget_core_internal.h86 struct se_device *target_alloc_device(struct se_hba *hba, const char *name);
110 struct se_hba *core_alloc_hba(const char *, u32, u32);
111 int core_delete_hba(struct se_hba *);
H A Dtarget_core_hba.c108 struct se_hba *
111 struct se_hba *hba; in core_alloc_hba()
116 pr_err("Unable to allocate struct se_hba\n"); in core_alloc_hba()
155 core_delete_hba(struct se_hba *hba) in core_delete_hba()
H A Dtarget_core_device.c43 static struct se_hba *lun0_hba;
522 tpg->se_tpg_tfo->fabric_name, dev->se_hba->hba_id); in core_dev_add_lun()
683 struct se_device *target_alloc_device(struct se_hba *hba, const char *name) in target_alloc_device()
711 dev->se_hba = hba; in target_alloc_device()
896 struct se_hba *hba = dev->se_hba; in target_configure_device()
979 struct se_hba *hba = dev->se_hba; in target_free_device()
1009 struct se_hba *hba; in core_dev_setup_virtual_lun0()
1044 struct se_hba *hb in core_dev_release_virtual_lun0()
[all...]
H A Dtarget_core_configfs.c79 static inline struct se_hba *
82 return container_of(to_config_group(item), struct se_hba, hba_group); in item_to_hba()
2276 struct se_hba *hba = dev->se_hba; in target_dev_alias_store()
2316 struct se_hba *hba = dev->se_hba; in target_dev_udev_path_store()
2398 struct se_hba *hba = dev->se_hba; in target_dev_alua_lu_gp_store()
2726 struct se_hba *hba; in target_lu_gp_members_show()
2734 hba = dev->se_hba; in target_lu_gp_members_show()
[all...]
H A Dtarget_core_rd.c33 static int rd_attach_hba(struct se_hba *hba, u32 host_id) in rd_attach_hba()
52 static void rd_detach_hba(struct se_hba *hba) in rd_detach_hba()
270 static struct se_device *rd_alloc_device(struct se_hba *hba, const char *name) in rd_alloc_device()
287 struct rd_host *rd_host = dev->se_hba->hba_ptr; in rd_configure_device()
H A Dtarget_core_stat.c50 struct se_hba *hba = to_stat_dev(item)->se_hba; in target_stat_inst_show()
100 struct se_hba *hba = to_stat_tgt_dev(item)->se_hba; in target_stat_tgt_inst_show()
198 struct se_hba *hba = to_stat_lu_dev(item)->se_hba; in target_stat_lu_inst_show()
H A Dtarget_core_file.c37 static int fd_attach_hba(struct se_hba *hba, u32 host_id) in fd_attach_hba()
60 static void fd_detach_hba(struct se_hba *hba) in fd_detach_hba()
71 static struct se_device *fd_alloc_device(struct se_hba *hba, const char *name) in fd_alloc_device()
110 struct fd_host *fd_host = dev->se_hba->hba_ptr; in fd_configure_device()
H A Dtarget_core_tpg.c647 !(dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE)) in core_tpg_add_lun()
663 if (!(dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE)) in core_tpg_add_lun()
704 if (!(dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE)) in core_tpg_remove_lun()
/kernel/linux/linux-6.6/drivers/target/loopback/
H A Dtcm_loop.h47 struct se_hba_s *se_hba; member
/kernel/linux/linux-5.10/drivers/target/loopback/
H A Dtcm_loop.h48 struct se_hba_s *se_hba; member

Completed in 44 milliseconds

12