aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_tgt_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/scsi_tgt_priv.h')
-rw-r--r--drivers/scsi/scsi_tgt_priv.h22
1 files changed, 14 insertions, 8 deletions
diff --git a/drivers/scsi/scsi_tgt_priv.h b/drivers/scsi/scsi_tgt_priv.h
index e9e6db1c417..cb92888948f 100644
--- a/drivers/scsi/scsi_tgt_priv.h
+++ b/drivers/scsi/scsi_tgt_priv.h
@@ -15,12 +15,18 @@ do { \
15extern void scsi_tgt_if_exit(void); 15extern void scsi_tgt_if_exit(void);
16extern int scsi_tgt_if_init(void); 16extern int scsi_tgt_if_init(void);
17 17
18extern int scsi_tgt_uspace_send_cmd(struct scsi_cmnd *cmd, struct scsi_lun *lun, 18extern int scsi_tgt_uspace_send_cmd(struct scsi_cmnd *cmd, u64 it_nexus_id,
19 u64 tag); 19 struct scsi_lun *lun, u64 tag);
20extern int scsi_tgt_uspace_send_status(struct scsi_cmnd *cmd, u64 tag); 20extern int scsi_tgt_uspace_send_status(struct scsi_cmnd *cmd, u64 it_nexus_id,
21extern int scsi_tgt_kspace_exec(int host_no, int result, u64 tag, 21 u64 tag);
22 unsigned long uaddr, u32 len, unsigned long sense_uaddr, 22extern int scsi_tgt_kspace_exec(int host_no, u64 it_nexus_id, int result, u64 tag,
23 u32 sense_len, u8 rw); 23 unsigned long uaddr, u32 len,
24extern int scsi_tgt_uspace_send_tsk_mgmt(int host_no, int function, u64 tag, 24 unsigned long sense_uaddr, u32 sense_len, u8 rw);
25extern int scsi_tgt_uspace_send_tsk_mgmt(int host_no, u64 it_nexus_id,
26 int function, u64 tag,
25 struct scsi_lun *scsilun, void *data); 27 struct scsi_lun *scsilun, void *data);
26extern int scsi_tgt_kspace_tsk_mgmt(int host_no, u64 mid, int result); 28extern int scsi_tgt_kspace_tsk_mgmt(int host_no, u64 it_nexus_id,
29 u64 mid, int result);
30extern int scsi_tgt_uspace_send_it_nexus_request(int host_no, u64 it_nexus_id,
31 int function, char *initiator);
32extern int scsi_tgt_kspace_it_nexus_rsp(int host_no, u64 it_nexus_id, int result);