diff options
Diffstat (limited to 'include/target/target_core_fabric.h')
| -rw-r--r-- | include/target/target_core_fabric.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/include/target/target_core_fabric.h b/include/target/target_core_fabric.h index 81ddb4ae6c3f..aaa1ee6ab391 100644 --- a/include/target/target_core_fabric.h +++ b/include/target/target_core_fabric.h | |||
| @@ -98,8 +98,8 @@ void transport_deregister_session(struct se_session *); | |||
| 98 | 98 | ||
| 99 | void transport_init_se_cmd(struct se_cmd *, struct target_core_fabric_ops *, | 99 | void transport_init_se_cmd(struct se_cmd *, struct target_core_fabric_ops *, |
| 100 | struct se_session *, u32, int, int, unsigned char *); | 100 | struct se_session *, u32, int, int, unsigned char *); |
| 101 | int transport_lookup_cmd_lun(struct se_cmd *, u32); | 101 | sense_reason_t transport_lookup_cmd_lun(struct se_cmd *, u32); |
| 102 | int target_setup_cmd_from_cdb(struct se_cmd *, unsigned char *); | 102 | sense_reason_t target_setup_cmd_from_cdb(struct se_cmd *, unsigned char *); |
| 103 | int target_submit_cmd_map_sgls(struct se_cmd *, struct se_session *, | 103 | int target_submit_cmd_map_sgls(struct se_cmd *, struct se_session *, |
| 104 | unsigned char *, unsigned char *, u32, u32, int, int, int, | 104 | unsigned char *, unsigned char *, u32, u32, int, int, int, |
| 105 | struct scatterlist *, u32, struct scatterlist *, u32); | 105 | struct scatterlist *, u32, struct scatterlist *, u32); |
| @@ -110,9 +110,7 @@ int target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess, | |||
| 110 | void *fabric_tmr_ptr, unsigned char tm_type, | 110 | void *fabric_tmr_ptr, unsigned char tm_type, |
| 111 | gfp_t, unsigned int, int); | 111 | gfp_t, unsigned int, int); |
| 112 | int transport_handle_cdb_direct(struct se_cmd *); | 112 | int transport_handle_cdb_direct(struct se_cmd *); |
| 113 | int transport_generic_map_mem_to_cmd(struct se_cmd *cmd, | 113 | sense_reason_t transport_generic_new_cmd(struct se_cmd *); |
| 114 | struct scatterlist *, u32, struct scatterlist *, u32); | ||
| 115 | int transport_generic_new_cmd(struct se_cmd *); | ||
| 116 | 114 | ||
| 117 | void target_execute_cmd(struct se_cmd *cmd); | 115 | void target_execute_cmd(struct se_cmd *cmd); |
| 118 | 116 | ||
| @@ -120,7 +118,8 @@ void transport_generic_free_cmd(struct se_cmd *, int); | |||
| 120 | 118 | ||
| 121 | bool transport_wait_for_tasks(struct se_cmd *); | 119 | bool transport_wait_for_tasks(struct se_cmd *); |
| 122 | int transport_check_aborted_status(struct se_cmd *, int); | 120 | int transport_check_aborted_status(struct se_cmd *, int); |
| 123 | int transport_send_check_condition_and_sense(struct se_cmd *, u8, int); | 121 | int transport_send_check_condition_and_sense(struct se_cmd *, |
| 122 | sense_reason_t, int); | ||
| 124 | 123 | ||
| 125 | int target_put_sess_cmd(struct se_session *, struct se_cmd *); | 124 | int target_put_sess_cmd(struct se_session *, struct se_cmd *); |
| 126 | void target_sess_cmd_list_set_waiting(struct se_session *); | 125 | void target_sess_cmd_list_set_waiting(struct se_session *); |
| @@ -131,7 +130,7 @@ int core_alua_check_nonop_delay(struct se_cmd *); | |||
| 131 | int core_tmr_alloc_req(struct se_cmd *, void *, u8, gfp_t); | 130 | int core_tmr_alloc_req(struct se_cmd *, void *, u8, gfp_t); |
| 132 | void core_tmr_release_req(struct se_tmr_req *); | 131 | void core_tmr_release_req(struct se_tmr_req *); |
| 133 | int transport_generic_handle_tmr(struct se_cmd *); | 132 | int transport_generic_handle_tmr(struct se_cmd *); |
| 134 | void transport_generic_request_failure(struct se_cmd *); | 133 | void transport_generic_request_failure(struct se_cmd *, sense_reason_t); |
| 135 | int transport_lookup_tmr_lun(struct se_cmd *, u32); | 134 | int transport_lookup_tmr_lun(struct se_cmd *, u32); |
| 136 | 135 | ||
| 137 | struct se_node_acl *core_tpg_check_initiator_node_acl(struct se_portal_group *, | 136 | struct se_node_acl *core_tpg_check_initiator_node_acl(struct se_portal_group *, |
| @@ -143,6 +142,8 @@ int core_tpg_del_initiator_node_acl(struct se_portal_group *, | |||
| 143 | struct se_node_acl *, int); | 142 | struct se_node_acl *, int); |
| 144 | int core_tpg_set_initiator_node_queue_depth(struct se_portal_group *, | 143 | int core_tpg_set_initiator_node_queue_depth(struct se_portal_group *, |
| 145 | unsigned char *, u32, int); | 144 | unsigned char *, u32, int); |
| 145 | int core_tpg_set_initiator_node_tag(struct se_portal_group *, | ||
| 146 | struct se_node_acl *, const char *); | ||
| 146 | int core_tpg_register(struct target_core_fabric_ops *, struct se_wwn *, | 147 | int core_tpg_register(struct target_core_fabric_ops *, struct se_wwn *, |
| 147 | struct se_portal_group *, void *, int); | 148 | struct se_portal_group *, void *, int); |
| 148 | int core_tpg_deregister(struct se_portal_group *); | 149 | int core_tpg_deregister(struct se_portal_group *); |
