Home
last modified time | relevance | path

Searched refs:se_device (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.3-rc2/include/target/
A Dtarget_core_backend.h34 int (*configure_device)(struct se_device *);
35 void (*destroy_device)(struct se_device *);
36 void (*free_device)(struct se_device *device);
48 u32 (*get_device_type)(struct se_device *);
49 sector_t (*get_blocks)(struct se_device *);
52 unsigned int (*get_lbppbe)(struct se_device *);
56 bool (*get_write_cache)(struct se_device *);
57 int (*init_prot)(struct se_device *);
58 int (*format_prot)(struct se_device *);
59 void (*free_prot)(struct se_device *);
[all …]
A Dtarget_core_base.h264 struct se_device *t10_dev;
288 struct se_device *lu_gp_mem_dev;
308 struct se_device *tg_pt_gp_dev;
337 struct se_device *t10_dev;
417 struct se_device *tmr_dev;
493 struct se_device *se_dev;
640 struct se_device;
715 struct se_device *da_dev;
781 struct se_device *se_dev;
790 struct se_device { struct
[all …]
/linux-6.3-rc2/drivers/target/
A Dtarget_core_internal.h62 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 *,
88 int target_configure_device(struct se_device *dev);
89 void target_free_device(struct se_device *);
115 void core_tmr_abort_task(struct se_device *, struct se_tmr_req *,
117 int core_tmr_lun_reset(struct se_device *, struct se_tmr_req *,
121 extern struct se_device *g_lun0_dev;
130 bool, struct se_device *);
154 bool target_check_wce(struct se_device *dev);
155 bool target_check_fua(struct se_device *dev);
[all …]
A Dtarget_core_pr.h55 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 *);
A Dtarget_core_stat.c424 struct se_device *dev; in target_stat_port_inst_show()
438 struct se_device *dev; in target_stat_port_dev_show()
452 struct se_device *dev; in target_stat_port_indx_show()
466 struct se_device *dev; in target_stat_port_role_show()
481 struct se_device *dev; in target_stat_port_busy_count_show()
528 struct se_device *dev; in target_stat_tgt_port_inst_show()
543 struct se_device *dev; in target_stat_tgt_port_dev_show()
558 struct se_device *dev; in target_stat_tgt_port_indx_show()
574 struct se_device *dev; in target_stat_tgt_port_name_show()
592 struct se_device *dev; in target_stat_tgt_port_port_index_show()
[all …]
A Dtarget_core_alua.h90 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 *);
A Dtarget_core_iblock.c79 static bool iblock_configure_unmap(struct se_device *dev) in iblock_configure_unmap()
87 static int iblock_configure_device(struct se_device *dev) in iblock_configure_device()
187 struct se_device *dev = container_of(p, struct se_device, rcu_head); in iblock_dev_call_rcu()
194 static void iblock_free_device(struct se_device *dev) in iblock_free_device()
199 static void iblock_destroy_device(struct se_device *dev) in iblock_destroy_device()
235 static sector_t iblock_get_blocks(struct se_device *dev) in iblock_get_blocks()
435 struct se_device *dev = cmd->se_dev; in iblock_execute_unmap()
453 struct se_device *dev = cmd->se_dev; in iblock_execute_zero_out()
491 struct se_device *dev = cmd->se_dev; in iblock_execute_write_same()
668 struct se_device *dev = cmd->se_dev; in iblock_alloc_bip()
[all …]
A Dtarget_core_file.c223 struct se_device *dev = container_of(p, struct se_device, rcu_head); in fd_dev_call_rcu()
229 static void fd_free_device(struct se_device *dev) in fd_free_device()
270 struct se_device *dev = cmd->se_dev; in fd_execute_rw_aio()
385 struct se_device *dev = cmd->se_dev; in fd_execute_sync_cache()
430 struct se_device *se_dev = cmd->se_dev; in fd_execute_write_same()
552 struct se_device *dev = cmd->se_dev; in fd_execute_unmap()
565 struct se_device *se_dev = cmd->se_dev; in fd_execute_unmap()
587 struct se_device *dev = cmd->se_dev; in fd_execute_rw_buffered()
671 struct se_device *dev = cmd->se_dev; in fd_execute_rw()
824 static int fd_init_prot(struct se_device *dev) in fd_init_prot()
[all …]
A Dtarget_core_rd.c28 static inline struct rd_dev *RD_DEV(struct se_device *dev) in RD_DEV()
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()
610 static u32 rd_get_device_type(struct se_device *dev) in rd_get_device_type()
618 static sector_t rd_get_blocks(struct se_device *dev) in rd_get_blocks()
628 static int rd_init_prot(struct se_device *dev) in rd_init_prot()
[all …]
A Dtarget_core_configfs.c631 struct se_device *dev = da->da_dev; in emulate_model_alias_store()
737 struct se_device *dev = da->da_dev; in emulate_tpu_store()
767 struct se_device *dev = da->da_dev; in emulate_tpws_store()
798 struct se_device *dev = da->da_dev; in pi_prot_type_store()
866 struct se_device *dev = da->da_dev; in pi_prot_format_store()
977 struct se_device *dev = da->da_dev; in unmap_zeroes_data_store()
1016 struct se_device *dev = da->da_dev; in queue_depth_store()
2627 struct se_device *dev = in target_core_dev_release()
2697 struct se_device *dev; in target_lu_gp_members_show()
3291 struct se_device *dev; in target_core_make_subdev()
[all …]
A Dtarget_core_device.c45 struct se_device *g_lun0_dev;
523 static void se_release_vpd_for_dev(struct se_device *dev) in se_release_vpd_for_dev()
556 struct se_device *dev, in core_dev_add_lun()
712 static void scsi_dump_inquiry(struct se_device *dev) in scsi_dump_inquiry()
731 struct se_device *dev; in target_alloc_device()
887 int (*fn)(struct se_device *dev, void *data);
895 struct se_device *dev = p; in target_devices_idr_iter()
942 int target_configure_device(struct se_device *dev) in target_configure_device()
1025 void target_free_device(struct se_device *dev) in target_free_device()
1058 struct se_device *dev; in core_dev_setup_virtual_lun0()
[all …]
A Dtarget_core_pr.c616 struct se_device *dev, in __core_scsi3_do_alloc_registration()
691 struct se_device *dev, in __core_scsi3_alloc_registration()
892 struct se_device *dev, in core_scsi3_aptpl_reserve()
919 struct se_device *dev, in __core_scsi3_check_aptpl_registration()
999 struct se_device *dev, in core_scsi3_check_aptpl_registration()
1015 struct se_device *dev, in __core_scsi3_dump_registration()
1044 struct se_device *dev, in __core_scsi3_add_registration()
1125 struct se_device *dev, in core_scsi3_alloc_registration()
1151 struct se_device *dev, in __core_scsi3_locate_pr_reg()
1196 struct se_device *dev, in core_scsi3_locate_pr_reg()
[all …]
A Dtarget_core_pscsi.c36 static inline struct pscsi_dev_virt *PSCSI_DEV(struct se_device *dev) in PSCSI_DEV()
133 static void pscsi_tape_read_blocksize(struct se_device *dev, in pscsi_tape_read_blocksize()
282 static int pscsi_add_device_to_list(struct se_device *dev, in pscsi_add_device_to_list()
331 static struct se_device *pscsi_alloc_device(struct se_hba *hba, in pscsi_alloc_device()
421 static int pscsi_configure_device(struct se_device *dev) in pscsi_configure_device()
543 struct se_device *dev = container_of(p, struct se_device, rcu_head); in pscsi_dev_call_rcu()
549 static void pscsi_free_device(struct se_device *dev) in pscsi_free_device()
554 static void pscsi_destroy_device(struct se_device *dev) in pscsi_destroy_device()
711 static ssize_t pscsi_set_configfs_dev_params(struct se_device *dev, in pscsi_set_configfs_dev_params()
986 static u32 pscsi_get_device_type(struct se_device *dev) in pscsi_get_device_type()
[all …]
A Dtarget_core_spc.c76 struct se_device *dev = cmd->se_dev; in spc_emulate_inquiry_std()
159 struct se_device *dev = cmd->se_dev; in spc_emulate_evpd_80()
223 struct se_device *dev = cmd->se_dev; in spc_emulate_evpd_83()
473 struct se_device *dev = cmd->se_dev; in spc_emulate_evpd_86()
515 struct se_device *dev = cmd->se_dev; in spc_emulate_evpd_b0()
613 struct se_device *dev = cmd->se_dev; in spc_emulate_evpd_b1()
626 struct se_device *dev = cmd->se_dev; in spc_emulate_evpd_b2()
690 struct se_device *dev = cmd->se_dev; in spc_emulate_evpd_b3()
740 struct se_device *dev = cmd->se_dev; in spc_emulate_inquiry()
809 struct se_device *dev = cmd->se_dev; in spc_modesense_control()
[all …]
A Dtarget_core_xcopy.c43 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()
524 struct se_device *se_dev, in target_xcopy_setup_pt_cmd()
583 struct se_device *src_dev, in target_xcopy_read_source()
628 struct se_device *dst_dev, in target_xcopy_write_destination()
671 struct se_device *src_dev, *dst_dev; in target_xcopy_do_work()
886 struct se_device *dev = se_cmd->se_dev; in target_do_xcopy()
[all …]
A Dtarget_core_xcopy.h25 struct se_device *src_dev;
27 struct se_device *dst_dev;
A Dtarget_core_sbc.c34 struct se_device *dev = cmd->se_dev; in sbc_emulate_readcapacity()
77 struct se_device *dev = cmd->se_dev; in sbc_emulate_readcapacity_16()
276 struct se_device *dev = cmd->se_dev; in sbc_setup_write_same()
352 struct se_device *dev = cmd->se_dev; in compare_and_write_post()
438 struct se_device *dev = cmd->se_dev; in compare_and_write_callback()
570 struct se_device *dev = cmd->se_dev; in sbc_compare_and_write()
769 struct se_device *dev = cmd->se_dev; in sbc_parse_cdb()
1080 struct se_device *dev = cmd->se_dev; in sbc_execute_unmap()
1163 struct se_device *dev = cmd->se_dev; in sbc_dif_generate()
1272 struct se_device *dev = cmd->se_dev; in sbc_dif_copy_prot()
[all …]
A Dtarget_core_alua.c58 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()
273 struct se_device *dev = cmd->se_dev; in target_emulate_set_target_port_groups()
452 struct se_device *dev = cmd->se_dev; in core_alua_state_lba_dependent()
646 struct se_device *dev = cmd->se_dev; in target_alua_state_check()
1055 struct se_device *l_dev, in core_alua_do_port_transition()
1061 struct se_device *dev; in core_alua_do_port_transition()
1661 struct se_device *dev = tg_pt_gp->tg_pt_gp_dev; in core_alua_set_tg_pt_gp_id()
1711 struct se_device *dev = tg_pt_gp->tg_pt_gp_dev; in core_alua_free_tg_pt_gp()
1771 struct se_device *dev, const char *name) in core_alua_get_tg_pt_gp_by_name()
[all …]
A Dtarget_core_transport.c665 struct se_device *dev = cmd->se_dev; in target_remove_from_state_list()
681 struct se_device *dev = NULL; in target_remove_from_tmr_list()
764 struct se_device *dev = cmd->se_dev; in transport_get_sense_buffer()
951 struct se_device *dev = cmd->se_dev; in target_add_to_state_list()
971 struct se_device *dev = container_of(work, struct se_device, in target_qf_do_work()
1017 struct se_device *dev, in transport_dump_dev_state()
1355 struct se_device *dev = cmd->se_dev; in target_cmd_size_check()
1453 struct se_device *dev = cmd->se_dev; in transport_check_alloc_task_attr()
1525 struct se_device *dev = cmd->se_dev; in target_cmd_parse_cdb()
1878 struct se_device *se_dev = NULL; in target_queued_submit_work()
[all …]
A Dtarget_core_tmr.c106 struct se_device *dev, in core_tmr_abort_task()
176 struct se_device *dev, in core_tmr_drain_tmr_list()
257 struct se_device *dev, in core_tmr_drain_state_list()
346 struct se_device *dev, in core_tmr_lun_reset()
A Dtarget_core_user.c115 struct se_device se_dev;
635 struct se_device *se_dev = se_cmd->se_dev; in tcmu_alloc_cmd()
985 struct se_device *se_dev = se_plug->se_dev; in tcmu_unplug_device()
1205 struct se_device *se_dev = se_cmd->se_dev; in tcmu_queue_cmd()
1644 struct se_device *dev = container_of(p, struct se_device, rcu_head); in tcmu_dev_call_rcu()
1715 struct se_device *dev = &udev->se_dev; in tcmu_dev_kref_release()
2312 static void tcmu_free_device(struct se_device *dev) in tcmu_free_device()
3010 struct se_device, in tcmu_block_dev_show()
3024 struct se_device, in tcmu_block_dev_store()
3056 struct se_device, in tcmu_reset_ring_store()
[all …]
A Dtarget_core_iblock.h30 struct se_device dev;
A Dtarget_core_tpg.c33 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()
A Dtarget_core_file.h29 struct se_device dev;
A Dtarget_core_pscsi.h34 struct se_device dev;

Completed in 75 milliseconds

12