Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
scsi_tgt.h File Reference
#include <linux/dma-mapping.h>

Go to the source code of this file.

Functions

struct Scsi_Hostscsi_tgt_cmd_to_host (struct scsi_cmnd *)
 
int scsi_tgt_alloc_queue (struct Scsi_Host *)
 
void scsi_tgt_free_queue (struct Scsi_Host *)
 
int scsi_tgt_queue_command (struct scsi_cmnd *, u64, struct scsi_lun *, u64)
 
int scsi_tgt_tsk_mgmt_request (struct Scsi_Host *, u64, int, u64, struct scsi_lun *, void *)
 
struct scsi_cmndscsi_host_get_command (struct Scsi_Host *, enum dma_data_direction, gfp_t)
 
void scsi_host_put_command (struct Scsi_Host *, struct scsi_cmnd *)
 
int scsi_tgt_it_nexus_create (struct Scsi_Host *, u64, char *)
 
int scsi_tgt_it_nexus_destroy (struct Scsi_Host *, u64)
 

Function Documentation

struct scsi_cmnd* scsi_host_get_command ( struct Scsi_Host ,
enum  dma_data_direction,
gfp_t   
)
read

Definition at line 77 of file scsi_tgt_lib.c.

void scsi_host_put_command ( struct Scsi_Host ,
struct scsi_cmnd  
)

Definition at line 145 of file scsi_tgt_lib.c.

int scsi_tgt_alloc_queue ( struct Scsi_Host )

Definition at line 216 of file scsi_tgt_lib.c.

struct Scsi_Host* scsi_tgt_cmd_to_host ( struct scsi_cmnd )
read

Definition at line 295 of file scsi_tgt_lib.c.

void scsi_tgt_free_queue ( struct Scsi_Host )

Definition at line 264 of file scsi_tgt_lib.c.

int scsi_tgt_it_nexus_create ( struct Scsi_Host ,
u64  ,
char  
)

Definition at line 569 of file scsi_tgt_lib.c.

int scsi_tgt_it_nexus_destroy ( struct Scsi_Host ,
u64   
)

Definition at line 584 of file scsi_tgt_lib.c.

int scsi_tgt_queue_command ( struct scsi_cmnd ,
u64  ,
struct scsi_lun ,
u64   
)

Definition at line 308 of file scsi_tgt_lib.c.

int scsi_tgt_tsk_mgmt_request ( struct Scsi_Host ,
u64  ,
int  ,
u64  ,
struct scsi_lun ,
void  
)

Definition at line 530 of file scsi_tgt_lib.c.