diff options
Diffstat (limited to 'include/target/target_core_fabric.h')
-rw-r--r-- | include/target/target_core_fabric.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/include/target/target_core_fabric.h b/include/target/target_core_fabric.h index c78a23333c4f..69fb3cfd02d7 100644 --- a/include/target/target_core_fabric.h +++ b/include/target/target_core_fabric.h | |||
@@ -33,12 +33,6 @@ struct target_core_fabric_ops { | |||
33 | struct se_node_acl *); | 33 | struct se_node_acl *); |
34 | u32 (*tpg_get_inst_index)(struct se_portal_group *); | 34 | u32 (*tpg_get_inst_index)(struct se_portal_group *); |
35 | /* | 35 | /* |
36 | * Optional function pointer for TCM to perform command map | ||
37 | * from TCM processing thread context, for those struct se_cmd | ||
38 | * initially allocated in interrupt context. | ||
39 | */ | ||
40 | int (*new_cmd_map)(struct se_cmd *); | ||
41 | /* | ||
42 | * Optional to release struct se_cmd and fabric dependent allocated | 36 | * Optional to release struct se_cmd and fabric dependent allocated |
43 | * I/O descriptor in transport_cmd_check_stop(). | 37 | * I/O descriptor in transport_cmd_check_stop(). |
44 | * | 38 | * |
@@ -108,20 +102,18 @@ void transport_init_se_cmd(struct se_cmd *, struct target_core_fabric_ops *, | |||
108 | struct se_session *, u32, int, int, unsigned char *); | 102 | struct se_session *, u32, int, int, unsigned char *); |
109 | int transport_lookup_cmd_lun(struct se_cmd *, u32); | 103 | int transport_lookup_cmd_lun(struct se_cmd *, u32); |
110 | int target_setup_cmd_from_cdb(struct se_cmd *, unsigned char *); | 104 | int target_setup_cmd_from_cdb(struct se_cmd *, unsigned char *); |
111 | void target_submit_cmd(struct se_cmd *, struct se_session *, unsigned char *, | 105 | int target_submit_cmd(struct se_cmd *, struct se_session *, unsigned char *, |
112 | unsigned char *, u32, u32, int, int, int); | 106 | unsigned char *, u32, u32, int, int, int); |
113 | int target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess, | 107 | int target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess, |
114 | unsigned char *sense, u32 unpacked_lun, | 108 | unsigned char *sense, u32 unpacked_lun, |
115 | void *fabric_tmr_ptr, unsigned char tm_type, | 109 | void *fabric_tmr_ptr, unsigned char tm_type, |
116 | gfp_t, unsigned int, int); | 110 | gfp_t, unsigned int, int); |
117 | int transport_handle_cdb_direct(struct se_cmd *); | 111 | int transport_handle_cdb_direct(struct se_cmd *); |
118 | int transport_generic_handle_cdb_map(struct se_cmd *); | ||
119 | int transport_generic_handle_data(struct se_cmd *); | ||
120 | int transport_generic_map_mem_to_cmd(struct se_cmd *cmd, | 112 | int transport_generic_map_mem_to_cmd(struct se_cmd *cmd, |
121 | struct scatterlist *, u32, struct scatterlist *, u32); | 113 | struct scatterlist *, u32, struct scatterlist *, u32); |
122 | int transport_generic_new_cmd(struct se_cmd *); | 114 | int transport_generic_new_cmd(struct se_cmd *); |
123 | 115 | ||
124 | void transport_generic_process_write(struct se_cmd *); | 116 | void target_execute_cmd(struct se_cmd *cmd); |
125 | 117 | ||
126 | void transport_generic_free_cmd(struct se_cmd *, int); | 118 | void transport_generic_free_cmd(struct se_cmd *, int); |
127 | 119 | ||
@@ -129,9 +121,8 @@ bool transport_wait_for_tasks(struct se_cmd *); | |||
129 | int transport_check_aborted_status(struct se_cmd *, int); | 121 | int transport_check_aborted_status(struct se_cmd *, int); |
130 | int transport_send_check_condition_and_sense(struct se_cmd *, u8, int); | 122 | int transport_send_check_condition_and_sense(struct se_cmd *, u8, int); |
131 | 123 | ||
132 | void target_get_sess_cmd(struct se_session *, struct se_cmd *, bool); | ||
133 | int target_put_sess_cmd(struct se_session *, struct se_cmd *); | 124 | int target_put_sess_cmd(struct se_session *, struct se_cmd *); |
134 | void target_splice_sess_cmd_list(struct se_session *); | 125 | void target_sess_cmd_list_set_waiting(struct se_session *); |
135 | void target_wait_for_sess_cmds(struct se_session *, int); | 126 | void target_wait_for_sess_cmds(struct se_session *, int); |
136 | 127 | ||
137 | int core_alua_check_nonop_delay(struct se_cmd *); | 128 | int core_alua_check_nonop_delay(struct se_cmd *); |