Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/target/
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 *);
A Dtarget_core_base.h844 struct se_hba *se_hba; member
887 struct se_hba { struct
/linux-6.3-rc2/drivers/target/
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; in pscsi_create_type_disk()
397 struct pscsi_hba_virt *phv = dev->se_hba->hba_ptr; in pscsi_create_type_nondisk()
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->hba_ptr; in pscsi_destroy_device()
715 struct pscsi_hba_virt *phv = dev->se_hba->hba_ptr; in pscsi_set_configfs_dev_params()
[all …]
A Dtarget_core_hba.c108 struct se_hba *
111 struct se_hba *hba; in core_alloc_hba()
155 core_delete_hba(struct se_hba *hba) in core_delete_hba()
A Dtarget_core_internal.h87 struct se_device *target_alloc_device(struct se_hba *hba, const char *name);
111 struct se_hba *core_alloc_hba(const char *, u32, u32);
112 int core_delete_hba(struct se_hba *);
A Dtarget_core_device.c43 static struct se_hba *lun0_hba;
568 tpg->se_tpg_tfo->fabric_name, dev->se_hba->hba_id); in core_dev_add_lun()
729 struct se_device *target_alloc_device(struct se_hba *hba, const char *name) in target_alloc_device()
757 dev->se_hba = hba; in target_alloc_device()
944 struct se_hba *hba = dev->se_hba; in target_configure_device()
1027 struct se_hba *hba = dev->se_hba; in target_free_device()
1057 struct se_hba *hba; in core_dev_setup_virtual_lun0()
1092 struct se_hba *hba = lun0_hba; in core_dev_release_virtual_lun0()
A Dtarget_core_configfs.c79 static inline struct se_hba *
2248 struct se_hba *hba = dev->se_hba; in target_dev_alias_store()
2288 struct se_hba *hba = dev->se_hba; in target_dev_udev_path_store()
2370 struct se_hba *hba = dev->se_hba; in target_dev_alua_lu_gp_store()
2698 struct se_hba *hba; in target_lu_gp_members_show()
2706 hba = dev->se_hba; in target_lu_gp_members_show()
3370 struct se_hba *hba; in target_core_drop_subdev()
3412 struct se_hba *hba = to_hba(item); in target_hba_info_show()
3421 struct se_hba *hba = to_hba(item); in target_hba_mode_show()
3468 struct se_hba, hba_group); in target_core_hba_release()
[all …]
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()
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()
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()
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()
A Dtarget_core_iblock.c43 static int iblock_attach_hba(struct se_hba *hba, u32 host_id) in iblock_attach_hba()
51 static void iblock_detach_hba(struct se_hba *hba) in iblock_detach_hba()
55 static struct se_device *iblock_alloc_device(struct se_hba *hba, const char *name) in iblock_alloc_device()
A Dtarget_core_alua.c654 if (dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE) in target_alua_state_check()
1912 (dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE)) in core_alua_store_tg_pt_gp_info()
2170 (dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE)) in core_alua_store_offline_bit()
2257 !(dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE)) { in core_setup_alua()
A Dtarget_core_user.c119 struct se_hba *hba;
1581 static int tcmu_attach_hba(struct se_hba *hba, u32 host_id) in tcmu_attach_hba()
1595 static void tcmu_detach_hba(struct se_hba *hba) in tcmu_detach_hba()
1601 static struct se_device *tcmu_alloc_device(struct se_hba *hba, const char *name) in tcmu_alloc_device()
A Dtarget_core_sbc.c905 dev->se_hba->backend->ops->name, in sbc_parse_cdb()
A Dtarget_core_transport.c777 dev->se_hba->hba_id, dev->transport->name, cmd->scsi_status); in transport_get_sense_buffer()
A Dtarget_core_pr.c4095 if (dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE) in target_check_reservation()
/linux-6.3-rc2/drivers/target/loopback/
A Dtcm_loop.h47 struct se_hba_s *se_hba; member

Completed in 69 milliseconds