diff options
Diffstat (limited to 'include/target/target_core_fabric.h')
-rw-r--r-- | include/target/target_core_fabric.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/include/target/target_core_fabric.h b/include/target/target_core_fabric.h index 10c690809601..116959933f46 100644 --- a/include/target/target_core_fabric.h +++ b/include/target/target_core_fabric.h | |||
@@ -3,12 +3,6 @@ | |||
3 | 3 | ||
4 | struct target_core_fabric_ops { | 4 | struct target_core_fabric_ops { |
5 | struct configfs_subsystem *tf_subsys; | 5 | struct configfs_subsystem *tf_subsys; |
6 | /* | ||
7 | * Optional to signal struct se_task->task_sg[] padding entries | ||
8 | * for scatterlist chaining using transport_do_task_sg_link(), | ||
9 | * disabled by default | ||
10 | */ | ||
11 | bool task_sg_chaining; | ||
12 | char *(*get_fabric_name)(void); | 6 | char *(*get_fabric_name)(void); |
13 | u8 (*get_fabric_proto_ident)(struct se_portal_group *); | 7 | u8 (*get_fabric_proto_ident)(struct se_portal_group *); |
14 | char *(*tpg_get_wwn)(struct se_portal_group *); | 8 | char *(*tpg_get_wwn)(struct se_portal_group *); |
@@ -102,7 +96,7 @@ void __transport_register_session(struct se_portal_group *, | |||
102 | void transport_register_session(struct se_portal_group *, | 96 | void transport_register_session(struct se_portal_group *, |
103 | struct se_node_acl *, struct se_session *, void *); | 97 | struct se_node_acl *, struct se_session *, void *); |
104 | void target_get_session(struct se_session *); | 98 | void target_get_session(struct se_session *); |
105 | int target_put_session(struct se_session *); | 99 | void target_put_session(struct se_session *); |
106 | void transport_free_session(struct se_session *); | 100 | void transport_free_session(struct se_session *); |
107 | void target_put_nacl(struct se_node_acl *); | 101 | void target_put_nacl(struct se_node_acl *); |
108 | void transport_deregister_session_configfs(struct se_session *); | 102 | void transport_deregister_session_configfs(struct se_session *); |
@@ -112,7 +106,7 @@ void transport_deregister_session(struct se_session *); | |||
112 | void transport_init_se_cmd(struct se_cmd *, struct target_core_fabric_ops *, | 106 | void transport_init_se_cmd(struct se_cmd *, struct target_core_fabric_ops *, |
113 | struct se_session *, u32, int, int, unsigned char *); | 107 | struct se_session *, u32, int, int, unsigned char *); |
114 | int transport_lookup_cmd_lun(struct se_cmd *, u32); | 108 | int transport_lookup_cmd_lun(struct se_cmd *, u32); |
115 | int transport_generic_allocate_tasks(struct se_cmd *, unsigned char *); | 109 | int target_setup_cmd_from_cdb(struct se_cmd *, unsigned char *); |
116 | void target_submit_cmd(struct se_cmd *, struct se_session *, unsigned char *, | 110 | void target_submit_cmd(struct se_cmd *, struct se_session *, unsigned char *, |
117 | unsigned char *, u32, u32, int, int, int); | 111 | unsigned char *, u32, u32, int, int, int); |
118 | int target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess, | 112 | int target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess, |
@@ -124,7 +118,6 @@ int transport_generic_handle_cdb_map(struct se_cmd *); | |||
124 | int transport_generic_handle_data(struct se_cmd *); | 118 | int transport_generic_handle_data(struct se_cmd *); |
125 | int transport_generic_map_mem_to_cmd(struct se_cmd *cmd, | 119 | int transport_generic_map_mem_to_cmd(struct se_cmd *cmd, |
126 | struct scatterlist *, u32, struct scatterlist *, u32); | 120 | struct scatterlist *, u32, struct scatterlist *, u32); |
127 | void transport_do_task_sg_chain(struct se_cmd *); | ||
128 | int transport_generic_new_cmd(struct se_cmd *); | 121 | int transport_generic_new_cmd(struct se_cmd *); |
129 | 122 | ||
130 | void transport_generic_process_write(struct se_cmd *); | 123 | void transport_generic_process_write(struct se_cmd *); |