Linux kernel & device driver programming

Cross-Referenced Linux and Device Driver Code

[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ]
Version: [ 2.6.11.8 ] [ 2.6.25 ] [ 2.6.25.8 ] [ 2.6.31.13 ] Architecture: [ i386 ]
  1 struct scsi_cmnd;
  2 struct scsi_lun;
  3 struct Scsi_Host;
  4 struct task_struct;
  5 
  6 /* tmp - will replace with SCSI logging stuff */
  7 #define eprintk(fmt, args...)                                   \
  8 do {                                                            \
  9         printk("%s(%d) " fmt, __func__, __LINE__, ##args);      \
 10 } while (0)
 11 
 12 #define dprintk(fmt, args...)
 13 /* #define dprintk eprintk */
 14 
 15 extern void scsi_tgt_if_exit(void);
 16 extern int scsi_tgt_if_init(void);
 17 
 18 extern int scsi_tgt_uspace_send_cmd(struct scsi_cmnd *cmd, u64 it_nexus_id,
 19                                     struct scsi_lun *lun, u64 tag);
 20 extern int scsi_tgt_uspace_send_status(struct scsi_cmnd *cmd, u64 it_nexus_id,
 21                                        u64 tag);
 22 extern int scsi_tgt_kspace_exec(int host_no, u64 it_nexus_id, int result, u64 tag,
 23                                 unsigned long uaddr, u32 len,
 24                                 unsigned long sense_uaddr, u32 sense_len, u8 rw);
 25 extern int scsi_tgt_uspace_send_tsk_mgmt(int host_no, u64 it_nexus_id,
 26                                          int function, u64 tag,
 27                                          struct scsi_lun *scsilun, void *data);
 28 extern int scsi_tgt_kspace_tsk_mgmt(int host_no, u64 it_nexus_id,
 29                                     u64 mid, int result);
 30 extern int scsi_tgt_uspace_send_it_nexus_request(int host_no, u64 it_nexus_id,
 31                                                  int function, char *initiator);
 32 extern int scsi_tgt_kspace_it_nexus_rsp(int host_no, u64 it_nexus_id, int result);
 33 
  This page was automatically generated by the LXR engine.