Searched refs:task_params (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/drivers/scsi/qedf/ |
D | drv_fcoe_fw_funcs.c | 10 static inline void init_common_sqe(struct fcoe_task_params *task_params, in init_common_sqe() argument 13 memset(task_params->sqe, 0, sizeof(*(task_params->sqe))); in init_common_sqe() 14 SET_FIELD(task_params->sqe->flags, FCOE_WQE_REQ_TYPE, in init_common_sqe() 16 task_params->sqe->task_id = task_params->itid; in init_common_sqe() 19 int init_initiator_rw_fcoe_task(struct fcoe_task_params *task_params, in init_initiator_rw_fcoe_task() argument 25 struct e4_fcoe_task_context *ctx = task_params->context; in init_initiator_rw_fcoe_task() 38 io_size = (task_params->task_type == FCOE_TASK_TYPE_WRITE_INITIATOR ? in init_initiator_rw_fcoe_task() 39 task_params->tx_io_size : task_params->rx_io_size); in init_initiator_rw_fcoe_task() 45 y_st_ctx->task_type = (u8)task_params->task_type; in init_initiator_rw_fcoe_task() 51 t_st_ctx->read_only.dev_type = (u8)(task_params->is_tape_device == 1 ? in init_initiator_rw_fcoe_task() [all …]
|
D | drv_fcoe_fw_funcs.h | 38 int init_initiator_rw_fcoe_task(struct fcoe_task_params *task_params, 56 struct fcoe_task_params *task_params, 68 int init_initiator_abort_fcoe_task(struct fcoe_task_params *task_params); 77 int init_initiator_cleanup_fcoe_task(struct fcoe_task_params *task_params); 88 struct fcoe_task_params *task_params,
|
D | qedf_io.c | 156 kfree(io_req->task_params); in qedf_cmd_mgr_free() 240 io_req->task_params = kzalloc(sizeof(*io_req->task_params), in qedf_cmd_mgr_alloc() 242 if (!io_req->task_params) { in qedf_cmd_mgr_alloc() 614 memset(io_req->task_params, 0, sizeof(struct fcoe_task_params)); in qedf_init_task() 631 io_req->task_params->context = task_ctx; in qedf_init_task() 632 io_req->task_params->sqe = sqe; in qedf_init_task() 633 io_req->task_params->task_type = task_type; in qedf_init_task() 634 io_req->task_params->tx_io_size = tx_io_size; in qedf_init_task() 635 io_req->task_params->rx_io_size = rx_io_size; in qedf_init_task() 636 io_req->task_params->conn_cid = fcport->fw_cid; in qedf_init_task() [all …]
|
D | qedf_els.c | 719 orig_io_req->task_params->sqe = sqe; in qedf_initiate_seq_cleanup() 721 init_initiator_sequence_recovery_fcoe_task(orig_io_req->task_params, in qedf_initiate_seq_cleanup()
|
D | qedf.h | 148 struct fcoe_task_params *task_params; member
|
/Linux-v5.4/drivers/scsi/qedi/ |
D | qedi_fw_api.c | 52 static u32 calc_rw_task_size(struct iscsi_task_params *task_params, in calc_rw_task_size() argument 61 io_size = task_params->tx_io_size; in calc_rw_task_size() 63 io_size = task_params->rx_io_size; in calc_rw_task_size() 90 static void init_sqe(struct iscsi_task_params *task_params, in init_sqe() argument 98 if (!task_params->sqe) in init_sqe() 101 memset(task_params->sqe, 0, sizeof(*task_params->sqe)); in init_sqe() 102 task_params->sqe->task_id = cpu_to_le16(task_params->itid); in init_sqe() 104 SET_FIELD(task_params->sqe->flags, ISCSI_WQE_WQE_TYPE, in init_sqe() 115 init_dif_context_flags(&task_params->sqe->prot_flags, in init_sqe() 118 SET_FIELD(task_params->sqe->flags, ISCSI_WQE_WQE_TYPE, in init_sqe() [all …]
|
D | qedi_fw_iscsi.h | 40 int init_initiator_rw_iscsi_task(struct iscsi_task_params *task_params, 56 int init_initiator_login_request_task(struct iscsi_task_params *task_params, 69 int init_initiator_nop_out_task(struct iscsi_task_params *task_params, 82 int init_initiator_logout_request_task(struct iscsi_task_params *task_params, 93 int init_initiator_tmf_request_task(struct iscsi_task_params *task_params, 104 int init_initiator_text_request_task(struct iscsi_task_params *task_params, 113 int init_cleanup_task(struct iscsi_task_params *task_params);
|
D | qedi_fw.c | 1012 struct iscsi_task_params task_params; in qedi_send_iscsi_login() local 1039 memset(&task_params, 0, sizeof(task_params)); in qedi_send_iscsi_login() 1081 task_params.context = fw_task_ctx; in qedi_send_iscsi_login() 1082 task_params.conn_icid = (u16)qedi_conn->iscsi_conn_id; in qedi_send_iscsi_login() 1083 task_params.itid = tid; in qedi_send_iscsi_login() 1084 task_params.cq_rss_number = 0; in qedi_send_iscsi_login() 1085 task_params.tx_io_size = ntoh24(login_hdr->dlength); in qedi_send_iscsi_login() 1086 task_params.rx_io_size = resp_sge->sge_len; in qedi_send_iscsi_login() 1089 task_params.sqe = &ep->sq[sq_idx]; in qedi_send_iscsi_login() 1091 memset(task_params.sqe, 0, sizeof(struct iscsi_wqe)); in qedi_send_iscsi_login() [all …]
|