Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
scsi
scsi_tgt.h
Go to the documentation of this file.
1
/*
2
* SCSI target definitions
3
*/
4
5
#include <
linux/dma-mapping.h
>
6
7
struct
Scsi_Host
;
8
struct
scsi_cmnd
;
9
struct
scsi_lun
;
10
11
extern
struct
Scsi_Host
*
scsi_tgt_cmd_to_host
(
struct
scsi_cmnd
*);
12
extern
int
scsi_tgt_alloc_queue
(
struct
Scsi_Host
*);
13
extern
void
scsi_tgt_free_queue
(
struct
Scsi_Host
*);
14
extern
int
scsi_tgt_queue_command
(
struct
scsi_cmnd
*,
u64
,
struct
scsi_lun
*,
u64
);
15
extern
int
scsi_tgt_tsk_mgmt_request
(
struct
Scsi_Host
*,
u64
,
int
,
u64
,
16
struct
scsi_lun
*,
void
*);
17
extern
struct
scsi_cmnd
*
scsi_host_get_command
(
struct
Scsi_Host
*,
18
enum
dma_data_direction
,
gfp_t
);
19
extern
void
scsi_host_put_command
(
struct
Scsi_Host
*,
struct
scsi_cmnd
*);
20
extern
int
scsi_tgt_it_nexus_create
(
struct
Scsi_Host
*,
u64
,
char
*);
21
extern
int
scsi_tgt_it_nexus_destroy
(
struct
Scsi_Host
*,
u64
);
Generated on Thu Jan 10 2013 14:53:28 for Linux Kernel by
1.8.2