Home
last modified time | relevance | path

Searched refs:se_dev (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/target/
A Dtarget_core_file.c267 struct se_device *dev = cmd->se_dev; in fd_execute_rw_aio()
387 struct se_device *dev = cmd->se_dev; in fd_execute_sync_cache()
432 struct se_device *se_dev = cmd->se_dev; in fd_execute_write_same() local
433 struct fd_dev *fd_dev = FD_DEV(se_dev); in fd_execute_write_same()
457 cmd->se_dev->dev_attrib.block_size); in fd_execute_write_same()
470 len += se_dev->dev_attrib.block_size; in fd_execute_write_same()
490 struct fd_dev *fd_dev = FD_DEV(se_dev); in fd_do_prot_fill()
556 struct se_device *dev = cmd->se_dev; in fd_execute_unmap()
569 struct se_device *se_dev = cmd->se_dev; in fd_execute_unmap() local
591 struct se_device *dev = cmd->se_dev; in fd_execute_rw_buffered()
[all …]
A Dtarget_core_transport.c665 struct se_device *dev = cmd->se_dev; in target_remove_from_state_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()
1851 se_plug = se_dev->transport->plug_device(se_dev); in target_plug_device()
1855 se_plug->se_dev = se_dev; in target_plug_device()
1867 struct se_device *se_dev = se_plug->se_dev; in target_unplug_device() local
1878 struct se_device *se_dev = NULL; in target_queued_submit_work() local
1888 if (!se_dev) { in target_queued_submit_work()
1889 se_dev = se_cmd->se_dev; in target_queued_submit_work()
1906 struct se_device *se_dev = se_cmd->se_dev; in target_queue_submission() local
[all …]
A Dtarget_core_xcopy.c49 if (!se_dev->dev_attrib.emulate_3pc) { in target_xcopy_locate_se_dev_e4_iter()
55 spc_gen_naa_6h_vendor_specific(se_dev, &tmp_dev_wwn[0]); in target_xcopy_locate_se_dev_e4_iter()
63 pr_debug("XCOPY 0xe4: located se_dev: %p\n", se_dev); in target_xcopy_locate_se_dev_e4_iter()
175 xop->src_dev = se_cmd->se_dev; in target_xcopy_parse_tiddesc_e4()
192 xop->dst_dev = se_cmd->se_dev; in target_xcopy_parse_tiddesc_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() argument
535 cmd->se_lun = &se_dev->xcopy_lun; in target_xcopy_setup_pt_cmd()
536 cmd->se_dev = se_dev; in target_xcopy_setup_pt_cmd()
539 cmd->se_dev = xop->xop_se_cmd->se_dev; in target_xcopy_setup_pt_cmd()
[all …]
A Dtarget_core_spc.c76 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()
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()
803 struct se_device *dev = cmd->se_dev; in spc_modesense_control()
[all …]
A Dtarget_core_rd.c381 struct se_device *se_dev = cmd->se_dev; in rd_do_prot_rw() local
382 struct rd_dev *dev = RD_DEV(se_dev); in rd_do_prot_rw()
385 u32 sectors = cmd->data_length / se_dev->dev_attrib.block_size; in rd_do_prot_rw()
391 tmp = cmd->t_task_lba * se_dev->prot_length; in rd_do_prot_rw()
402 if (se_dev->dev_attrib.pi_prot_verify) { in rd_do_prot_rw()
420 struct se_device *se_dev = cmd->se_dev; in rd_execute_rw() local
421 struct rd_dev *dev = RD_DEV(se_dev); in rd_execute_rw()
437 tmp = cmd->t_task_lba * se_dev->dev_attrib.block_size; in rd_execute_rw()
453 if (cmd->prot_type && se_dev->dev_attrib.pi_prot_type && in rd_execute_rw()
521 if (cmd->prot_type && se_dev->dev_attrib.pi_prot_type && in rd_execute_rw()
A Dtarget_core_pr.c89 struct se_device *dev = cmd->se_dev; in target_scsi2_reservation_check()
122 struct se_device *dev = cmd->se_dev; in target_check_scsi2_reservation_conflict()
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()
1480 struct se_device *dev = cmd->se_dev; in core_scsi3_decode_spec_i_port()
2050 struct se_device *dev = cmd->se_dev; in core_scsi3_emulate_pro_register()
2273 struct se_device *dev = cmd->se_dev; in core_scsi3_pro_reserve()
2514 struct se_device *dev = cmd->se_dev; in core_scsi3_emulate_pro_release()
2670 struct se_device *dev = cmd->se_dev; in core_scsi3_emulate_pro_clear()
[all …]
A Dtarget_core_iblock.c205 struct iblock_dev *ib_dev = IBLOCK_DEV(se_dev); in iblock_plug_device()
349 struct iblock_dev *ib_dev = IBLOCK_DEV(cmd->se_dev); in iblock_get_bio()
410 struct iblock_dev *ib_dev = IBLOCK_DEV(cmd->se_dev); in iblock_execute_sync_cache()
434 struct block_device *bdev = IBLOCK_DEV(cmd->se_dev)->ibd_bd; in iblock_execute_unmap()
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()
504 sg->length != cmd->se_dev->dev_attrib.block_size) { in iblock_execute_write_same()
507 cmd->se_dev->dev_attrib.block_size); in iblock_execute_write_same()
664 struct se_device *dev = cmd->se_dev; in iblock_alloc_bip()
[all …]
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()
187 return cmd->se_dev->transport->get_blocks(cmd->se_dev) - in sbc_get_write_same_sectors()
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()
823 struct se_device *dev = cmd->se_dev; in sbc_parse_cdb()
1171 struct se_device *dev = cmd->se_dev; in sbc_execute_unmap()
1254 struct se_device *dev = cmd->se_dev; in sbc_dif_generate()
[all …]
A Dtarget_core_user.c114 struct se_device se_dev; member
633 struct se_device *se_dev = se_cmd->se_dev; in tcmu_alloc_cmd() local
634 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_alloc_cmd()
983 struct se_device *se_dev = se_plug->se_dev; in tcmu_unplug_device() local
984 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_unplug_device()
992 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_plug_device()
1203 struct se_device *se_dev = se_cmd->se_dev; in tcmu_queue_cmd() local
1204 struct tcmu_dev *udev = TCMU_DEV(se_dev); in tcmu_queue_cmd()
1636 return &udev->se_dev; in tcmu_alloc_device()
1692 struct se_device *dev = &udev->se_dev; in tcmu_dev_kref_release()
[all …]
A Dtarget_core_device.c129 se_cmd->se_dev = rcu_dereference_raw(se_lun->lun_se_dev); in transport_lookup_cmd_lun()
130 atomic_long_inc(&se_cmd->se_dev->num_cmds); in transport_lookup_cmd_lun()
134 &se_cmd->se_dev->write_bytes); in transport_lookup_cmd_lun()
137 &se_cmd->se_dev->read_bytes); in transport_lookup_cmd_lun()
178 se_cmd->se_dev = rcu_dereference_raw(se_lun->lun_se_dev); in transport_lookup_tmr_lun()
1096 struct se_device *dev = cmd->se_dev; in passthrough_parse_cdb()
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()
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()
A Dtarget_core_pscsi.c594 struct pscsi_dev_virt *pdv = PSCSI_DEV(cmd->se_dev); in pscsi_complete_cmd()
848 struct pscsi_dev_virt *pdv = PSCSI_DEV(cmd->se_dev); in pscsi_map_sg()
965 struct pscsi_dev_virt *pdv = PSCSI_DEV(cmd->se_dev); in pscsi_execute_cmd()
A Dtarget_core_ua.c196 struct se_device *dev = cmd->se_dev; in core_scsi3_ua_for_check_condition()
/linux/include/target/
A Dtarget_core_backend.h37 struct se_dev_plug *(*plug_device)(struct se_device *se_dev);
45 void (*tmr_notify)(struct se_device *se_dev, enum tcm_tmreq_table,
122 static inline bool target_dev_configured(struct se_device *se_dev) in target_dev_configured() argument
124 return !!(se_dev->dev_flags & DF_CONFIGURED); in target_dev_configured()
A Dtarget_core_base.h491 struct se_device *se_dev; member
779 struct se_device *se_dev; member
/linux/drivers/scsi/qla2xxx/
A Dtcm_qla2xxx.c414 cmd->blk_sz = se_cmd->se_dev->dev_attrib.block_size; in tcm_qla2xxx_write_pending()
681 cmd->blk_sz = se_cmd->se_dev->dev_attrib.block_size; in tcm_qla2xxx_queue_data_in()
/linux/drivers/infiniband/ulp/isert/
A Dib_isert.c1541 u32 block_size = se_cmd->se_dev->dev_attrib.block_size + 8; in isert_check_pi_status()
1983 domain->sig.dif.pi_interval = se_cmd->se_dev->dev_attrib.block_size; in isert_set_dif_domain()

Completed in 57 milliseconds