Home
last modified time | relevance | path

Searched refs:shost (Results 1 – 11 of 11) sorted by relevance

/include/scsi/
Dscsi_host.h132 int (*init_cmd_priv)(struct Scsi_Host *shost, struct scsi_cmnd *cmd);
133 int (*exit_cmd_priv)(struct Scsi_Host *shost, struct scsi_cmnd *cmd);
292 void (* map_queues)(struct Scsi_Host *shost);
302 int (* mq_poll)(struct Scsi_Host *shost, unsigned int queue_num);
363 int (*host_reset)(struct Scsi_Host *shost, int reset_type);
524 int func_name(struct Scsi_Host *shost, struct scsi_cmnd *cmd) \
528 spin_lock_irqsave(shost->host_lock, irq_flags); \
530 spin_unlock_irqrestore(shost->host_lock, irq_flags); \
739 #define shost_printk(prefix, shost, fmt, a...) \ argument
740 dev_printk(prefix, &(shost)->shost_gendev, fmt, ##a)
[all …]
Dscsi_transport.h73 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in scsi_transport_target_data() local
75 + shost->transportt->target_private_offset; in scsi_transport_target_data()
81 struct Scsi_Host *shost = sdev->host; in scsi_transport_device_data() local
83 + shost->transportt->device_private_offset; in scsi_transport_device_data()
86 void __scsi_init_queue(struct Scsi_Host *shost, struct request_queue *q);
Dscsi_tcq.h22 static inline struct scsi_cmnd *scsi_host_find_tag(struct Scsi_Host *shost, in scsi_host_find_tag() argument
32 if (hwq < shost->tag_set.nr_hw_queues) { in scsi_host_find_tag()
33 req = blk_mq_tag_to_rq(shost->tag_set.tags[hwq], in scsi_host_find_tag()
Dscsi_transport_iscsi.h100 int (*get_host_param) (struct Scsi_Host *shost,
102 int (*set_host_param) (struct Scsi_Host *shost,
122 struct iscsi_endpoint *(*ep_connect) (struct Scsi_Host *shost,
127 int (*tgt_dscvr) (struct Scsi_Host *shost, enum iscsi_tgt_dscvr type,
129 int (*set_path) (struct Scsi_Host *shost, struct iscsi_path *params);
130 int (*set_iface_param) (struct Scsi_Host *shost, void *data,
137 int (*send_ping) (struct Scsi_Host *shost, uint32_t iface_num,
140 int (*get_chap) (struct Scsi_Host *shost, uint16_t chap_tbl_idx,
142 int (*delete_chap) (struct Scsi_Host *shost, uint16_t chap_tbl_idx);
143 int (*set_chap) (struct Scsi_Host *shost, void *data, int len);
[all …]
Dsas_ata.h27 void sas_ata_strategy_handler(struct Scsi_Host *shost);
28 void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q);
55 static inline void sas_ata_strategy_handler(struct Scsi_Host *shost) in sas_ata_strategy_handler() argument
59 static inline void sas_ata_eh(struct Scsi_Host *shost, struct list_head *work_q) in sas_ata_eh() argument
Dlibiscsi.h404 extern int iscsi_host_set_param(struct Scsi_Host *shost,
407 extern int iscsi_host_get_param(struct Scsi_Host *shost,
409 extern int iscsi_host_add(struct Scsi_Host *shost, struct device *pdev);
413 extern void iscsi_host_remove(struct Scsi_Host *shost, bool is_shutdown);
414 extern void iscsi_host_free(struct Scsi_Host *shost);
416 extern int iscsi_host_get_max_scsi_cmds(struct Scsi_Host *shost,
423 iscsi_session_setup(struct iscsi_transport *, struct Scsi_Host *shost,
Dscsi_transport_fc.h238 struct Scsi_Host *shost; /* Physical Port Parent */ member
258 (v->shost)
839 struct fc_rport *fc_remote_port_add(struct Scsi_Host *shost,
845 void fc_host_post_event(struct Scsi_Host *shost, u32 event_number,
847 void fc_host_post_vendor_event(struct Scsi_Host *shost, u32 event_number,
849 struct fc_rport *fc_find_rport_by_wwpn(struct Scsi_Host *shost, u64 wwpn);
850 void fc_host_post_fc_event(struct Scsi_Host *shost, u32 event_number,
859 void fc_host_fpin_rcv(struct Scsi_Host *shost, u32 fpin_len, char *fpin_buf);
860 struct fc_vport *fc_vport_create(struct Scsi_Host *shost, int channel,
Dscsi_device.h401 #define shost_for_each_device(sdev, shost) \ argument
402 for ((sdev) = __scsi_iterate_devices((shost), NULL); \
404 (sdev) = __scsi_iterate_devices((shost), (sdev)))
419 #define __shost_for_each_device(sdev, shost) \ argument
420 list_for_each_entry((sdev), &((shost)->__devices), siblings)
Dlibfc.h872 struct Scsi_Host *shost; in libfc_host_alloc() local
874 shost = scsi_host_alloc(sht, sizeof(*lport) + priv_size); in libfc_host_alloc()
875 if (!shost) in libfc_host_alloc()
877 lport = shost_priv(shost); in libfc_host_alloc()
878 lport->host = shost; in libfc_host_alloc()
Dlibsas.h350 struct Scsi_Host *shost; member
746 int sas_request_addr(struct Scsi_Host *shost, u8 *addr);
/include/trace/events/
Dscsi.h315 TP_PROTO(struct Scsi_Host *shost),
317 TP_ARGS(shost),
324 __entry->host_no = shost->host_no;