Lines Matching defs:cmd
411 static void transport_all_task_dev_remove_state(struct se_cmd *cmd) in transport_all_task_dev_remove_state()
447 struct se_cmd *cmd, in transport_cmd_check_stop()
529 static int transport_cmd_check_stop_to_fabric(struct se_cmd *cmd) in transport_cmd_check_stop_to_fabric()
534 static void transport_lun_remove_cmd(struct se_cmd *cmd) in transport_lun_remove_cmd()
565 void transport_cmd_finish_abort(struct se_cmd *cmd, int remove) in transport_cmd_finish_abort()
578 static void transport_add_cmd_to_queue(struct se_cmd *cmd, int t_state, in transport_add_cmd_to_queue()
613 struct se_cmd *cmd; in transport_get_cmd_from_queue() local
632 static void transport_remove_cmd_from_queue(struct se_cmd *cmd) in transport_remove_cmd_from_queue()
658 void transport_complete_sync_cache(struct se_cmd *cmd, int good) in transport_complete_sync_cache()
679 struct se_cmd *cmd = container_of(work, struct se_cmd, work); in target_complete_failure_work() local
691 struct se_cmd *cmd = task->task_se_cmd; in transport_complete_task() local
831 static void transport_add_tasks_to_state_queue(struct se_cmd *cmd) in transport_add_tasks_to_state_queue()
854 static void __transport_add_tasks_from_cmd(struct se_cmd *cmd) in __transport_add_tasks_from_cmd()
871 static void transport_add_tasks_from_cmd(struct se_cmd *cmd) in transport_add_tasks_from_cmd()
911 struct se_cmd *cmd, *cmd_tmp; in target_qf_do_work() local
932 unsigned char *transport_dump_cmd_direction(struct se_cmd *cmd) in transport_dump_cmd_direction()
1443 transport_generic_get_task(struct se_cmd *cmd, in transport_generic_get_task()
1472 struct se_cmd *cmd, in transport_init_se_cmd()
1502 static int transport_check_alloc_task_attr(struct se_cmd *cmd) in transport_check_alloc_task_attr()
1533 struct se_cmd *cmd, in transport_generic_allocate_tasks()
1605 struct se_cmd *cmd) in transport_handle_cdb_direct()
1725 struct se_cmd *cmd) in transport_generic_handle_cdb_map()
1743 struct se_cmd *cmd) in transport_generic_handle_data()
1773 struct se_cmd *cmd) in transport_generic_handle_tmr()
1786 struct se_cmd *cmd = task->task_se_cmd; in target_stop_task() local
1806 static int transport_stop_tasks_for_cmd(struct se_cmd *cmd) in transport_stop_tasks_for_cmd()
1850 static void transport_generic_request_failure(struct se_cmd *cmd) in transport_generic_request_failure()
1992 static inline int transport_execute_task_attr(struct se_cmd *cmd) in transport_execute_task_attr()
2064 static int transport_execute_tasks(struct se_cmd *cmd) in transport_execute_tasks()
2103 struct se_cmd *cmd = NULL; in __transport_execute_tasks() local
2153 struct se_cmd *cmd, in transport_get_sectors_6()
2186 struct se_cmd *cmd, in transport_get_sectors_10()
2216 struct se_cmd *cmd, in transport_get_sectors_12()
2246 struct se_cmd *cmd, in transport_get_sectors_16()
2274 struct se_cmd *cmd, in transport_get_sectors_32()
2289 struct se_cmd *cmd) in transport_get_size()
2308 static void transport_xor_callback(struct se_cmd *cmd) in transport_xor_callback()
2365 static int transport_get_sense_data(struct se_cmd *cmd) in transport_get_sense_data()
2430 static int transport_cmd_get_valid_sectors(struct se_cmd *cmd) in transport_cmd_get_valid_sectors()
2494 struct se_cmd *cmd, in transport_generic_cmd_sequencer()
3106 static void transport_complete_task_attr(struct se_cmd *cmd) in transport_complete_task_attr()
3166 static void transport_complete_qf(struct se_cmd *cmd) in transport_complete_qf()
3207 struct se_cmd *cmd, in transport_handle_queue_full()
3221 struct se_cmd *cmd = container_of(work, struct se_cmd, work); in target_complete_ok_work() local
3324 static void transport_free_dev_tasks(struct se_cmd *cmd) in transport_free_dev_tasks()
3362 static inline void transport_free_pages(struct se_cmd *cmd) in transport_free_pages()
3383 static void transport_release_cmd(struct se_cmd *cmd) in transport_release_cmd()
3408 static void transport_put_cmd(struct se_cmd *cmd) in transport_put_cmd()
3454 struct se_cmd *cmd, in transport_generic_map_mem_to_cmd()
3492 void *transport_kmap_data_sg(struct se_cmd *cmd) in transport_kmap_data_sg()
3528 void transport_kunmap_data_sg(struct se_cmd *cmd) in transport_kunmap_data_sg()
3541 transport_generic_get_mem(struct se_cmd *cmd) in transport_generic_get_mem()
3603 void transport_do_task_sg_chain(struct se_cmd *cmd) in transport_do_task_sg_chain()
3670 transport_allocate_data_tasks(struct se_cmd *cmd, in transport_allocate_data_tasks()
3784 transport_allocate_control_task(struct se_cmd *cmd) in transport_allocate_control_task()
3815 int transport_generic_new_cmd(struct se_cmd *cmd) in transport_generic_new_cmd()
3916 void transport_generic_process_write(struct se_cmd *cmd) in transport_generic_process_write()
3922 static void transport_write_pending_qf(struct se_cmd *cmd) in transport_write_pending_qf()
3934 static int transport_generic_write_pending(struct se_cmd *cmd) in transport_generic_write_pending()
3971 void transport_generic_free_cmd(struct se_cmd *cmd, int wait_for_tasks) in transport_generic_free_cmd()
4124 static int transport_lun_wait_for_tasks(struct se_cmd *cmd, struct se_lun *lun) in transport_lun_wait_for_tasks()
4164 struct se_cmd *cmd = NULL; in __transport_clear_lun_from_sessions() local
4295 bool transport_wait_for_tasks(struct se_cmd *cmd) in transport_wait_for_tasks()
4384 struct se_cmd *cmd, in transport_get_sense_codes()
4395 struct se_cmd *cmd, in transport_set_sense_codes()
4406 struct se_cmd *cmd, in transport_send_check_condition_and_sense()
4596 int transport_check_aborted_status(struct se_cmd *cmd, int send_status) in transport_check_aborted_status()
4618 void transport_send_task_abort(struct se_cmd *cmd) in transport_send_task_abort()
4650 static int transport_generic_do_tmr(struct se_cmd *cmd) in transport_generic_do_tmr()
4697 struct se_cmd *cmd; in transport_processing_thread() local