Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
scsi_tgt_priv.h File Reference

Go to the source code of this file.

Macros

#define eprintk(fmt, args...)
 
#define dprintk(fmt, args...)
 

Functions

void scsi_tgt_if_exit (void)
 
int scsi_tgt_if_init (void)
 
int scsi_tgt_uspace_send_cmd (struct scsi_cmnd *cmd, u64 it_nexus_id, struct scsi_lun *lun, u64 tag)
 
int scsi_tgt_uspace_send_status (struct scsi_cmnd *cmd, u64 it_nexus_id, u64 tag)
 
int scsi_tgt_kspace_exec (int host_no, u64 it_nexus_id, int result, u64 tag, unsigned long uaddr, u32 len, unsigned long sense_uaddr, u32 sense_len, u8 rw)
 
int scsi_tgt_uspace_send_tsk_mgmt (int host_no, u64 it_nexus_id, int function, u64 tag, struct scsi_lun *scsilun, void *data)
 
int scsi_tgt_kspace_tsk_mgmt (int host_no, u64 it_nexus_id, u64 mid, int result)
 
int scsi_tgt_uspace_send_it_nexus_request (int host_no, u64 it_nexus_id, int function, char *initiator)
 
int scsi_tgt_kspace_it_nexus_rsp (int host_no, u64 it_nexus_id, int result)
 

Macro Definition Documentation

#define dprintk (   fmt,
  args... 
)

Definition at line 12 of file scsi_tgt_priv.h.

#define eprintk (   fmt,
  args... 
)
Value:
do { \
printk("%s(%d) " fmt, __func__, __LINE__, ##args); \
} while (0)

Definition at line 7 of file scsi_tgt_priv.h.

Function Documentation

void scsi_tgt_if_exit ( void  )

Definition at line 369 of file scsi_tgt_if.c.

int scsi_tgt_if_init ( void  )

Definition at line 376 of file scsi_tgt_if.c.

int scsi_tgt_kspace_exec ( int  host_no,
u64  it_nexus_id,
int  result,
u64  tag,
unsigned long  uaddr,
u32  len,
unsigned long  sense_uaddr,
u32  sense_len,
u8  rw 
)

Definition at line 448 of file scsi_tgt_lib.c.

int scsi_tgt_kspace_it_nexus_rsp ( int  host_no,
u64  it_nexus_id,
int  result 
)

Definition at line 598 of file scsi_tgt_lib.c.

int scsi_tgt_kspace_tsk_mgmt ( int  host_no,
u64  it_nexus_id,
u64  mid,
int  result 
)

Definition at line 545 of file scsi_tgt_lib.c.

int scsi_tgt_uspace_send_cmd ( struct scsi_cmnd cmd,
u64  it_nexus_id,
struct scsi_lun lun,
u64  tag 
)

Definition at line 107 of file scsi_tgt_if.c.

int scsi_tgt_uspace_send_it_nexus_request ( int  host_no,
u64  it_nexus_id,
int  function,
char initiator 
)

Definition at line 181 of file scsi_tgt_if.c.

int scsi_tgt_uspace_send_status ( struct scsi_cmnd cmd,
u64  it_nexus_id,
u64  tag 
)

Definition at line 134 of file scsi_tgt_if.c.

int scsi_tgt_uspace_send_tsk_mgmt ( int  host_no,
u64  it_nexus_id,
int  function,
u64  tag,
struct scsi_lun scsilun,
void data 
)

Definition at line 157 of file scsi_tgt_if.c.