Lines Matching defs:cmd

645 static void target_remove_from_state_list(struct se_cmd *cmd)  in target_remove_from_state_list()
668 static int transport_cmd_check_stop_to_fabric(struct se_cmd *cmd) in transport_cmd_check_stop_to_fabric()
706 static void transport_lun_remove_cmd(struct se_cmd *cmd) in transport_lun_remove_cmd()
719 struct se_cmd *cmd = container_of(work, struct se_cmd, work); in target_complete_failure_work() local
729 static unsigned char *transport_get_sense_buffer(struct se_cmd *cmd) in transport_get_sense_buffer()
748 void transport_copy_sense_to_cmd(struct se_cmd *cmd, unsigned char *sense) in transport_copy_sense_to_cmd()
766 static void target_handle_abort(struct se_cmd *cmd) in target_handle_abort()
814 struct se_cmd *cmd = container_of(work, struct se_cmd, work); in target_abort_work() local
819 static bool target_cmd_interrupted(struct se_cmd *cmd) in target_cmd_interrupted()
840 void target_complete_cmd(struct se_cmd *cmd, u8 scsi_status) in target_complete_cmd()
876 void target_complete_cmd_with_length(struct se_cmd *cmd, u8 scsi_status, int length) in target_complete_cmd_with_length()
895 static void target_add_to_state_list(struct se_cmd *cmd) in target_add_to_state_list()
919 struct se_cmd *cmd, *cmd_tmp; in target_qf_do_work() local
943 unsigned char *transport_dump_cmd_direction(struct se_cmd *cmd) in transport_dump_cmd_direction()
1236 target_check_max_data_sg_nents(struct se_cmd *cmd, struct se_device *dev, in target_check_max_data_sg_nents()
1298 target_cmd_size_check(struct se_cmd *cmd, unsigned int size) in target_cmd_size_check()
1366 struct se_cmd *cmd, in transport_init_se_cmd()
1398 transport_check_alloc_task_attr(struct se_cmd *cmd) in transport_check_alloc_task_attr()
1419 target_cmd_init_cdb(struct se_cmd *cmd, unsigned char *cdb) in target_cmd_init_cdb()
1472 target_cmd_parse_cdb(struct se_cmd *cmd) in target_cmd_parse_cdb()
1501 struct se_cmd *cmd) in transport_handle_cdb_direct()
1540 transport_generic_map_mem_to_cmd(struct se_cmd *cmd, struct scatterlist *sgl, in transport_generic_map_mem_to_cmd()
1869 void transport_generic_request_failure(struct se_cmd *cmd, in transport_generic_request_failure()
1970 void __target_execute_cmd(struct se_cmd *cmd, bool do_checks) in __target_execute_cmd()
2011 static int target_write_prot_action(struct se_cmd *cmd) in target_write_prot_action()
2046 static bool target_handle_task_attr(struct se_cmd *cmd) in target_handle_task_attr()
2097 void target_execute_cmd(struct se_cmd *cmd) in target_execute_cmd()
2134 struct se_cmd *cmd; in target_restart_delayed_cmds() local
2160 static void transport_complete_task_attr(struct se_cmd *cmd) in transport_complete_task_attr()
2190 static void transport_complete_qf(struct se_cmd *cmd) in transport_complete_qf()
2258 static void transport_handle_queue_full(struct se_cmd *cmd, struct se_device *dev, in transport_handle_queue_full()
2285 static bool target_read_prot_action(struct se_cmd *cmd) in target_read_prot_action()
2315 struct se_cmd *cmd = container_of(work, struct se_cmd, work); in target_complete_ok_work() local
2464 static inline void transport_reset_sgl_orig(struct se_cmd *cmd) in transport_reset_sgl_orig()
2480 static inline void transport_free_pages(struct se_cmd *cmd) in transport_free_pages()
2513 void *transport_kmap_data_sg(struct se_cmd *cmd) in transport_kmap_data_sg()
2550 void transport_kunmap_data_sg(struct se_cmd *cmd) in transport_kunmap_data_sg()
2581 transport_generic_new_cmd(struct se_cmd *cmd) in transport_generic_new_cmd()
2682 static void transport_write_pending_qf(struct se_cmd *cmd) in transport_write_pending_qf()
2711 static void target_wait_free_cmd(struct se_cmd *cmd, bool *aborted, bool *tas) in target_wait_free_cmd()
2724 void target_put_cmd_and_wait(struct se_cmd *cmd) in target_put_cmd_and_wait()
2757 int transport_generic_free_cmd(struct se_cmd *cmd, int wait_for_tasks) in transport_generic_free_cmd()
2830 static void target_free_cmd_mem(struct se_cmd *cmd) in target_free_cmd_mem()
2956 void target_show_cmd(const char *pfx, struct se_cmd *cmd) in target_show_cmd()
3002 struct se_cmd *cmd; in target_wait_for_sess_cmds() local
3029 __transport_wait_for_tasks(struct se_cmd *cmd, bool fabric_stop, in __transport_wait_for_tasks()
3084 bool transport_wait_for_tasks(struct se_cmd *cmd) in transport_wait_for_tasks()
3262 static void translate_sense_reason(struct se_cmd *cmd, sense_reason_t reason) in translate_sense_reason()
3303 transport_send_check_condition_and_sense(struct se_cmd *cmd, in transport_send_check_condition_and_sense()
3332 int target_send_busy(struct se_cmd *cmd) in target_send_busy()
3344 struct se_cmd *cmd = container_of(work, struct se_cmd, work); in target_tmr_work() local
3398 struct se_cmd *cmd) in transport_generic_handle_tmr()