• Home
  • Raw
  • Download

Lines Matching defs:cmd

588 static void target_remove_from_state_list(struct se_cmd *cmd)  in target_remove_from_state_list()
607 static int transport_cmd_check_stop(struct se_cmd *cmd, bool remove_from_lists, in transport_cmd_check_stop()
660 static int transport_cmd_check_stop_to_fabric(struct se_cmd *cmd) in transport_cmd_check_stop_to_fabric()
665 static void transport_lun_remove_cmd(struct se_cmd *cmd) in transport_lun_remove_cmd()
676 int transport_cmd_finish_abort(struct se_cmd *cmd, int remove) in transport_cmd_finish_abort()
700 struct se_cmd *cmd = container_of(work, struct se_cmd, work); in target_complete_failure_work() local
710 static unsigned char *transport_get_sense_buffer(struct se_cmd *cmd) in transport_get_sense_buffer()
729 void target_complete_cmd(struct se_cmd *cmd, u8 scsi_status) in target_complete_cmd()
784 void target_complete_cmd_with_length(struct se_cmd *cmd, u8 scsi_status, int length) in target_complete_cmd_with_length()
801 static void target_add_to_state_list(struct se_cmd *cmd) in target_add_to_state_list()
825 struct se_cmd *cmd, *cmd_tmp; in target_qf_do_work() local
848 unsigned char *transport_dump_cmd_direction(struct se_cmd *cmd) in transport_dump_cmd_direction()
1141 target_check_max_data_sg_nents(struct se_cmd *cmd, struct se_device *dev, in target_check_max_data_sg_nents()
1190 target_cmd_size_check(struct se_cmd *cmd, unsigned int size) in target_cmd_size_check()
1258 struct se_cmd *cmd, in transport_init_se_cmd()
1288 transport_check_alloc_task_attr(struct se_cmd *cmd) in transport_check_alloc_task_attr()
1309 target_setup_cmd_from_cdb(struct se_cmd *cmd, unsigned char *cdb) in target_setup_cmd_from_cdb()
1372 struct se_cmd *cmd) in transport_handle_cdb_direct()
1411 transport_generic_map_mem_to_cmd(struct se_cmd *cmd, struct scatterlist *sgl, in transport_generic_map_mem_to_cmd()
1694 void transport_generic_request_failure(struct se_cmd *cmd, in transport_generic_request_failure()
1790 void __target_execute_cmd(struct se_cmd *cmd, bool do_checks) in __target_execute_cmd()
1831 static int target_write_prot_action(struct se_cmd *cmd) in target_write_prot_action()
1866 static bool target_handle_task_attr(struct se_cmd *cmd) in target_handle_task_attr()
1919 void target_execute_cmd(struct se_cmd *cmd) in target_execute_cmd()
1967 struct se_cmd *cmd; in target_restart_delayed_cmds() local
1993 static void transport_complete_task_attr(struct se_cmd *cmd) in transport_complete_task_attr()
2025 static void transport_complete_qf(struct se_cmd *cmd) in transport_complete_qf()
2070 struct se_cmd *cmd, in transport_handle_queue_full()
2081 static bool target_read_prot_action(struct se_cmd *cmd) in target_read_prot_action()
2111 struct se_cmd *cmd = container_of(work, struct se_cmd, work); in target_complete_ok_work() local
2249 static inline void transport_reset_sgl_orig(struct se_cmd *cmd) in transport_reset_sgl_orig()
2265 static inline void transport_free_pages(struct se_cmd *cmd) in transport_free_pages()
2304 static int transport_put_cmd(struct se_cmd *cmd) in transport_put_cmd()
2314 void *transport_kmap_data_sg(struct se_cmd *cmd) in transport_kmap_data_sg()
2351 void transport_kunmap_data_sg(struct se_cmd *cmd) in transport_kunmap_data_sg()
2414 transport_generic_new_cmd(struct se_cmd *cmd) in transport_generic_new_cmd()
2500 static void transport_write_pending_qf(struct se_cmd *cmd) in transport_write_pending_qf()
2516 static void target_wait_free_cmd(struct se_cmd *cmd, bool *aborted, bool *tas) in target_wait_free_cmd()
2525 int transport_generic_free_cmd(struct se_cmd *cmd, int wait_for_tasks) in transport_generic_free_cmd()
2608 static void target_free_cmd_mem(struct se_cmd *cmd) in target_free_cmd_mem()
2772 __transport_wait_for_tasks(struct se_cmd *cmd, bool fabric_stop, in __transport_wait_for_tasks()
2830 bool transport_wait_for_tasks(struct se_cmd *cmd) in transport_wait_for_tasks()
2962 static int translate_sense_reason(struct se_cmd *cmd, sense_reason_t reason) in translate_sense_reason()
2998 transport_send_check_condition_and_sense(struct se_cmd *cmd, in transport_send_check_condition_and_sense()
3027 static int __transport_check_aborted_status(struct se_cmd *cmd, int send_status) in __transport_check_aborted_status()
3060 int transport_check_aborted_status(struct se_cmd *cmd, int send_status) in transport_check_aborted_status()
3072 void transport_send_task_abort(struct se_cmd *cmd) in transport_send_task_abort()
3115 struct se_cmd *cmd = container_of(work, struct se_cmd, work); in target_tmr_work() local
3175 struct se_cmd *cmd) in transport_generic_handle_tmr()