Lines Matching refs:cdw10
164 static u32 nvmet_feat_data_len(struct nvmet_req *req, u32 cdw10) in nvmet_feat_data_len() argument
166 switch (cdw10 & 0xff) { in nvmet_feat_data_len()
1301 req->error_loc = offsetof(struct nvme_common_command, cdw10); in nvmet_set_feat_irq_coalesce()
1322 req->error_loc = offsetof(struct nvme_common_command, cdw10); in nvmet_set_feat_irq_config()
1341 req->error_loc = offsetof(struct nvme_common_command, cdw10); in nvmet_set_feat_arbitration()
1351 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); in nvmet_execute_set_features() local
1360 switch (cdw10 & 0xff) { in nvmet_execute_set_features()
1396 req->error_loc = offsetof(struct nvme_common_command, cdw10); in nvmet_execute_set_features()
1435 req->error_loc = offsetof(struct nvme_common_command, cdw10); in nvmet_get_feat_irq_coalesce()
1460 req->error_loc = offsetof(struct nvme_common_command, cdw10); in nvmet_get_feat_irq_config()
1480 req->error_loc = offsetof(struct nvme_common_command, cdw10); in nvmet_get_feat_arbitration()
1510 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); in nvmet_execute_get_features() local
1513 if (!nvmet_check_transfer_len(req, nvmet_feat_data_len(req, cdw10))) in nvmet_execute_get_features()
1516 switch (cdw10 & 0xff) { in nvmet_execute_get_features()
1574 offsetof(struct nvme_common_command, cdw10); in nvmet_execute_get_features()
1636 return nvmet_feat_data_len(req, le32_to_cpu(cmd->common.cdw10)); in nvmet_admin_cmd_data_len()