/Linux-v6.6/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 | 157 struct scsi_target *sdev_target; 332 struct scsi_target { struct 371 #define to_scsi_target(d) container_of(d, struct scsi_target, dev) argument 372 static inline struct scsi_target *scsi_target(struct scsi_device *sdev) in scsi_target() function 400 extern struct scsi_device *scsi_device_lookup_by_target(struct scsi_target *, 402 extern struct scsi_device *__scsi_device_lookup_by_target(struct scsi_target *, 404 extern void starget_for_each_device(struct scsi_target *, void *, 406 extern void __starget_for_each_device(struct scsi_target *, void *, 473 extern void scsi_target_quiesce(struct scsi_target *); 474 extern void scsi_target_resume(struct scsi_target *); [all …]
|
D | scsi_host.h | 19 struct scsi_target; 240 int (* target_alloc)(struct scsi_target *); 250 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 | 387 starget_to_domain_dev(struct scsi_target *starget) { in starget_to_domain_dev() 688 extern int sas_target_alloc(struct scsi_target *); 721 extern void sas_target_destroy(struct scsi_target *);
|
D | libiscsi.h | 29 struct scsi_target; 415 extern int iscsi_target_alloc(struct scsi_target *starget);
|
D | scsi_transport_fc.h | 685 void (*get_starget_node_name)(struct scsi_target *); 686 void (*get_starget_port_name)(struct scsi_target *); 687 void (*get_starget_port_id)(struct scsi_target *);
|
/Linux-v6.6/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() 1085 struct scsi_target *starget; in mptfc_setup_reset() 1120 struct scsi_target *starget; in mptfc_rescan_devices()
|
D | mptsas.h | 155 struct scsi_target *starget;
|
/Linux-v6.6/drivers/scsi/ |
D | scsi_priv.h | 14 struct scsi_target; 176 extern void scsi_autopm_get_target(struct scsi_target *); 177 extern void scsi_autopm_put_target(struct scsi_target *); 181 static inline void scsi_autopm_get_target(struct scsi_target *t) {} in scsi_autopm_get_target() 182 static inline void scsi_autopm_put_target(struct scsi_target *t) {} in scsi_autopm_put_target()
|
D | scsi_scan.c | 278 static struct scsi_device *scsi_alloc_sdev(struct scsi_target *starget, in scsi_alloc_sdev() 389 static void scsi_target_destroy(struct scsi_target *starget) in scsi_target_destroy() 409 struct scsi_target *starget = to_scsi_target(dev); in scsi_target_dev_release() 426 static struct scsi_target *__scsi_find_target(struct device *parent, in __scsi_find_target() 429 struct scsi_target *starget, *found_starget = NULL; in __scsi_find_target() 458 struct scsi_target *starget in scsi_target_reap_ref_release() 459 = container_of(kref, struct scsi_target, reap_ref); in scsi_target_reap_ref_release() 474 static void scsi_target_reap_ref_put(struct scsi_target *starget) in scsi_target_reap_ref_put() 491 static struct scsi_target *scsi_alloc_target(struct device *parent, in scsi_alloc_target() 497 const int size = sizeof(struct scsi_target) in scsi_alloc_target() [all …]
|
D | scsi_transport_spi.c | 214 struct scsi_target *starget = sdev->sdev_target; in spi_device_configure() 242 struct scsi_target *starget = to_scsi_target(dev); in spi_setup_transport_attrs() 274 struct scsi_target *starget = transport_class_to_starget(dev); \ 289 struct scsi_target *starget = transport_class_to_starget(dev); \ 304 struct scsi_target *starget = transport_class_to_starget(dev); \ 321 struct scsi_target *starget = transport_class_to_starget(dev); \ 339 struct scsi_target *starget = transport_class_to_starget(dev); \ 403 struct scsi_target *starget = transport_class_to_starget(dev); in store_spi_revalidate() 483 struct scsi_target *starget = transport_class_to_starget(dev); in show_spi_transport_period() 499 struct scsi_target *starget = transport_class_to_starget(cdev); in store_spi_transport_period() [all …]
|
D | scsi.c | 161 struct scsi_target *starget = scsi_target(sdev); in scsi_finish_command() 798 void starget_for_each_device(struct scsi_target *starget, void *data, in starget_for_each_device() 826 void __starget_for_each_device(struct scsi_target *starget, void *data, in __starget_for_each_device() 855 struct scsi_device *__scsi_device_lookup_by_target(struct scsi_target *starget, in __scsi_device_lookup_by_target() 880 struct scsi_device *scsi_device_lookup_by_target(struct scsi_target *starget, in scsi_device_lookup_by_target()
|
D | scsi_lib.c | 83 struct scsi_target *starget = scsi_target(device); in scsi_set_blocked() 292 struct scsi_target *starget = scsi_target(sdev); in scsi_device_unbusy() 325 struct scsi_target *starget = scsi_target(current_sdev); in scsi_single_lun_run() 357 static inline bool scsi_target_is_busy(struct scsi_target *starget) in scsi_target_is_busy() 405 if (scsi_target_is_busy(scsi_target(sdev))) { in scsi_starved_list_run() 446 if (scsi_target(sdev)->single_lun) in scsi_run_queue() 505 if (scsi_target(sdev)->single_lun || in scsi_run_queue_async() 1284 struct scsi_target *starget = scsi_target(sdev); in scsi_target_queue_ready() 1771 if (scsi_target(sdev)->can_queue > 0) in scsi_queue_rq() 1772 atomic_dec(&scsi_target(sdev)->target_busy); in scsi_queue_rq() [all …]
|
D | scsi_pm.c | 235 void scsi_autopm_get_target(struct scsi_target *starget) in scsi_autopm_get_target() 240 void scsi_autopm_put_target(struct scsi_target *starget) in scsi_autopm_put_target()
|
D | scsi_sysfs.c | 1365 static int scsi_target_add(struct scsi_target *starget) in scsi_target_add() 1397 struct scsi_target *starget = sdev->sdev_target; in scsi_sysfs_add_sdev() 1515 scsi_target_reap(scsi_target(sdev)); in __scsi_remove_device() 1534 static void __scsi_remove_target(struct scsi_target *starget) in __scsi_remove_target() 1576 struct scsi_target *starget; in scsi_remove_target() 1640 struct scsi_target *starget = sdev->sdev_target; in scsi_sysfs_device_initialize()
|
/Linux-v6.6/drivers/scsi/aic7xxx/ |
D | aic79xx_osm.c | 591 static struct scsi_target ** in DEF_SCSI_QCMD() 592 ahd_linux_target_in_softc(struct scsi_target *starget) in DEF_SCSI_QCMD() 606 ahd_linux_target_alloc(struct scsi_target *starget) in ahd_linux_target_alloc() 612 struct scsi_target **ahd_targp = ahd_linux_target_in_softc(starget); in ahd_linux_target_alloc() 662 ahd_linux_target_destroy(struct scsi_target *starget) in ahd_linux_target_destroy() 664 struct scsi_target **ahd_targp = ahd_linux_target_in_softc(starget); in ahd_linux_target_destroy() 1319 struct scsi_target *starget; in ahd_platform_free() 1672 struct scsi_target *starget; in ahd_send_async() 2353 static void ahd_linux_set_width(struct scsi_target *starget, int width) in ahd_linux_set_width() 2367 static void ahd_linux_set_period(struct scsi_target *starget, int period) in ahd_linux_set_period() [all …]
|
D | aic7xxx_osm.c | 542 static inline struct scsi_target ** in DEF_SCSI_QCMD() 543 ahc_linux_target_in_softc(struct scsi_target *starget) in DEF_SCSI_QCMD() 557 ahc_linux_target_alloc(struct scsi_target *starget) in ahc_linux_target_alloc() 563 struct scsi_target **ahc_targp = ahc_linux_target_in_softc(starget); in ahc_linux_target_alloc() 626 ahc_linux_target_destroy(struct scsi_target *starget) in ahc_linux_target_destroy() 628 struct scsi_target **ahc_targp = ahc_linux_target_in_softc(starget); in ahc_linux_target_destroy() 638 struct scsi_target *starget = sdev->sdev_target; in ahc_linux_slave_alloc() 1212 struct scsi_target *starget; in ahc_platform_free() 1593 struct scsi_target *starget; in ahc_send_async() 2311 static void ahc_linux_set_width(struct scsi_target *starget, int width) in ahc_linux_set_width() [all …]
|
/Linux-v6.6/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-v6.6/drivers/scsi/snic/ |
D | snic_disc.h | 93 (is_snic_target(((struct scsi_target *) st)->dev.parent) ? \
|
/Linux-v6.6/drivers/scsi/sym53c8xx_2/ |
D | sym_glue.c | 1880 static void sym2_set_offset(struct scsi_target *starget, int offset) in sym2_set_offset() 1890 static void sym2_set_period(struct scsi_target *starget, int period) in sym2_set_period() 1905 static void sym2_set_width(struct scsi_target *starget, int width) in sym2_set_width() 1920 static void sym2_set_dt(struct scsi_target *starget, int dt) in sym2_set_dt() 1935 static void sym2_set_iu(struct scsi_target *starget, int iu) 1948 static void sym2_set_qas(struct scsi_target *starget, int qas)
|
/Linux-v6.6/drivers/scsi/ibmvscsi/ |
D | ibmvfc.c | 1216 static struct ibmvfc_target *__ibmvfc_get_target(struct scsi_target *starget) in __ibmvfc_get_target() 1237 static struct ibmvfc_target *ibmvfc_get_target(struct scsi_target *starget) in ibmvfc_get_target() 1366 static void ibmvfc_get_starget_node_name(struct scsi_target *starget) in ibmvfc_get_starget_node_name() 1381 static void ibmvfc_get_starget_port_name(struct scsi_target *starget) in ibmvfc_get_starget_port_name() 1396 static void ibmvfc_get_starget_port_id(struct scsi_target *starget) in ibmvfc_get_starget_port_id() 1795 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in ibmvfc_relogin() 1895 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in ibmvfc_init_vfc_cmd() 1931 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); in ibmvfc_queuecommand() 2288 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in ibmvfc_reset_device() 2364 cmd_rport = starget_to_rport(scsi_target(evt->cmnd->device)); in ibmvfc_match_rport() [all …]
|
/Linux-v6.6/drivers/scsi/mpi3mr/ |
D | mpi3mr_os.c | 553 struct scsi_target *starget = (struct scsi_target *)data; in mpi3mr_count_tgt_pending() 562 if (scmd->device && (scsi_target(scmd->device) == starget)) in mpi3mr_count_tgt_pending() 972 struct scsi_target *starget = scsi_target(sdev); in mpi3mr_change_queue_depth() 4294 struct scsi_target *starget; in mpi3mr_slave_destroy() 4300 starget = scsi_target(sdev); in mpi3mr_slave_destroy() 4334 static void mpi3mr_target_destroy(struct scsi_target *starget) in mpi3mr_target_destroy() 4377 struct scsi_target *starget; in mpi3mr_slave_configure() 4385 starget = scsi_target(sdev); in mpi3mr_slave_configure() 4447 struct scsi_target *starget; in mpi3mr_slave_alloc() 4451 starget = scsi_target(sdev); in mpi3mr_slave_alloc() [all …]
|
/Linux-v6.6/drivers/scsi/bfa/ |
D | bfad_im.c | 370 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()
|