| /Linux-v5.15/include/target/ |
| D | target_core_backend.h | 33 struct se_device *(*alloc_device)(struct se_hba *, const char *); 34 int (*configure_device)(struct se_device *); 35 void (*destroy_device)(struct se_device *); 36 void (*free_device)(struct se_device *device); 37 struct se_dev_plug *(*plug_device)(struct se_device *se_dev); 40 ssize_t (*set_configfs_dev_params)(struct se_device *, 42 ssize_t (*show_configfs_dev_params)(struct se_device *, char *); 45 void (*tmr_notify)(struct se_device *se_dev, enum tcm_tmreq_table, 47 u32 (*get_device_type)(struct se_device *); 48 sector_t (*get_blocks)(struct se_device *); [all …]
|
| D | target_core_base.h | 262 struct se_device *t10_dev; 286 struct se_device *lu_gp_mem_dev; 306 struct se_device *tg_pt_gp_dev; 335 struct se_device *t10_dev; 415 struct se_device *tmr_dev; 491 struct se_device *se_dev; 638 struct se_device; 713 struct se_device *da_dev; 739 struct se_device __rcu *lun_se_dev; 779 struct se_device *se_dev; [all …]
|
| /Linux-v5.15/drivers/target/ |
| D | target_core_internal.h | 62 int core_alloc_rtpi(struct se_lun *lun, struct se_device *dev); 74 int core_dev_add_lun(struct se_portal_group *, struct se_device *, 87 struct se_device *target_alloc_device(struct se_hba *hba, const char *name); 88 int target_configure_device(struct se_device *dev); 89 void target_free_device(struct se_device *); 90 int target_for_each_device(int (*fn)(struct se_device *dev, void *data), 114 void core_tmr_abort_task(struct se_device *, struct se_tmr_req *, 116 int core_tmr_lun_reset(struct se_device *, struct se_tmr_req *, 120 extern struct se_device *g_lun0_dev; 129 bool, struct se_device *); [all …]
|
| D | target_core_pr.h | 55 void spc_gen_naa_6h_vendor_specific(struct se_device *, unsigned char *); 61 extern void target_release_reservation(struct se_device *dev); 68 extern int core_scsi3_check_aptpl_registration(struct se_device *, 71 extern void core_scsi3_free_pr_reg_from_nacl(struct se_device *, 73 extern void core_scsi3_free_all_registrations(struct se_device *);
|
| D | target_core_stat.c | 41 static struct se_device *to_stat_dev(struct config_item *item) in to_stat_dev() 45 return container_of(sgrps, struct se_device, dev_stat_grps); in to_stat_dev() 91 static struct se_device *to_stat_tgt_dev(struct config_item *item) in to_stat_tgt_dev() 95 return container_of(sgrps, struct se_device, dev_stat_grps); in to_stat_tgt_dev() 189 static struct se_device *to_stat_lu_dev(struct config_item *item) in to_stat_lu_dev() 193 return container_of(sgrps, struct se_device, dev_stat_grps); in to_stat_lu_dev() 222 struct se_device *dev = to_stat_lu_dev(item); in target_stat_lu_lu_name_show() 232 struct se_device *dev = to_stat_lu_dev(item); in target_stat_lu_vend_show() 240 struct se_device *dev = to_stat_lu_dev(item); in target_stat_lu_prod_show() 248 struct se_device *dev = to_stat_lu_dev(item); in target_stat_lu_rev_show() [all …]
|
| D | target_core_alua.h | 90 struct se_device *, struct se_lun *, 97 extern void core_alua_set_lba_map(struct se_device *, struct list_head *, 102 extern void core_alua_free_lu_gp_mem(struct se_device *); 109 extern void core_alua_drop_lu_gp_dev(struct se_device *); 111 struct se_device *, const char *, int); 148 extern int core_setup_alua(struct se_device *);
|
| D | target_core_iblock.c | 36 static inline struct iblock_dev *IBLOCK_DEV(struct se_device *dev) in IBLOCK_DEV() 54 static struct se_device *iblock_alloc_device(struct se_hba *hba, const char *name) in iblock_alloc_device() 78 static int iblock_configure_device(struct se_device *dev) in iblock_configure_device() 180 struct se_device *dev = container_of(p, struct se_device, rcu_head); in iblock_dev_call_rcu() 187 static void iblock_free_device(struct se_device *dev) in iblock_free_device() 192 static void iblock_destroy_device(struct se_device *dev) in iblock_destroy_device() 201 static struct se_dev_plug *iblock_plug_device(struct se_device *se_dev) in iblock_plug_device() 229 struct se_device *dev, in iblock_emulate_read_cap_with_block_size() 433 struct se_device *dev = cmd->se_dev; in iblock_execute_unmap() 451 struct se_device *dev = cmd->se_dev; in iblock_execute_zero_out() [all …]
|
| D | target_core_file.c | 31 static inline struct fd_dev *FD_DEV(struct se_device *dev) in FD_DEV() 70 static struct se_device *fd_alloc_device(struct se_hba *hba, const char *name) in fd_alloc_device() 88 static int fd_configure_device(struct se_device *dev) in fd_configure_device() 219 struct se_device *dev = container_of(p, struct se_device, rcu_head); in fd_dev_call_rcu() 225 static void fd_free_device(struct se_device *dev) in fd_free_device() 230 static void fd_destroy_device(struct se_device *dev) in fd_destroy_device() 266 struct se_device *dev = cmd->se_dev; in fd_execute_rw_aio() 386 struct se_device *dev = cmd->se_dev; in fd_execute_sync_cache() 431 struct se_device *se_dev = cmd->se_dev; in fd_execute_write_same() 486 fd_do_prot_fill(struct se_device *se_dev, sector_t lba, sector_t nolb, in fd_do_prot_fill() [all …]
|
| D | target_core_rd.c | 28 static inline struct rd_dev *RD_DEV(struct se_device *dev) in RD_DEV() 270 static struct se_device *rd_alloc_device(struct se_hba *hba, const char *name) in rd_alloc_device() 284 static int rd_configure_device(struct se_device *dev) in rd_configure_device() 321 struct se_device *dev = container_of(p, struct se_device, rcu_head); in rd_dev_call_rcu() 327 static void rd_free_device(struct se_device *dev) in rd_free_device() 332 static void rd_destroy_device(struct se_device *dev) in rd_destroy_device() 381 struct se_device *se_dev = cmd->se_dev; in rd_do_prot_rw() 420 struct se_device *se_dev = cmd->se_dev; in rd_execute_rw() 543 static ssize_t rd_set_configfs_dev_params(struct se_device *dev, in rd_set_configfs_dev_params() 595 static ssize_t rd_show_configfs_dev_params(struct se_device *dev, char *b) in rd_show_configfs_dev_params() [all …]
|
| D | target_core_pr.c | 67 static void __core_scsi3_complete_pro_release(struct se_device *, struct se_node_acl *, 89 struct se_device *dev = cmd->se_dev; in target_scsi2_reservation_check() 115 static struct t10_pr_registration *core_scsi3_locate_pr_reg(struct se_device *, 122 struct se_device *dev = cmd->se_dev; in target_check_scsi2_reservation_conflict() 190 void target_release_reservation(struct se_device *dev) in target_release_reservation() 203 struct se_device *dev = cmd->se_dev; in target_scsi2_reservation_release() 244 struct se_device *dev = cmd->se_dev; in target_scsi2_reservation_reserve() 566 struct se_device *dev = cmd->se_dev; in target_scsi3_pr_reservation_check() 595 static u32 core_scsi3_pr_generation(struct se_device *dev) in core_scsi3_pr_generation() 616 struct se_device *dev, in __core_scsi3_do_alloc_registration() [all …]
|
| D | target_core_configfs.c | 606 static void dev_set_t10_wwn_model_alias(struct se_device *dev) in dev_set_t10_wwn_model_alias() 628 struct se_device *dev = da->da_dev; in emulate_model_alias_store() 787 struct se_device *dev = da->da_dev; in pi_prot_type_store() 855 struct se_device *dev = da->da_dev; in pi_prot_format_store() 1002 struct se_device *dev = da->da_dev; in queue_depth_store() 1112 struct se_device *dev = da->da_dev; in alua_support_store() 1151 struct se_device *dev = da->da_dev; in pgr_support_store() 1332 struct se_device *dev = t10_wwn->t10_dev; in target_wwn_vendor_id_store() 1388 struct se_device *dev = t10_wwn->t10_dev; in target_wwn_product_id_store() 1444 struct se_device *dev = t10_wwn->t10_dev; in target_wwn_revision_store() [all …]
|
| D | target_core_pscsi.c | 37 static inline struct pscsi_dev_virt *PSCSI_DEV(struct se_device *dev) in PSCSI_DEV() 134 static void pscsi_tape_read_blocksize(struct se_device *dev, in pscsi_tape_read_blocksize() 285 static int pscsi_add_device_to_list(struct se_device *dev, in pscsi_add_device_to_list() 334 static struct se_device *pscsi_alloc_device(struct se_hba *hba, in pscsi_alloc_device() 352 static int pscsi_create_type_disk(struct se_device *dev, struct scsi_device *sd) in pscsi_create_type_disk() 397 static int pscsi_create_type_nondisk(struct se_device *dev, struct scsi_device *sd) in pscsi_create_type_nondisk() 424 static int pscsi_configure_device(struct se_device *dev) in pscsi_configure_device() 546 struct se_device *dev = container_of(p, struct se_device, rcu_head); in pscsi_dev_call_rcu() 552 static void pscsi_free_device(struct se_device *dev) in pscsi_free_device() 557 static void pscsi_destroy_device(struct se_device *dev) in pscsi_destroy_device() [all …]
|
| D | target_core_device.c | 45 struct se_device *g_lun0_dev; 400 struct se_device *dev = rcu_dereference_raw(lun->lun_se_dev); in core_disable_device_list_for_node() 473 int core_alloc_rtpi(struct se_lun *lun, struct se_device *dev) in core_alloc_rtpi() 514 static void se_release_vpd_for_dev(struct se_device *dev) in se_release_vpd_for_dev() 547 struct se_device *dev, in core_dev_add_lun() 635 struct se_device *dev = rcu_dereference_raw(lun->lun_se_dev); in core_dev_add_initiator_node_lun_acl() 703 static void scsi_dump_inquiry(struct se_device *dev) in scsi_dump_inquiry() 720 struct se_device *target_alloc_device(struct se_hba *hba, const char *name) in target_alloc_device() 722 struct se_device *dev; in target_alloc_device() 860 sector_t target_to_linux_sector(struct se_device *dev, sector_t lb) in target_to_linux_sector() [all …]
|
| D | target_core_spc.c | 76 struct se_device *dev = cmd->se_dev; in spc_emulate_inquiry_std() 153 struct se_device *dev = cmd->se_dev; in spc_emulate_evpd_80() 167 void spc_gen_naa_6h_vendor_specific(struct se_device *dev, in spc_gen_naa_6h_vendor_specific() 217 struct se_device *dev = cmd->se_dev; in spc_emulate_evpd_83() 471 struct se_device *dev = cmd->se_dev; in spc_emulate_evpd_86() 513 struct se_device *dev = cmd->se_dev; in spc_emulate_evpd_b0() 607 struct se_device *dev = cmd->se_dev; in spc_emulate_evpd_b1() 620 struct se_device *dev = cmd->se_dev; in spc_emulate_evpd_b2() 684 struct se_device *dev = cmd->se_dev; in spc_emulate_evpd_b3() 734 struct se_device *dev = cmd->se_dev; in spc_emulate_inquiry() [all …]
|
| D | target_core_xcopy.h | 25 struct se_device *src_dev; 27 struct se_device *dst_dev;
|
| D | target_core_tmr.c | 53 struct se_device *dev = tmr->tmr_dev; in core_tmr_release_req() 115 struct se_device *dev, in core_tmr_abort_task() 192 struct se_device *dev, in core_tmr_drain_tmr_list() 272 struct se_device *dev, in core_tmr_drain_state_list() 361 struct se_device *dev, in core_tmr_lun_reset()
|
| D | target_core_xcopy.c | 43 static int target_xcopy_locate_se_dev_e4_iter(struct se_device *se_dev, in target_xcopy_locate_se_dev_e4_iter() 70 struct se_device **_found_dev, in target_xcopy_locate_se_dev_e4() 76 struct se_device *found_dev = NULL; in target_xcopy_locate_se_dev_e4() 88 struct se_device *this_dev; in target_xcopy_locate_se_dev_e4() 205 struct se_device *local_dev = se_cmd->se_dev; in target_xcopy_parse_target_descriptors() 525 struct se_device *se_dev, in target_xcopy_setup_pt_cmd() 584 struct se_device *src_dev, in target_xcopy_read_source() 629 struct se_device *dst_dev, in target_xcopy_write_destination() 672 struct se_device *src_dev, *dst_dev; in target_xcopy_do_work() 879 struct se_device *dev = se_cmd->se_dev; in target_do_xcopy()
|
| D | target_core_sbc.c | 28 sbc_check_prot(struct se_device *, struct se_cmd *, unsigned char, u32, bool); 34 struct se_device *dev = cmd->se_dev; in sbc_emulate_readcapacity() 77 struct se_device *dev = cmd->se_dev; in sbc_emulate_readcapacity_16() 284 struct se_device *dev = cmd->se_dev; in sbc_setup_write_same() 416 struct se_device *dev = cmd->se_dev; in compare_and_write_post() 502 struct se_device *dev = cmd->se_dev; in compare_and_write_callback() 624 struct se_device *dev = cmd->se_dev; in sbc_compare_and_write() 720 sbc_check_prot(struct se_device *dev, struct se_cmd *cmd, unsigned char protect, in sbc_check_prot() 798 sbc_check_dpofua(struct se_device *dev, struct se_cmd *cmd, unsigned char *cdb) in sbc_check_dpofua() 823 struct se_device *dev = cmd->se_dev; in sbc_parse_cdb() [all …]
|
| D | target_core_alua.c | 58 struct se_device *dev = cmd->se_dev; in target_emulate_report_referrals() 138 struct se_device *dev = cmd->se_dev; in target_emulate_report_target_port_groups() 270 struct se_device *dev = cmd->se_dev; in target_emulate_set_target_port_groups() 449 struct se_device *dev = cmd->se_dev; in core_alua_state_lba_dependent() 643 struct se_device *dev = cmd->se_dev; in target_alua_state_check() 1053 struct se_device *l_dev, in core_alua_do_port_transition() 1059 struct se_device *dev; in core_alua_do_port_transition() 1333 core_alua_set_lba_map(struct se_device *dev, struct list_head *lba_map_list, in core_alua_set_lba_map() 1439 core_alua_allocate_lu_gp_mem(struct se_device *dev) in core_alua_allocate_lu_gp_mem() 1517 void core_alua_free_lu_gp_mem(struct se_device *dev) in core_alua_free_lu_gp_mem() [all …]
|
| D | target_core_transport.c | 57 struct se_device *dev, int err, bool write_pending); 610 static int target_release_res(struct se_device *dev, void *data) in target_release_res() 665 struct se_device *dev = cmd->se_dev; in target_remove_from_state_list() 748 struct se_device *dev = cmd->se_dev; in transport_get_sense_buffer() 935 struct se_device *dev = cmd->se_dev; in target_add_to_state_list() 955 struct se_device *dev = container_of(work, struct se_device, in target_qf_do_work() 1001 struct se_device *dev, in transport_dump_dev_state() 1275 target_check_max_data_sg_nents(struct se_cmd *cmd, struct se_device *dev, in target_check_max_data_sg_nents() 1339 struct se_device *dev = cmd->se_dev; in target_cmd_size_check() 1437 struct se_device *dev = cmd->se_dev; in transport_check_alloc_task_attr() [all …]
|
| D | target_core_user.c | 114 struct se_device se_dev; 633 struct se_device *se_dev = se_cmd->se_dev; in tcmu_alloc_cmd() 983 struct se_device *se_dev = se_plug->se_dev; in tcmu_unplug_device() 990 static struct se_dev_plug *tcmu_plug_device(struct se_device *se_dev) in tcmu_plug_device() 1203 struct se_device *se_dev = se_cmd->se_dev; in tcmu_queue_cmd() 1253 tcmu_tmr_notify(struct se_device *se_dev, enum tcm_tmreq_table tmf, in tcmu_tmr_notify() 1600 static struct se_device *tcmu_alloc_device(struct se_hba *hba, const char *name) in tcmu_alloc_device() 1642 struct se_device *dev = container_of(p, struct se_device, rcu_head); in tcmu_dev_call_rcu() 1693 struct se_device *dev = &udev->se_dev; in tcmu_dev_kref_release() 2171 static int tcmu_configure_device(struct se_device *dev) in tcmu_configure_device() [all …]
|
| D | target_core_iblock.h | 30 struct se_device dev;
|
| D | target_core_file.h | 29 struct se_device dev;
|
| D | target_core_pscsi.h | 38 struct se_device dev;
|
| D | target_core_tpg.c | 33 extern struct se_device *g_lun0_dev; 110 struct se_device *dev; in core_tpg_add_node_to_devs() 572 struct se_device *dev) in core_tpg_add_lun() 622 struct se_device *dev = rcu_dereference_raw(lun->lun_se_dev); in core_tpg_remove_lun()
|