/kernel/linux/linux-5.10/include/scsi/ |
D | scsi_transport_spi.h | 14 struct scsi_target; 95 void (*get_period)(struct scsi_target *); 96 void (*set_period)(struct scsi_target *, int); 97 void (*get_offset)(struct scsi_target *); 98 void (*set_offset)(struct scsi_target *, int); 99 void (*get_width)(struct scsi_target *); 100 void (*set_width)(struct scsi_target *, int); 101 void (*get_iu)(struct scsi_target *); 102 void (*set_iu)(struct scsi_target *, int); 103 void (*get_dt)(struct scsi_target *); [all …]
|
D | scsi_device.h | 148 struct scsi_target *sdev_target; /* used only for single_lun */ 290 struct scsi_target { struct 329 #define to_scsi_target(d) container_of(d, struct scsi_target, dev) argument 330 static inline struct scsi_target *scsi_target(struct scsi_device *sdev) in scsi_target() function 356 extern struct scsi_device *scsi_device_lookup_by_target(struct scsi_target *, 358 extern struct scsi_device *__scsi_device_lookup_by_target(struct scsi_target *, 360 extern void starget_for_each_device(struct scsi_target *, void *, 362 extern void __starget_for_each_device(struct scsi_target *, void *, 429 extern void scsi_target_quiesce(struct scsi_target *); 430 extern void scsi_target_resume(struct scsi_target *); [all …]
|
D | scsi_host.h | 20 struct scsi_target; 220 int (* target_alloc)(struct scsi_target *); 230 void (* target_destroy)(struct scsi_target *);
|
D | scsi_transport.h | 71 scsi_transport_target_data(struct scsi_target *starget) in scsi_transport_target_data()
|
D | libsas.h | 405 starget_to_domain_dev(struct scsi_target *starget) { in starget_to_domain_dev() 662 extern int sas_target_alloc(struct scsi_target *); 693 extern void sas_target_destroy(struct scsi_target *);
|
D | libiscsi.h | 28 struct scsi_target; 396 extern int iscsi_target_alloc(struct scsi_target *starget);
|
D | scsi_transport_fc.h | 625 void (*get_starget_node_name)(struct scsi_target *); 626 void (*get_starget_port_name)(struct scsi_target *); 627 void (*get_starget_port_id)(struct scsi_target *);
|
/kernel/linux/linux-5.10/drivers/message/fusion/ |
D | mptspi.c | 87 static void mptspi_write_offset(struct scsi_target *, int); 88 static void mptspi_write_width(struct scsi_target *, int); 89 static int mptspi_write_spi_device_pg1(struct scsi_target *, 213 spi_min_period(scsi_target(sdev)) = factor; in mptspi_setTargetNegoParms() 214 spi_max_offset(scsi_target(sdev)) = offset; in mptspi_setTargetNegoParms() 215 spi_max_width(scsi_target(sdev)) = width; in mptspi_setTargetNegoParms() 397 static int mptspi_target_alloc(struct scsi_target *starget) in mptspi_target_alloc() 457 mptspi_target_destroy(struct scsi_target *starget) in mptspi_target_destroy() 471 mptspi_print_write_nego(struct _MPT_SCSI_HOST *hd, struct scsi_target *starget, u32 ii) in mptspi_print_write_nego() 496 mptspi_print_read_nego(struct _MPT_SCSI_HOST *hd, struct scsi_target *starget, u32 ii) in mptspi_print_read_nego() [all …]
|
D | mptfc.c | 98 static int mptfc_target_alloc(struct scsi_target *starget); 101 static void mptfc_target_destroy(struct scsi_target *starget); 193 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in mptfc_block_error_handler() 509 mptfc_target_destroy(struct scsi_target *starget) in mptfc_target_destroy() 530 mptfc_target_alloc(struct scsi_target *starget) in mptfc_target_alloc() 602 struct scsi_target *starget; in mptfc_slave_alloc() 606 starget = scsi_target(sdev); in mptfc_slave_alloc() 646 struct fc_rport *rport = starget_to_rport(scsi_target(SCpnt->device)); in mptfc_qcmd() 1084 struct scsi_target *starget; in mptfc_setup_reset() 1119 struct scsi_target *starget; in mptfc_rescan_devices()
|
D | mptsas.h | 154 struct scsi_target *starget;
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | scsi_priv.h | 13 struct scsi_target; 163 extern void scsi_autopm_get_target(struct scsi_target *); 164 extern void scsi_autopm_put_target(struct scsi_target *); 168 static inline void scsi_autopm_get_target(struct scsi_target *t) {} in scsi_autopm_get_target() 169 static inline void scsi_autopm_put_target(struct scsi_target *t) {} in scsi_autopm_put_target()
|
D | scsi_scan.c | 215 static struct scsi_device *scsi_alloc_sdev(struct scsi_target *starget, in scsi_alloc_sdev() 307 static void scsi_target_destroy(struct scsi_target *starget) in scsi_target_destroy() 327 struct scsi_target *starget = to_scsi_target(dev); in scsi_target_dev_release() 344 static struct scsi_target *__scsi_find_target(struct device *parent, in __scsi_find_target() 347 struct scsi_target *starget, *found_starget = NULL; in __scsi_find_target() 376 struct scsi_target *starget in scsi_target_reap_ref_release() 377 = container_of(kref, struct scsi_target, reap_ref); in scsi_target_reap_ref_release() 392 static void scsi_target_reap_ref_put(struct scsi_target *starget) in scsi_target_reap_ref_put() 409 static struct scsi_target *scsi_alloc_target(struct device *parent, in scsi_alloc_target() 415 const int size = sizeof(struct scsi_target) in scsi_alloc_target() [all …]
|
D | scsi_transport_spi.c | 215 struct scsi_target *starget = sdev->sdev_target; in spi_device_configure() 243 struct scsi_target *starget = to_scsi_target(dev); in spi_setup_transport_attrs() 275 struct scsi_target *starget = transport_class_to_starget(dev); \ 290 struct scsi_target *starget = transport_class_to_starget(dev); \ 305 struct scsi_target *starget = transport_class_to_starget(dev); \ 322 struct scsi_target *starget = transport_class_to_starget(dev); \ 340 struct scsi_target *starget = transport_class_to_starget(dev); \ 404 struct scsi_target *starget = transport_class_to_starget(dev); in store_spi_revalidate() 484 struct scsi_target *starget = transport_class_to_starget(dev); in show_spi_transport_period() 500 struct scsi_target *starget = transport_class_to_starget(cdev); in store_spi_transport_period() [all …]
|
D | scsi.c | 170 struct scsi_target *starget = scsi_target(sdev); in scsi_finish_command() 590 void starget_for_each_device(struct scsi_target *starget, void *data, in starget_for_each_device() 618 void __starget_for_each_device(struct scsi_target *starget, void *data, in __starget_for_each_device() 647 struct scsi_device *__scsi_device_lookup_by_target(struct scsi_target *starget, in __scsi_device_lookup_by_target() 672 struct scsi_device *scsi_device_lookup_by_target(struct scsi_target *starget, in scsi_device_lookup_by_target()
|
D | scsi.h | 43 struct scsi_target;
|
D | scsi_lib.c | 123 struct scsi_target *starget = scsi_target(device); in scsi_set_blocked() 324 struct scsi_target *starget = scsi_target(sdev); in scsi_device_unbusy() 350 struct scsi_target *starget = scsi_target(current_sdev); in scsi_single_lun_run() 394 static inline bool scsi_target_is_busy(struct scsi_target *starget) in scsi_target_is_busy() 442 if (scsi_target_is_busy(scsi_target(sdev))) { in scsi_starved_list_run() 483 if (scsi_target(sdev)->single_lun) in scsi_run_queue() 538 if (scsi_target(sdev)->single_lun || in scsi_run_queue_async() 1292 struct scsi_target *starget = scsi_target(sdev); in scsi_target_queue_ready() 1699 if (scsi_target(sdev)->can_queue > 0) in scsi_queue_rq() 1700 atomic_dec(&scsi_target(sdev)->target_busy); in scsi_queue_rq() [all …]
|
D | scsi_pm.c | 317 void scsi_autopm_get_target(struct scsi_target *starget) in scsi_autopm_get_target() 322 void scsi_autopm_put_target(struct scsi_target *starget) in scsi_autopm_put_target()
|
D | scsi_sysfs.c | 1329 static int scsi_target_add(struct scsi_target *starget) in scsi_target_add() 1362 struct scsi_target *starget = sdev->sdev_target; in scsi_sysfs_add_sdev() 1495 scsi_target_reap(scsi_target(sdev)); in __scsi_remove_device() 1514 static void __scsi_remove_target(struct scsi_target *starget) in __scsi_remove_target() 1556 struct scsi_target *starget; in scsi_remove_target() 1631 struct scsi_target *starget = sdev->sdev_target; in scsi_sysfs_device_initialize()
|
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/ |
D | aic79xx_osm.c | 593 static struct scsi_target ** in DEF_SCSI_QCMD() 594 ahd_linux_target_in_softc(struct scsi_target *starget) in DEF_SCSI_QCMD() 608 ahd_linux_target_alloc(struct scsi_target *starget) in ahd_linux_target_alloc() 614 struct scsi_target **ahd_targp = ahd_linux_target_in_softc(starget); in ahd_linux_target_alloc() 664 ahd_linux_target_destroy(struct scsi_target *starget) in ahd_linux_target_destroy() 666 struct scsi_target **ahd_targp = ahd_linux_target_in_softc(starget); in ahd_linux_target_destroy() 1325 struct scsi_target *starget; in ahd_platform_free() 1678 struct scsi_target *starget; in ahd_send_async() 2365 static void ahd_linux_set_width(struct scsi_target *starget, int width) in ahd_linux_set_width() 2379 static void ahd_linux_set_period(struct scsi_target *starget, int period) in ahd_linux_set_period() [all …]
|
D | aic7xxx_osm.c | 543 static inline struct scsi_target ** in DEF_SCSI_QCMD() 544 ahc_linux_target_in_softc(struct scsi_target *starget) in DEF_SCSI_QCMD() 558 ahc_linux_target_alloc(struct scsi_target *starget) in ahc_linux_target_alloc() 564 struct scsi_target **ahc_targp = ahc_linux_target_in_softc(starget); in ahc_linux_target_alloc() 627 ahc_linux_target_destroy(struct scsi_target *starget) in ahc_linux_target_destroy() 629 struct scsi_target **ahc_targp = ahc_linux_target_in_softc(starget); in ahc_linux_target_destroy() 639 struct scsi_target *starget = sdev->sdev_target; in ahc_linux_slave_alloc() 1213 struct scsi_target *starget; in ahc_platform_free() 1594 struct scsi_target *starget; in ahc_send_async() 2313 static void ahc_linux_set_width(struct scsi_target *starget, int width) in ahc_linux_set_width() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/snic/ |
D | snic_disc.h | 107 (is_snic_target(((struct scsi_target *) st)->dev.parent) ? \
|
/kernel/linux/linux-5.10/drivers/s390/scsi/ |
D | zfcp_scsi.c | 70 struct fc_rport *rport = starget_to_rport(scsi_target(scpnt->device)); in zfcp_scsi_queuecommand() 115 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in zfcp_scsi_slave_alloc() 293 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in zfcp_scsi_task_mgmt_function() 345 struct scsi_target *starget = scsi_target(scpnt->device); in zfcp_scsi_eh_target_reset_handler()
|
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi/ |
D | ibmvfc.c | 960 static struct ibmvfc_target *__ibmvfc_get_target(struct scsi_target *starget) in __ibmvfc_get_target() 981 static struct ibmvfc_target *ibmvfc_get_target(struct scsi_target *starget) in ibmvfc_get_target() 1110 static void ibmvfc_get_starget_node_name(struct scsi_target *starget) in ibmvfc_get_starget_node_name() 1125 static void ibmvfc_get_starget_port_name(struct scsi_target *starget) in ibmvfc_get_starget_port_name() 1140 static void ibmvfc_get_starget_port_id(struct scsi_target *starget) in ibmvfc_get_starget_port_id() 1556 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in ibmvfc_relogin() 1666 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); in ibmvfc_queuecommand_lck() 2020 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in ibmvfc_reset_device() 2097 cmd_rport = starget_to_rport(scsi_target(evt->cmnd->device)); in ibmvfc_match_rport() 2114 if (evt->cmnd && scsi_target(evt->cmnd->device) == device) in ibmvfc_match_target() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/ |
D | sym_glue.c | 1884 static void sym2_set_offset(struct scsi_target *starget, int offset) in sym2_set_offset() 1894 static void sym2_set_period(struct scsi_target *starget, int period) in sym2_set_period() 1909 static void sym2_set_width(struct scsi_target *starget, int width) in sym2_set_width() 1924 static void sym2_set_dt(struct scsi_target *starget, int dt) in sym2_set_dt() 1939 static void sym2_set_iu(struct scsi_target *starget, int iu) 1952 static void sym2_set_qas(struct scsi_target *starget, int qas)
|
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
D | bfad_im.c | 371 struct scsi_target *starget = scsi_target(cmnd->device); in bfad_im_reset_target_handler() 955 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in bfad_im_slave_alloc() 1214 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); in bfad_im_queuecommand_lck()
|