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
drivers
target
iscsi
iscsi_target_tpg.h
Go to the documentation of this file.
1
#ifndef ISCSI_TARGET_TPG_H
2
#define ISCSI_TARGET_TPG_H
3
4
extern
struct
iscsi_portal_group
*
iscsit_alloc_portal_group
(
struct
iscsi_tiqn
*,
u16
);
5
extern
int
iscsit_load_discovery_tpg
(
void
);
6
extern
void
iscsit_release_discovery_tpg
(
void
);
7
extern
struct
iscsi_portal_group
*
iscsit_get_tpg_from_np
(
struct
iscsi_tiqn
*,
8
struct
iscsi_np
*);
9
extern
int
iscsit_get_tpg
(
struct
iscsi_portal_group
*);
10
extern
void
iscsit_put_tpg
(
struct
iscsi_portal_group
*);
11
extern
void
iscsit_clear_tpg_np_login_threads
(
struct
iscsi_portal_group
*);
12
extern
void
iscsit_tpg_dump_params
(
struct
iscsi_portal_group
*);
13
extern
int
iscsit_tpg_add_portal_group
(
struct
iscsi_tiqn
*,
struct
iscsi_portal_group
*);
14
extern
int
iscsit_tpg_del_portal_group
(
struct
iscsi_tiqn
*,
struct
iscsi_portal_group
*,
15
int
);
16
extern
int
iscsit_tpg_enable_portal_group
(
struct
iscsi_portal_group
*);
17
extern
int
iscsit_tpg_disable_portal_group
(
struct
iscsi_portal_group
*,
int
);
18
extern
struct
iscsi_node_acl
*
iscsit_tpg_add_initiator_node_acl
(
19
struct
iscsi_portal_group
*,
const
char
*,
u32
);
20
extern
void
iscsit_tpg_del_initiator_node_acl
(
struct
iscsi_portal_group
*,
21
struct
se_node_acl
*);
22
extern
struct
iscsi_node_attrib
*
iscsit_tpg_get_node_attrib
(
struct
iscsi_session
*);
23
extern
void
iscsit_tpg_del_external_nps
(
struct
iscsi_tpg_np
*);
24
extern
struct
iscsi_tpg_np
*
iscsit_tpg_locate_child_np
(
struct
iscsi_tpg_np
*,
int
);
25
extern
struct
iscsi_tpg_np
*
iscsit_tpg_add_network_portal
(
struct
iscsi_portal_group
*,
26
struct
__kernel_sockaddr_storage
*,
char
*,
struct
iscsi_tpg_np
*,
27
int
);
28
extern
int
iscsit_tpg_del_network_portal
(
struct
iscsi_portal_group
*,
29
struct
iscsi_tpg_np
*);
30
extern
int
iscsit_tpg_set_initiator_node_queue_depth
(
struct
iscsi_portal_group
*,
31
unsigned
char
*,
u32
,
int
);
32
extern
int
iscsit_ta_authentication
(
struct
iscsi_portal_group
*,
u32
);
33
extern
int
iscsit_ta_login_timeout
(
struct
iscsi_portal_group
*,
u32
);
34
extern
int
iscsit_ta_netif_timeout
(
struct
iscsi_portal_group
*,
u32
);
35
extern
int
iscsit_ta_generate_node_acls
(
struct
iscsi_portal_group
*,
u32
);
36
extern
int
iscsit_ta_default_cmdsn_depth
(
struct
iscsi_portal_group
*,
u32
);
37
extern
int
iscsit_ta_cache_dynamic_acls
(
struct
iscsi_portal_group
*,
u32
);
38
extern
int
iscsit_ta_demo_mode_write_protect
(
struct
iscsi_portal_group
*,
u32
);
39
extern
int
iscsit_ta_prod_mode_write_protect
(
struct
iscsi_portal_group
*,
u32
);
40
41
#endif
/* ISCSI_TARGET_TPG_H */
Generated on Thu Jan 10 2013 14:33:08 for Linux Kernel by
1.8.2