Home
last modified time | relevance | path

Searched refs:scsi_target (Results 1 – 25 of 71) sorted by relevance

123

/Linux-v4.19/include/scsi/
Dscsi_transport_spi.h27 struct scsi_target;
108 void (*get_period)(struct scsi_target *);
109 void (*set_period)(struct scsi_target *, int);
110 void (*get_offset)(struct scsi_target *);
111 void (*set_offset)(struct scsi_target *, int);
112 void (*get_width)(struct scsi_target *);
113 void (*set_width)(struct scsi_target *, int);
114 void (*get_iu)(struct scsi_target *);
115 void (*set_iu)(struct scsi_target *, int);
116 void (*get_dt)(struct scsi_target *);
[all …]
Dscsi_device.h146 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 …]
Dscsi_host.h21 struct scsi_target;
221 int (* target_alloc)(struct scsi_target *);
231 void (* target_destroy)(struct scsi_target *);
Dscsi_transport.h84 scsi_transport_target_data(struct scsi_target *starget) in scsi_transport_target_data()
Dlibsas.h420 starget_to_domain_dev(struct scsi_target *starget) { in starget_to_domain_dev()
678 extern int sas_target_alloc(struct scsi_target *);
710 extern void sas_target_destroy(struct scsi_target *);
Dscsi_transport_fc.h637 void (*get_starget_node_name)(struct scsi_target *);
638 void (*get_starget_port_name)(struct scsi_target *);
639 void (*get_starget_port_id)(struct scsi_target *);
Dlibiscsi.h41 struct scsi_target;
407 extern int iscsi_target_alloc(struct scsi_target *starget);
/Linux-v4.19/drivers/message/fusion/
Dmptspi.c87 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()
402 static int mptspi_target_alloc(struct scsi_target *starget) in mptspi_target_alloc()
462 mptspi_target_destroy(struct scsi_target *starget) in mptspi_target_destroy()
476 mptspi_print_write_nego(struct _MPT_SCSI_HOST *hd, struct scsi_target *starget, u32 ii) in mptspi_print_write_nego()
501 mptspi_print_read_nego(struct _MPT_SCSI_HOST *hd, struct scsi_target *starget, u32 ii) in mptspi_print_read_nego()
[all …]
Dmptfc.c98 static int mptfc_target_alloc(struct scsi_target *starget);
101 static void mptfc_target_destroy(struct scsi_target *starget);
194 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in mptfc_block_error_handler()
510 mptfc_target_destroy(struct scsi_target *starget) in mptfc_target_destroy()
531 mptfc_target_alloc(struct scsi_target *starget) in mptfc_target_alloc()
603 struct scsi_target *starget; in mptfc_slave_alloc()
607 starget = scsi_target(sdev); in mptfc_slave_alloc()
647 struct fc_rport *rport = starget_to_rport(scsi_target(SCpnt->device)); in mptfc_qcmd()
1087 struct scsi_target *starget; in mptfc_setup_reset()
1122 struct scsi_target *starget; in mptfc_rescan_devices()
Dmptsas.h154 struct scsi_target *starget;
/Linux-v4.19/drivers/scsi/
Dscsi_priv.h13 struct scsi_target;
167 extern void scsi_autopm_get_target(struct scsi_target *);
168 extern void scsi_autopm_put_target(struct scsi_target *);
172 static inline void scsi_autopm_get_target(struct scsi_target *t) {} in scsi_autopm_get_target()
173 static inline void scsi_autopm_put_target(struct scsi_target *t) {} in scsi_autopm_put_target()
Dscsi_scan.c215 static struct scsi_device *scsi_alloc_sdev(struct scsi_target *starget, in scsi_alloc_sdev()
316 static void scsi_target_destroy(struct scsi_target *starget) in scsi_target_destroy()
336 struct scsi_target *starget = to_scsi_target(dev); in scsi_target_dev_release()
353 static struct scsi_target *__scsi_find_target(struct device *parent, in __scsi_find_target()
356 struct scsi_target *starget, *found_starget = NULL; in __scsi_find_target()
385 struct scsi_target *starget in scsi_target_reap_ref_release()
386 = container_of(kref, struct scsi_target, reap_ref); in scsi_target_reap_ref_release()
401 static void scsi_target_reap_ref_put(struct scsi_target *starget) in scsi_target_reap_ref_put()
418 static struct scsi_target *scsi_alloc_target(struct device *parent, in scsi_alloc_target()
424 const int size = sizeof(struct scsi_target) in scsi_alloc_target()
[all …]
Dscsi_transport_spi.c224 struct scsi_target *starget = sdev->sdev_target; in spi_device_configure()
252 struct scsi_target *starget = to_scsi_target(dev); in spi_setup_transport_attrs()
284 struct scsi_target *starget = transport_class_to_starget(dev); \
299 struct scsi_target *starget = transport_class_to_starget(dev); \
314 struct scsi_target *starget = transport_class_to_starget(dev); \
331 struct scsi_target *starget = transport_class_to_starget(dev); \
349 struct scsi_target *starget = transport_class_to_starget(dev); \
413 struct scsi_target *starget = transport_class_to_starget(dev); in store_spi_revalidate()
493 struct scsi_target *starget = transport_class_to_starget(dev); in show_spi_transport_period()
509 struct scsi_target *starget = transport_class_to_starget(cdev); in store_spi_transport_period()
[all …]
Dscsi.c204 struct scsi_target *starget = scsi_target(sdev); in scsi_finish_command()
618 void starget_for_each_device(struct scsi_target *starget, void *data, in starget_for_each_device()
646 void __starget_for_each_device(struct scsi_target *starget, void *data, in __starget_for_each_device()
675 struct scsi_device *__scsi_device_lookup_by_target(struct scsi_target *starget, in __scsi_device_lookup_by_target()
700 struct scsi_device *scsi_device_lookup_by_target(struct scsi_target *starget, in scsi_device_lookup_by_target()
Dscsi_lib.c111 struct scsi_target *starget = scsi_target(device); in scsi_set_blocked()
361 struct scsi_target *starget = scsi_target(sdev); in scsi_device_unbusy()
390 struct scsi_target *starget = scsi_target(current_sdev); in scsi_single_lun_run()
434 static inline bool scsi_target_is_busy(struct scsi_target *starget) in scsi_target_is_busy()
485 if (scsi_target_is_busy(scsi_target(sdev))) { in scsi_starved_list_run()
532 if (scsi_target(sdev)->single_lun) in scsi_run_queue()
702 if (scsi_target(sdev)->single_lun || in scsi_end_request()
1542 struct scsi_target *starget = scsi_target(sdev); in scsi_target_queue_ready()
1685 struct scsi_target *starget; in scsi_kill_request()
1693 starget = scsi_target(sdev); in scsi_kill_request()
[all …]
Dscsi.h43 struct scsi_target;
Dscsi_pm.c316 void scsi_autopm_get_target(struct scsi_target *starget) in scsi_autopm_get_target()
321 void scsi_autopm_put_target(struct scsi_target *starget) in scsi_autopm_put_target()
Dscsi_sysfs.c1241 static int scsi_target_add(struct scsi_target *starget) in scsi_target_add()
1274 struct scsi_target *starget = sdev->sdev_target; in scsi_sysfs_add_sdev()
1406 scsi_target_reap(scsi_target(sdev)); in __scsi_remove_device()
1425 static void __scsi_remove_target(struct scsi_target *starget) in __scsi_remove_target()
1467 struct scsi_target *starget; in scsi_remove_target()
1542 struct scsi_target *starget = sdev->sdev_target; in scsi_sysfs_device_initialize()
/Linux-v4.19/drivers/scsi/aic7xxx/
Daic79xx_osm.c593 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()
1340 struct scsi_target *starget; in ahd_platform_free()
1693 struct scsi_target *starget; in ahd_send_async()
2387 static void ahd_linux_set_width(struct scsi_target *starget, int width) in ahd_linux_set_width()
2401 static void ahd_linux_set_period(struct scsi_target *starget, int period) in ahd_linux_set_period()
[all …]
Daic7xxx_osm.c543 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()
1232 struct scsi_target *starget; in ahc_platform_free()
1613 struct scsi_target *starget; in ahc_send_async()
2332 static void ahc_linux_set_width(struct scsi_target *starget, int width) in ahc_linux_set_width()
[all …]
/Linux-v4.19/drivers/s390/scsi/
Dzfcp_scsi.c66 struct fc_rport *rport = starget_to_rport(scsi_target(scpnt->device)); in zfcp_scsi_queuecommand()
111 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in zfcp_scsi_slave_alloc()
278 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in zfcp_scsi_task_mgmt_function()
330 struct scsi_target *starget = scsi_target(scpnt->device); in zfcp_scsi_eh_target_reset_handler()
/Linux-v4.19/drivers/scsi/snic/
Dsnic_disc.h107 (is_snic_target(((struct scsi_target *) st)->dev.parent) ? \
/Linux-v4.19/drivers/scsi/ibmvscsi/
Dibmvfc.c915 static struct ibmvfc_target *__ibmvfc_get_target(struct scsi_target *starget) in __ibmvfc_get_target()
936 static struct ibmvfc_target *ibmvfc_get_target(struct scsi_target *starget) in ibmvfc_get_target()
1065 static void ibmvfc_get_starget_node_name(struct scsi_target *starget) in ibmvfc_get_starget_node_name()
1080 static void ibmvfc_get_starget_port_name(struct scsi_target *starget) in ibmvfc_get_starget_port_name()
1095 static void ibmvfc_get_starget_port_id(struct scsi_target *starget) in ibmvfc_get_starget_port_id()
1511 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in ibmvfc_relogin()
1621 struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); in ibmvfc_queuecommand_lck()
1973 struct fc_rport *rport = starget_to_rport(scsi_target(sdev)); in ibmvfc_reset_device()
2050 cmd_rport = starget_to_rport(scsi_target(evt->cmnd->device)); in ibmvfc_match_rport()
2067 if (evt->cmnd && scsi_target(evt->cmnd->device) == device) in ibmvfc_match_target()
[all …]
/Linux-v4.19/drivers/scsi/mpt3sas/
Dmpt3sas_base.h392 struct scsi_target *starget;
505 struct scsi_target *starget;
569 struct scsi_target *starget;
655 struct scsi_target *starget;
/Linux-v4.19/drivers/scsi/sym53c8xx_2/
Dsym_glue.c1901 static void sym2_set_offset(struct scsi_target *starget, int offset) in sym2_set_offset()
1911 static void sym2_set_period(struct scsi_target *starget, int period) in sym2_set_period()
1926 static void sym2_set_width(struct scsi_target *starget, int width) in sym2_set_width()
1941 static void sym2_set_dt(struct scsi_target *starget, int dt) in sym2_set_dt()
1956 static void sym2_set_iu(struct scsi_target *starget, int iu)
1969 static void sym2_set_qas(struct scsi_target *starget, int qas)

123