| /Linux-v5.4/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 | 146 struct scsi_target *sdev_target; /* used only for single_lun */ 279 struct scsi_target { struct 318 #define to_scsi_target(d) container_of(d, struct scsi_target, dev) argument 319 static inline struct scsi_target *scsi_target(struct scsi_device *sdev) in scsi_target() function 345 extern struct scsi_device *scsi_device_lookup_by_target(struct scsi_target *, 347 extern struct scsi_device *__scsi_device_lookup_by_target(struct scsi_target *, 349 extern void starget_for_each_device(struct scsi_target *, void *, 351 extern void __starget_for_each_device(struct scsi_target *, void *, 418 extern void scsi_target_quiesce(struct scsi_target *); 419 extern void scsi_target_resume(struct scsi_target *); [all …]
|
| D | scsi_host.h | 20 struct scsi_target; 230 int (* target_alloc)(struct scsi_target *); 240 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 | 409 starget_to_domain_dev(struct scsi_target *starget) { in starget_to_domain_dev() 666 extern int sas_target_alloc(struct scsi_target *); 697 extern void sas_target_destroy(struct scsi_target *);
|
| D | libiscsi.h | 28 struct scsi_target; 394 extern int iscsi_target_alloc(struct scsi_target *starget);
|
| D | scsi_transport_fc.h | 624 void (*get_starget_node_name)(struct scsi_target *); 625 void (*get_starget_port_name)(struct scsi_target *); 626 void (*get_starget_port_id)(struct scsi_target *);
|
| /Linux-v5.4/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() 1086 struct scsi_target *starget; in mptfc_setup_reset() 1121 struct scsi_target *starget; in mptfc_rescan_devices()
|
| D | mptsas.h | 154 struct scsi_target *starget;
|
| /Linux-v5.4/drivers/scsi/ |
| D | scsi_priv.h | 13 struct scsi_target; 166 extern void scsi_autopm_get_target(struct scsi_target *); 167 extern void scsi_autopm_put_target(struct scsi_target *); 171 static inline void scsi_autopm_get_target(struct scsi_target *t) {} in scsi_autopm_get_target() 172 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() 308 static void scsi_target_destroy(struct scsi_target *starget) in scsi_target_destroy() 328 struct scsi_target *starget = to_scsi_target(dev); in scsi_target_dev_release() 345 static struct scsi_target *__scsi_find_target(struct device *parent, in __scsi_find_target() 348 struct scsi_target *starget, *found_starget = NULL; in __scsi_find_target() 377 struct scsi_target *starget in scsi_target_reap_ref_release() 378 = container_of(kref, struct scsi_target, reap_ref); in scsi_target_reap_ref_release() 393 static void scsi_target_reap_ref_put(struct scsi_target *starget) in scsi_target_reap_ref_put() 410 static struct scsi_target *scsi_alloc_target(struct device *parent, in scsi_alloc_target() 416 const int size = sizeof(struct scsi_target) in scsi_alloc_target() [all …]
|
| D | scsi_transport_spi.c | 211 struct scsi_target *starget = sdev->sdev_target; in spi_device_configure() 239 struct scsi_target *starget = to_scsi_target(dev); in spi_setup_transport_attrs() 271 struct scsi_target *starget = transport_class_to_starget(dev); \ 286 struct scsi_target *starget = transport_class_to_starget(dev); \ 301 struct scsi_target *starget = transport_class_to_starget(dev); \ 318 struct scsi_target *starget = transport_class_to_starget(dev); \ 336 struct scsi_target *starget = transport_class_to_starget(dev); \ 400 struct scsi_target *starget = transport_class_to_starget(dev); in store_spi_revalidate() 480 struct scsi_target *starget = transport_class_to_starget(dev); in show_spi_transport_period() 496 struct scsi_target *starget = transport_class_to_starget(cdev); in store_spi_transport_period() [all …]
|
| D | scsi.c | 184 struct scsi_target *starget = scsi_target(sdev); in scsi_finish_command() 598 void starget_for_each_device(struct scsi_target *starget, void *data, in starget_for_each_device() 626 void __starget_for_each_device(struct scsi_target *starget, void *data, in __starget_for_each_device() 655 struct scsi_device *__scsi_device_lookup_by_target(struct scsi_target *starget, in __scsi_device_lookup_by_target() 680 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 | 124 struct scsi_target *starget = scsi_target(device); in scsi_set_blocked() 350 struct scsi_target *starget = scsi_target(sdev); in scsi_device_unbusy() 376 struct scsi_target *starget = scsi_target(current_sdev); in scsi_single_lun_run() 420 static inline bool scsi_target_is_busy(struct scsi_target *starget) in scsi_target_is_busy() 471 if (scsi_target_is_busy(scsi_target(sdev))) { in scsi_starved_list_run() 518 if (scsi_target(sdev)->single_lun) in scsi_run_queue() 615 if (scsi_target(sdev)->single_lun || in scsi_end_request() 1316 struct scsi_target *starget = scsi_target(sdev); in scsi_target_queue_ready() 1702 if (scsi_target(sdev)->can_queue > 0) in scsi_queue_rq() 1703 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 | 1268 static int scsi_target_add(struct scsi_target *starget) in scsi_target_add() 1301 struct scsi_target *starget = sdev->sdev_target; in scsi_sysfs_add_sdev() 1433 scsi_target_reap(scsi_target(sdev)); in __scsi_remove_device() 1452 static void __scsi_remove_target(struct scsi_target *starget) in __scsi_remove_target() 1494 struct scsi_target *starget; in scsi_remove_target() 1569 struct scsi_target *starget = sdev->sdev_target; in scsi_sysfs_device_initialize()
|
| /Linux-v5.4/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() 1339 struct scsi_target *starget; in ahd_platform_free() 1692 struct scsi_target *starget; in ahd_send_async() 2386 static void ahd_linux_set_width(struct scsi_target *starget, int width) in ahd_linux_set_width() 2400 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() 632 ahc_linux_target_destroy(struct scsi_target *starget) in ahc_linux_target_destroy() 634 struct scsi_target **ahc_targp = ahc_linux_target_in_softc(starget); in ahc_linux_target_destroy() 644 struct scsi_target *starget = sdev->sdev_target; in ahc_linux_slave_alloc() 1229 struct scsi_target *starget; in ahc_platform_free() 1610 struct scsi_target *starget; in ahc_send_async() 2329 static void ahc_linux_set_width(struct scsi_target *starget, int width) in ahc_linux_set_width() [all …]
|
| /Linux-v5.4/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()
|
| /Linux-v5.4/drivers/scsi/snic/ |
| D | snic_disc.h | 107 (is_snic_target(((struct scsi_target *) st)->dev.parent) ? \
|
| /Linux-v5.4/drivers/scsi/ibmvscsi/ |
| D | ibmvfc.c | 902 static struct ibmvfc_target *__ibmvfc_get_target(struct scsi_target *starget) in __ibmvfc_get_target() 923 static struct ibmvfc_target *ibmvfc_get_target(struct scsi_target *starget) in ibmvfc_get_target() 1052 static void ibmvfc_get_starget_node_name(struct scsi_target *starget) in ibmvfc_get_starget_node_name() 1067 static void ibmvfc_get_starget_port_name(struct scsi_target *starget) in ibmvfc_get_starget_port_name() 1082 static void ibmvfc_get_starget_port_id(struct scsi_target *starget) in ibmvfc_get_starget_port_id() 1498 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in ibmvfc_relogin() 1608 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); in ibmvfc_queuecommand_lck() 1962 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in ibmvfc_reset_device() 2039 cmd_rport = starget_to_rport(scsi_target(evt->cmnd->device)); in ibmvfc_match_rport() 2056 if (evt->cmnd && scsi_target(evt->cmnd->device) == device) in ibmvfc_match_target() [all …]
|
| /Linux-v5.4/drivers/scsi/sym53c8xx_2/ |
| D | sym_glue.c | 1887 static void sym2_set_offset(struct scsi_target *starget, int offset) in sym2_set_offset() 1897 static void sym2_set_period(struct scsi_target *starget, int period) in sym2_set_period() 1912 static void sym2_set_width(struct scsi_target *starget, int width) in sym2_set_width() 1927 static void sym2_set_dt(struct scsi_target *starget, int dt) in sym2_set_dt() 1942 static void sym2_set_iu(struct scsi_target *starget, int iu) 1955 static void sym2_set_qas(struct scsi_target *starget, int qas)
|
| /Linux-v5.4/drivers/scsi/mpt3sas/ |
| D | mpt3sas_base.h | 413 struct scsi_target *starget; 526 struct scsi_target *starget; 591 struct scsi_target *starget; 678 struct scsi_target *starget;
|