Home
last modified time | relevance | path

Searched defs:se_cmd (Results 1 – 25 of 63) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_xcopy.c128 static int target_xcopy_parse_tiddesc_e4(struct se_cmd *se_cmd, struct xcopy_op *xop, in target_xcopy_parse_tiddesc_e4()
214 static int target_xcopy_parse_target_descriptors(struct se_cmd *se_cmd, in target_xcopy_parse_target_descriptors()
311 static int target_xcopy_parse_segdesc_02(struct se_cmd *se_cmd, struct xcopy_op *xop, in target_xcopy_parse_segdesc_02()
348 static int target_xcopy_parse_segment_descriptors(struct se_cmd *se_cmd, in target_xcopy_parse_segment_descriptors()
405 struct se_cmd se_cmd; member
414 static int xcopy_pt_get_cmd_state(struct se_cmd *se_cmd) in xcopy_pt_get_cmd_state()
429 static void xcopy_pt_release_cmd(struct se_cmd *se_cmd) in xcopy_pt_release_cmd()
438 static int xcopy_pt_check_stop_free(struct se_cmd *se_cmd) in xcopy_pt_check_stop_free()
447 static int xcopy_pt_write_pending(struct se_cmd *se_cmd) in xcopy_pt_write_pending()
452 static int xcopy_pt_queue_data_in(struct se_cmd *se_cmd) in xcopy_pt_queue_data_in()
[all …]
Dtarget_core_tmr.c27 struct se_cmd *se_cmd, in core_tmr_alloc_req()
80 static bool __target_check_io_state(struct se_cmd *se_cmd, in __target_check_io_state()
120 struct se_cmd *se_cmd, *next; in core_tmr_abort_task() local
/kernel/linux/linux-6.6/drivers/target/
Dtarget_core_xcopy.c115 static int target_xcopy_parse_tiddesc_e4(struct se_cmd *se_cmd, struct xcopy_op *xop, in target_xcopy_parse_tiddesc_e4()
201 static int target_xcopy_parse_target_descriptors(struct se_cmd *se_cmd, in target_xcopy_parse_target_descriptors()
391 struct se_cmd se_cmd; member
400 static int xcopy_pt_get_cmd_state(struct se_cmd *se_cmd) in xcopy_pt_get_cmd_state()
415 static void xcopy_pt_release_cmd(struct se_cmd *se_cmd) in xcopy_pt_release_cmd()
424 static int xcopy_pt_check_stop_free(struct se_cmd *se_cmd) in xcopy_pt_check_stop_free()
433 static int xcopy_pt_write_pending(struct se_cmd *se_cmd) in xcopy_pt_write_pending()
438 static int xcopy_pt_queue_data_in(struct se_cmd *se_cmd) in xcopy_pt_queue_data_in()
443 static int xcopy_pt_queue_status(struct se_cmd *se_cmd) in xcopy_pt_queue_status()
551 struct se_cmd *se_cmd = &xpt_cmd->se_cmd; in target_xcopy_issue_pt_cmd() local
[all …]
Dtarget_core_tmr.c27 struct se_cmd *se_cmd, in core_tmr_alloc_req()
71 static bool __target_check_io_state(struct se_cmd *se_cmd, in __target_check_io_state()
111 struct se_cmd *se_cmd, *next; in core_tmr_abort_task() local
Dtarget_core_transport.c1667 int target_init_cmd(struct se_cmd *se_cmd, struct se_session *se_sess, in target_init_cmd()
1724 int target_submit_prep(struct se_cmd *se_cmd, unsigned char *cdb, in target_submit_prep()
1791 void target_submit(struct se_cmd *se_cmd) in target_submit()
1856 void target_submit_cmd(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_cmd()
1909 struct se_cmd *se_cmd, *next_cmd; in target_queued_submit_work() local
1937 void target_queue_submission(struct se_cmd *se_cmd) in target_queue_submission()
1951 struct se_cmd *se_cmd = container_of(work, struct se_cmd, work); in target_complete_tmr_failure() local
1977 int target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess, in target_submit_tmr()
2992 int target_get_sess_cmd(struct se_cmd *se_cmd, bool ack_kref) in target_get_sess_cmd()
3033 struct se_cmd *se_cmd = container_of(kref, struct se_cmd, cmd_kref); in target_release_cmd_kref() local
[all …]
/kernel/linux/linux-5.10/drivers/target/tcm_fc/
Dtfc_cmd.c36 struct se_cmd *se_cmd; in _ft_dump_cmd() local
86 void ft_release_cmd(struct se_cmd *se_cmd) in ft_release_cmd()
93 int ft_check_stop_free(struct se_cmd *se_cmd) in ft_check_stop_free()
101 int ft_queue_status(struct se_cmd *se_cmd) in ft_queue_status()
178 int ft_write_pending(struct se_cmd *se_cmd) in ft_write_pending()
227 int ft_get_cmd_state(struct se_cmd *se_cmd) in ft_get_cmd_state()
381 void ft_queue_tm_resp(struct se_cmd *se_cmd) in ft_queue_tm_resp()
416 void ft_aborted_task(struct se_cmd *se_cmd) in ft_aborted_task()
Dtfc_io.c42 int ft_queue_data_in(struct se_cmd *se_cmd) in ft_queue_data_in()
198 struct se_cmd *se_cmd = &cmd->se_cmd; in ft_recv_write_data() local
/kernel/linux/linux-5.10/include/target/
Dtarget_core_base.h454 struct se_cmd { struct
474 /* See se_cmd_flags_table */ argument
475 u32 se_cmd_flags; argument
491 struct list_head se_cmd_list; argument
495 sense_reason_t (*execute_cmd)(struct se_cmd *); argument
496 sense_reason_t (*transport_complete_callback)(struct se_cmd *, bool, int *); argument
497 void *protocol_data;
499 unsigned char *t_task_cdb;
500 unsigned char __t_task_cdb[TCM_MAX_COMMAND_SIZE];
501 unsigned long long t_task_lba;
[all …]
/kernel/linux/linux-6.6/include/target/
Dtarget_core_base.h461 struct se_cmd { struct
481 /* See se_cmd_flags_table */ argument
482 u32 se_cmd_flags; argument
499 struct llist_node se_cmd_list; argument
503 sense_reason_t (*execute_cmd)(struct se_cmd *); argument
504 sense_reason_t (*transport_complete_callback)(struct se_cmd *, bool, int *); argument
505 void *protocol_data;
507 unsigned char *t_task_cdb;
508 unsigned char __t_task_cdb[TCM_MAX_COMMAND_SIZE];
509 unsigned long long t_task_lba;
[all …]
/kernel/linux/linux-6.6/drivers/target/tcm_fc/
Dtfc_cmd.c35 struct se_cmd *se_cmd; in _ft_dump_cmd() local
85 void ft_release_cmd(struct se_cmd *se_cmd) in ft_release_cmd()
92 int ft_check_stop_free(struct se_cmd *se_cmd) in ft_check_stop_free()
100 int ft_queue_status(struct se_cmd *se_cmd) in ft_queue_status()
177 int ft_write_pending(struct se_cmd *se_cmd) in ft_write_pending()
375 void ft_queue_tm_resp(struct se_cmd *se_cmd) in ft_queue_tm_resp()
410 void ft_aborted_task(struct se_cmd *se_cmd) in ft_aborted_task()
Dtfc_io.c41 int ft_queue_data_in(struct se_cmd *se_cmd) in ft_queue_data_in()
197 struct se_cmd *se_cmd = &cmd->se_cmd; in ft_recv_write_data() local
/kernel/linux/linux-6.6/drivers/target/loopback/
Dtcm_loop.c60 static int tcm_loop_check_stop_free(struct se_cmd *se_cmd) in tcm_loop_check_stop_free()
65 static void tcm_loop_release_cmd(struct se_cmd *se_cmd) in tcm_loop_release_cmd()
103 struct se_cmd *se_cmd = &tl_cmd->tl_se_cmd; in tcm_loop_target_queue_cmd() local
192 struct se_cmd *se_cmd; in tcm_loop_issue_tmr() local
488 static int tcm_loop_get_cmd_state(struct se_cmd *se_cmd) in tcm_loop_get_cmd_state()
496 static int tcm_loop_write_pending(struct se_cmd *se_cmd) in tcm_loop_write_pending()
512 struct se_cmd *se_cmd, u8 scsi_status) in tcm_loop_queue_data_or_status()
538 static int tcm_loop_queue_data_in(struct se_cmd *se_cmd) in tcm_loop_queue_data_in()
543 static int tcm_loop_queue_status(struct se_cmd *se_cmd) in tcm_loop_queue_status()
549 static void tcm_loop_queue_tm_rsp(struct se_cmd *se_cmd) in tcm_loop_queue_tm_rsp()
[all …]
/kernel/linux/linux-5.10/drivers/target/loopback/
Dtcm_loop.c52 static int tcm_loop_check_stop_free(struct se_cmd *se_cmd) in tcm_loop_check_stop_free()
57 static void tcm_loop_release_cmd(struct se_cmd *se_cmd) in tcm_loop_release_cmd()
100 struct se_cmd *se_cmd = &tl_cmd->tl_se_cmd; in tcm_loop_submission_work() local
197 struct se_cmd *se_cmd; in tcm_loop_issue_tmr() local
526 static int tcm_loop_get_cmd_state(struct se_cmd *se_cmd) in tcm_loop_get_cmd_state()
534 static int tcm_loop_write_pending(struct se_cmd *se_cmd) in tcm_loop_write_pending()
550 struct se_cmd *se_cmd, u8 scsi_status) in tcm_loop_queue_data_or_status()
578 static int tcm_loop_queue_data_in(struct se_cmd *se_cmd) in tcm_loop_queue_data_in()
583 static int tcm_loop_queue_status(struct se_cmd *se_cmd) in tcm_loop_queue_status()
589 static void tcm_loop_queue_tm_rsp(struct se_cmd *se_cmd) in tcm_loop_queue_tm_rsp()
[all …]
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Df_tcm.c205 struct se_cmd *se_cmd = &cmd->se_cmd; in bot_send_read_response() local
247 struct se_cmd *se_cmd = &cmd->se_cmd; in bot_send_write_request() local
512 struct se_cmd *se_cmd = &cmd->se_cmd; in uasp_prepare_r_request() local
545 struct se_cmd *se_cmd = &cmd->se_cmd; in uasp_prepare_status() local
676 struct se_cmd *se_cmd = &cmd->se_cmd; in uasp_send_write_request() local
958 struct se_cmd *se_cmd = &cmd->se_cmd; in usbg_data_write_cmpl() local
981 struct se_cmd *se_cmd = &cmd->se_cmd; in usbg_prepare_w_request() local
1004 static int usbg_send_status_response(struct se_cmd *se_cmd) in usbg_send_status_response()
1016 static int usbg_send_write_request(struct se_cmd *se_cmd) in usbg_send_write_request()
1028 static int usbg_send_read_response(struct se_cmd *se_cmd) in usbg_send_read_response()
[all …]
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
Df_tcm.c205 struct se_cmd *se_cmd = &cmd->se_cmd; in bot_send_read_response() local
247 struct se_cmd *se_cmd = &cmd->se_cmd; in bot_send_write_request() local
512 struct se_cmd *se_cmd = &cmd->se_cmd; in uasp_prepare_r_request() local
545 struct se_cmd *se_cmd = &cmd->se_cmd; in uasp_prepare_status() local
676 struct se_cmd *se_cmd = &cmd->se_cmd; in uasp_send_write_request() local
958 struct se_cmd *se_cmd = &cmd->se_cmd; in usbg_data_write_cmpl() local
981 struct se_cmd *se_cmd = &cmd->se_cmd; in usbg_prepare_w_request() local
1004 static int usbg_send_status_response(struct se_cmd *se_cmd) in usbg_send_status_response()
1016 static int usbg_send_write_request(struct se_cmd *se_cmd) in usbg_send_write_request()
1028 static int usbg_send_read_response(struct se_cmd *se_cmd) in usbg_send_read_response()
[all …]
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c319 static int tcm_qla2xxx_check_stop_free(struct se_cmd *se_cmd) in tcm_qla2xxx_check_stop_free()
334 static void tcm_qla2xxx_release_cmd(struct se_cmd *se_cmd) in tcm_qla2xxx_release_cmd()
380 static int tcm_qla2xxx_write_pending(struct se_cmd *se_cmd) in tcm_qla2xxx_write_pending()
419 static int tcm_qla2xxx_get_cmd_state(struct se_cmd *se_cmd) in tcm_qla2xxx_get_cmd_state()
437 struct se_cmd *se_cmd = &cmd->se_cmd; in tcm_qla2xxx_handle_cmd() local
561 struct se_cmd *se_cmd = &cmd->se_cmd; in tcm_qla2xxx_dif_tags() local
579 struct se_cmd *se_cmd = &mcmd->se_cmd; in tcm_qla2xxx_handle_tmr() local
642 static int tcm_qla2xxx_queue_data_in(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_data_in()
681 static int tcm_qla2xxx_queue_status(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_status()
727 static void tcm_qla2xxx_queue_tm_rsp(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_tm_rsp()
[all …]
/kernel/linux/linux-5.10/drivers/target/iscsi/
Discsi_target_configfs.c1338 static int iscsi_get_cmd_state(struct se_cmd *se_cmd) in iscsi_get_cmd_state()
1364 static int lio_queue_data_in(struct se_cmd *se_cmd) in lio_queue_data_in()
1373 static int lio_write_pending(struct se_cmd *se_cmd) in lio_write_pending()
1384 static int lio_queue_status(struct se_cmd *se_cmd) in lio_queue_status()
1397 static void lio_queue_tm_rsp(struct se_cmd *se_cmd) in lio_queue_tm_rsp()
1405 static void lio_aborted_task(struct se_cmd *se_cmd) in lio_aborted_task()
1515 static int lio_check_stop_free(struct se_cmd *se_cmd) in lio_check_stop_free()
1520 static void lio_release_cmd(struct se_cmd *se_cmd) in lio_release_cmd()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c314 static int tcm_qla2xxx_check_stop_free(struct se_cmd *se_cmd) in tcm_qla2xxx_check_stop_free()
329 static void tcm_qla2xxx_release_cmd(struct se_cmd *se_cmd) in tcm_qla2xxx_release_cmd()
385 static int tcm_qla2xxx_write_pending(struct se_cmd *se_cmd) in tcm_qla2xxx_write_pending()
429 static int tcm_qla2xxx_get_cmd_state(struct se_cmd *se_cmd) in tcm_qla2xxx_get_cmd_state()
447 struct se_cmd *se_cmd = &cmd->se_cmd; in tcm_qla2xxx_handle_cmd() local
557 struct se_cmd *se_cmd = &cmd->se_cmd; in tcm_qla2xxx_dif_tags() local
575 struct se_cmd *se_cmd = &mcmd->se_cmd; in tcm_qla2xxx_handle_tmr() local
645 static int tcm_qla2xxx_queue_data_in(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_data_in()
684 static int tcm_qla2xxx_queue_status(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_status()
730 static void tcm_qla2xxx_queue_tm_rsp(struct se_cmd *se_cmd) in tcm_qla2xxx_queue_tm_rsp()
[all …]
/kernel/linux/linux-6.6/drivers/target/iscsi/
Discsi_target_configfs.c1359 static int iscsi_get_cmd_state(struct se_cmd *se_cmd) in iscsi_get_cmd_state()
1385 static int lio_queue_data_in(struct se_cmd *se_cmd) in lio_queue_data_in()
1394 static int lio_write_pending(struct se_cmd *se_cmd) in lio_write_pending()
1405 static int lio_queue_status(struct se_cmd *se_cmd) in lio_queue_status()
1418 static void lio_queue_tm_rsp(struct se_cmd *se_cmd) in lio_queue_tm_rsp()
1426 static void lio_aborted_task(struct se_cmd *se_cmd) in lio_aborted_task()
1529 static int lio_check_stop_free(struct se_cmd *se_cmd) in lio_check_stop_free()
1534 static void lio_release_cmd(struct se_cmd *se_cmd) in lio_release_cmd()
/kernel/linux/linux-5.10/drivers/xen/
Dxen-scsiback.c137 struct se_cmd se_cmd; member
361 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_cmd_exec() local
561 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_device_action() local
1357 static int scsiback_check_stop_free(struct se_cmd *se_cmd) in scsiback_check_stop_free()
1362 static void scsiback_release_cmd(struct se_cmd *se_cmd) in scsiback_release_cmd()
1372 static int scsiback_write_pending(struct se_cmd *se_cmd) in scsiback_write_pending()
1384 static int scsiback_get_cmd_state(struct se_cmd *se_cmd) in scsiback_get_cmd_state()
1389 static int scsiback_queue_data_in(struct se_cmd *se_cmd) in scsiback_queue_data_in()
1399 static int scsiback_queue_status(struct se_cmd *se_cmd) in scsiback_queue_status()
1416 static void scsiback_queue_tm_rsp(struct se_cmd *se_cmd) in scsiback_queue_tm_rsp()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c57 static void ibmvscsis_determine_resid(struct se_cmd *se_cmd, in ibmvscsis_determine_resid()
3058 struct se_cmd *se_cmd = &cmd->se_cmd; in ibmvscsis_fast_fail() local
3089 struct se_cmd *se_cmd = &cmd->se_cmd; in srp_build_response() local
3724 static int ibmvscsis_check_stop_free(struct se_cmd *se_cmd) in ibmvscsis_check_stop_free()
3729 static void ibmvscsis_release_cmd(struct se_cmd *se_cmd) in ibmvscsis_release_cmd()
3747 static int ibmvscsis_write_pending(struct se_cmd *se_cmd) in ibmvscsis_write_pending()
3785 static int ibmvscsis_get_cmd_state(struct se_cmd *se_cmd) in ibmvscsis_get_cmd_state()
3790 static int ibmvscsis_queue_data_in(struct se_cmd *se_cmd) in ibmvscsis_queue_data_in()
3817 static int ibmvscsis_queue_status(struct se_cmd *se_cmd) in ibmvscsis_queue_status()
3833 static void ibmvscsis_queue_tm_rsp(struct se_cmd *se_cmd) in ibmvscsis_queue_tm_rsp()
[all …]
/kernel/linux/linux-5.10/drivers/target/sbp/
Dsbp_target.c1360 struct se_cmd *se_cmd = &req->se_cmd; in sbp_sense_mangle() local
1427 struct se_cmd *se_cmd = &req->se_cmd; in sbp_send_sense() local
1444 struct se_cmd *se_cmd = &req->se_cmd; in sbp_free_request() local
1703 static void sbp_release_cmd(struct se_cmd *se_cmd) in sbp_release_cmd()
1716 static int sbp_write_pending(struct se_cmd *se_cmd) in sbp_write_pending()
1744 static int sbp_get_cmd_state(struct se_cmd *se_cmd) in sbp_get_cmd_state()
1749 static int sbp_queue_data_in(struct se_cmd *se_cmd) in sbp_queue_data_in()
1773 static int sbp_queue_status(struct se_cmd *se_cmd) in sbp_queue_status()
1781 static void sbp_queue_tm_rsp(struct se_cmd *se_cmd) in sbp_queue_tm_rsp()
1785 static void sbp_aborted_task(struct se_cmd *se_cmd) in sbp_aborted_task()
[all …]
/kernel/linux/linux-6.6/drivers/target/tcm_remote/
Dtcm_remote.c42 static int tcm_remote_dummy_cmd_fn(struct se_cmd *se_cmd) in tcm_remote_dummy_cmd_fn()
47 static void tcm_remote_dummy_cmd_void_fn(struct se_cmd *se_cmd) in tcm_remote_dummy_cmd_void_fn()
/kernel/linux/linux-6.6/drivers/xen/
Dxen-scsiback.c135 struct se_cmd se_cmd; member
423 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_cmd_exec() local
620 struct se_cmd *se_cmd = &pending_req->se_cmd; in scsiback_device_action() local
1410 static int scsiback_check_stop_free(struct se_cmd *se_cmd) in scsiback_check_stop_free()
1415 static void scsiback_release_cmd(struct se_cmd *se_cmd) in scsiback_release_cmd()
1420 static int scsiback_write_pending(struct se_cmd *se_cmd) in scsiback_write_pending()
1428 static int scsiback_queue_data_in(struct se_cmd *se_cmd) in scsiback_queue_data_in()
1438 static int scsiback_queue_status(struct se_cmd *se_cmd) in scsiback_queue_status()
1454 static void scsiback_queue_tm_rsp(struct se_cmd *se_cmd) in scsiback_queue_tm_rsp()
1462 static void scsiback_aborted_task(struct se_cmd *se_cmd) in scsiback_aborted_task()
/kernel/linux/linux-6.6/drivers/target/sbp/
Dsbp_target.c1357 struct se_cmd *se_cmd = &req->se_cmd; in sbp_sense_mangle() local
1424 struct se_cmd *se_cmd = &req->se_cmd; in sbp_send_sense() local
1441 struct se_cmd *se_cmd = &req->se_cmd; in sbp_free_request() local
1690 static void sbp_release_cmd(struct se_cmd *se_cmd) in sbp_release_cmd()
1698 static int sbp_write_pending(struct se_cmd *se_cmd) in sbp_write_pending()
1721 static int sbp_queue_data_in(struct se_cmd *se_cmd) in sbp_queue_data_in()
1745 static int sbp_queue_status(struct se_cmd *se_cmd) in sbp_queue_status()
1753 static void sbp_queue_tm_rsp(struct se_cmd *se_cmd) in sbp_queue_tm_rsp()
1757 static void sbp_aborted_task(struct se_cmd *se_cmd) in sbp_aborted_task()
1762 static int sbp_check_stop_free(struct se_cmd *se_cmd) in sbp_check_stop_free()

123