Lines Matching defs:se_cmd

29 	 * target-core will currently reset se_cmd->data_length to this
60 * Optional to release struct se_cmd and fabric dependent allocated
66 int (*check_stop_free)(struct se_cmd *);
67 void (*release_cmd)(struct se_cmd *);
76 int (*write_pending)(struct se_cmd *);
78 int (*get_cmd_state)(struct se_cmd *);
79 int (*queue_data_in)(struct se_cmd *);
80 int (*queue_status)(struct se_cmd *);
81 void (*queue_tm_rsp)(struct se_cmd *);
82 void (*aborted_task)(struct se_cmd *);
166 void __target_init_cmd(struct se_cmd *cmd,
171 int target_init_cmd(struct se_cmd *se_cmd, struct se_session *se_sess,
174 int target_submit_prep(struct se_cmd *se_cmd, unsigned char *cdb,
178 int target_submit(struct se_cmd *se_cmd);
179 sense_reason_t transport_lookup_cmd_lun(struct se_cmd *);
180 sense_reason_t target_cmd_init_cdb(struct se_cmd *se_cmd, unsigned char *cdb,
182 sense_reason_t target_cmd_parse_cdb(struct se_cmd *);
183 void target_submit_cmd(struct se_cmd *, struct se_session *, unsigned char *,
186 int target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess,
190 sense_reason_t transport_generic_new_cmd(struct se_cmd *);
192 void target_put_cmd_and_wait(struct se_cmd *cmd);
193 void target_execute_cmd(struct se_cmd *cmd);
195 int transport_generic_free_cmd(struct se_cmd *, int);
197 bool transport_wait_for_tasks(struct se_cmd *);
198 int transport_send_check_condition_and_sense(struct se_cmd *,
200 int target_send_busy(struct se_cmd *cmd);
201 int target_get_sess_cmd(struct se_cmd *, bool);
202 int target_put_sess_cmd(struct se_cmd *);
205 void target_show_cmd(const char *pfx, struct se_cmd *cmd);
207 int core_tmr_alloc_req(struct se_cmd *, void *, u8, gfp_t);
209 int transport_generic_handle_tmr(struct se_cmd *);
210 void transport_generic_request_failure(struct se_cmd *, sense_reason_t);
211 int transport_lookup_tmr_lun(struct se_cmd *);
240 target_reverse_dma_direction(struct se_cmd *se_cmd)
242 if (se_cmd->se_cmd_flags & SCF_BIDI)
245 switch (se_cmd->data_direction) {