Home
last modified time | relevance | path

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

/linux-4.1.27/include/target/
Dtarget_core_backend.h25 int (*attach_hba)(struct se_hba *, u32);
26 void (*detach_hba)(struct se_hba *);
27 int (*pmode_enable_hba)(struct se_hba *, unsigned long);
29 struct se_device *(*alloc_device)(struct se_hba *, const char *);
Dtarget_core_base.h802 struct se_hba *se_hba; member
826 struct se_hba { struct
/linux-4.1.27/drivers/target/
Dtarget_core_internal.h37 struct se_device *target_alloc_device(struct se_hba *hba, const char *name);
42 struct se_hba *core_alloc_hba(const char *, u32, u32);
43 int core_delete_hba(struct se_hba *);
Dtarget_core_hba.c102 struct se_hba *
105 struct se_hba *hba; in core_alloc_hba()
149 core_delete_hba(struct se_hba *hba) in core_delete_hba()
Dtarget_core_pscsi.c69 static int pscsi_attach_hba(struct se_hba *hba, u32 host_id) in pscsi_attach_hba()
92 static void pscsi_detach_hba(struct se_hba *hba) in pscsi_detach_hba()
112 static int pscsi_pmode_enable_hba(struct se_hba *hba, unsigned long mode_flag) in pscsi_pmode_enable_hba()
351 static struct se_device *pscsi_alloc_device(struct se_hba *hba, in pscsi_alloc_device()
372 struct pscsi_hba_virt *phv = dev->se_hba->hba_ptr; in pscsi_create_type_disk()
416 struct pscsi_hba_virt *phv = dev->se_hba->hba_ptr; in pscsi_create_type_rom()
447 struct pscsi_hba_virt *phv = dev->se_hba->hba_ptr; in pscsi_create_type_other()
464 struct se_hba *hba = dev->se_hba; in pscsi_configure_device()
467 struct pscsi_hba_virt *phv = dev->se_hba->hba_ptr; in pscsi_configure_device()
587 struct pscsi_hba_virt *phv = dev->se_hba->hba_ptr; in pscsi_free_device()
[all …]
Dtarget_core_device.c54 static struct se_hba *lun0_hba;
532 !(dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE)) { in core_export_port()
579 struct se_hba *hba = dev->se_hba; in core_dev_export()
601 struct se_hba *hba = dev->se_hba; in core_dev_unexport()
1206 tpg->se_tpg_tfo->get_fabric_name(), dev->se_hba->hba_id); in core_dev_add_lun()
1471 struct se_device *target_alloc_device(struct se_hba *hba, const char *name) in target_alloc_device()
1481 dev->se_hba = hba; in target_alloc_device()
1552 struct se_hba *hba = dev->se_hba; in target_configure_device()
1638 struct se_hba *hba = dev->se_hba; in target_free_device()
1667 struct se_hba *hba; in core_dev_setup_virtual_lun0()
[all …]
Dtarget_core_configfs.c81 static inline struct se_hba *
84 return container_of(to_config_group(item), struct se_hba, hba_group); in item_to_hba()
1279 struct se_hba *hba = dev->se_hba; in target_core_store_dev_alias()
1329 struct se_hba *hba = dev->se_hba; in target_core_store_dev_udev_path()
1431 struct se_hba *hba = dev->se_hba; in target_core_store_alua_lu_gp()
1820 struct se_hba *hba; in target_core_alua_lu_gp_show_attr_members()
1830 hba = dev->se_hba; in target_core_alua_lu_gp_show_attr_members()
2531 struct se_hba *hba = item_to_hba(hba_ci); in target_core_make_subdev()
2630 struct se_hba *hba; in target_core_drop_subdev()
2635 hba = item_to_hba(&dev->se_hba->hba_group.cg_item); in target_core_drop_subdev()
[all …]
Dtarget_core_stat.c81 struct se_hba *hba = dev->se_hba; in target_stat_scsi_dev_show_attr_inst()
158 struct se_hba *hba = dev->se_hba; in target_stat_scsi_tgt_dev_show_attr_inst()
266 struct se_hba *hba = dev->se_hba; in target_stat_scsi_lu_show_attr_inst()
548 struct se_hba *hba; in target_stat_scsi_port_show_attr_inst()
557 hba = dev->se_hba; in target_stat_scsi_port_show_attr_inst()
691 struct se_hba *hba; in target_stat_scsi_tgt_port_show_attr_inst()
700 hba = dev->se_hba; in target_stat_scsi_tgt_port_show_attr_inst()
927 struct se_hba *hba; in target_stat_scsi_transport_show_attr_inst()
937 hba = dev->se_hba; in target_stat_scsi_transport_show_attr_inst()
Dtarget_core_rd.c50 static int rd_attach_hba(struct se_hba *hba, u32 host_id) in rd_attach_hba()
71 static void rd_detach_hba(struct se_hba *hba) in rd_detach_hba()
308 static struct se_device *rd_alloc_device(struct se_hba *hba, const char *name) in rd_alloc_device()
327 struct rd_host *rd_host = dev->se_hba->hba_ptr; in rd_configure_device()
Dtarget_core_file.c53 static int fd_attach_hba(struct se_hba *hba, u32 host_id) in fd_attach_hba()
76 static void fd_detach_hba(struct se_hba *hba) in fd_detach_hba()
87 static struct se_device *fd_alloc_device(struct se_hba *hba, const char *name) in fd_alloc_device()
108 struct fd_host *fd_host = dev->se_hba->hba_ptr; in fd_configure_device()
Dtarget_core_iblock.c63 static int iblock_attach_hba(struct se_hba *hba, u32 host_id) in iblock_attach_hba()
71 static void iblock_detach_hba(struct se_hba *hba) in iblock_detach_hba()
75 static struct se_device *iblock_alloc_device(struct se_hba *hba, const char *name) in iblock_alloc_device()
Dtarget_core_user.c80 struct se_hba *hba;
633 static int tcmu_attach_hba(struct se_hba *hba, u32 host_id) in tcmu_attach_hba()
647 static void tcmu_detach_hba(struct se_hba *hba) in tcmu_detach_hba()
653 static struct se_device *tcmu_alloc_device(struct se_hba *hba, const char *name) in tcmu_alloc_device()
Dtarget_core_alua.c705 if (dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE) in target_alua_state_check()
2381 !(dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE)) { in core_setup_alua()
Dtarget_core_transport.c693 dev->se_hba->hba_id, dev->transport->name, cmd->scsi_status); in transport_get_sense_buffer()
Dtarget_core_pr.c4097 if (dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE) in target_check_reservation()
/linux-4.1.27/drivers/target/loopback/
Dtcm_loop.h56 struct se_hba_s *se_hba; member