Home
last modified time | relevance | path

Searched refs:cdw10 (Results 1 – 9 of 9) sorted by relevance

/drivers/nvme/host/
Dtrace.c10 static const char *nvme_trace_delete_sq(struct trace_seq *p, u8 *cdw10) in nvme_trace_delete_sq() argument
13 u16 sqid = get_unaligned_le16(cdw10); in nvme_trace_delete_sq()
21 static const char *nvme_trace_create_sq(struct trace_seq *p, u8 *cdw10) in nvme_trace_create_sq() argument
24 u16 sqid = get_unaligned_le16(cdw10); in nvme_trace_create_sq()
25 u16 qsize = get_unaligned_le16(cdw10 + 2); in nvme_trace_create_sq()
26 u16 sq_flags = get_unaligned_le16(cdw10 + 4); in nvme_trace_create_sq()
27 u16 cqid = get_unaligned_le16(cdw10 + 6); in nvme_trace_create_sq()
37 static const char *nvme_trace_delete_cq(struct trace_seq *p, u8 *cdw10) in nvme_trace_delete_cq() argument
40 u16 cqid = get_unaligned_le16(cdw10); in nvme_trace_delete_cq()
48 static const char *nvme_trace_create_cq(struct trace_seq *p, u8 *cdw10) in nvme_trace_create_cq() argument
[all …]
Dtrace.h20 u8 *cdw10);
22 u8 *cdw10);
26 #define parse_nvme_cmd(qid, opcode, fctype, cdw10) \ argument
28 nvme_trace_parse_fabrics_cmd(p, fctype, cdw10) : \
30 nvme_trace_parse_nvm_cmd(p, opcode, cdw10) : \
31 nvme_trace_parse_admin_cmd(p, opcode, cdw10)))
60 __array(u8, cdw10, 24)
72 memcpy(__entry->cdw10, &cmd->common.cdw10,
73 sizeof(__entry->cdw10));
82 __entry->fctype, __entry->cdw10))
Dcore.c1627 c.common.cdw10 = cpu_to_le32(cmd.cdw10); in nvme_user_cmd()
1671 c.common.cdw10 = cpu_to_le32(cmd.cdw10); in nvme_user_cmd64()
2242 static int nvme_pr_command(struct block_device *bdev, u32 cdw10, in nvme_pr_command() argument
2261 c.common.cdw10 = cpu_to_le32(cdw10); in nvme_pr_command()
2271 u32 cdw10; in nvme_pr_register() local
2276 cdw10 = old ? 2 : 0; in nvme_pr_register()
2277 cdw10 |= (flags & PR_FL_IGNORE_KEY) ? 1 << 3 : 0; in nvme_pr_register()
2278 cdw10 |= (1 << 30) | (1 << 31); /* PTPL=1 */ in nvme_pr_register()
2279 return nvme_pr_command(bdev, cdw10, old, new, nvme_cmd_resv_register); in nvme_pr_register()
2285 u32 cdw10; in nvme_pr_reserve() local
[all …]
Dfc.c2557 sqe->connect.fctype, sqe->common.cdw10, sqe->common.cdw11); in nvme_fc_timeout()
/drivers/nvme/target/
Dtrace.c10 static const char *nvmet_trace_admin_identify(struct trace_seq *p, u8 *cdw10) in nvmet_trace_admin_identify() argument
13 u8 cns = cdw10[0]; in nvmet_trace_admin_identify()
14 u16 ctrlid = get_unaligned_le16(cdw10 + 2); in nvmet_trace_admin_identify()
23 u8 *cdw10) in nvmet_trace_admin_get_features() argument
26 u8 fid = cdw10[0]; in nvmet_trace_admin_get_features()
27 u8 sel = cdw10[1] & 0x7; in nvmet_trace_admin_get_features()
28 u32 cdw11 = get_unaligned_le32(cdw10 + 4); in nvmet_trace_admin_get_features()
37 u8 *cdw10) in nvmet_trace_get_lba_status() argument
40 u64 slba = get_unaligned_le64(cdw10); in nvmet_trace_get_lba_status()
41 u32 mndw = get_unaligned_le32(cdw10 + 8); in nvmet_trace_get_lba_status()
[all …]
Dtrace.h22 u8 *cdw10);
24 u8 *cdw10);
28 #define parse_nvme_cmd(qid, opcode, fctype, cdw10) \ argument
30 nvmet_trace_parse_fabrics_cmd(p, fctype, cdw10) : \
32 nvmet_trace_parse_nvm_cmd(p, opcode, cdw10) : \
33 nvmet_trace_parse_admin_cmd(p, opcode, cdw10)))
72 __array(u8, cdw10, 24)
85 memcpy(__entry->cdw10, &cmd->common.cdw10,
86 sizeof(__entry->cdw10));
97 __entry->fctype, __entry->cdw10))
Ddiscovery.c300 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); in nvmet_execute_disc_set_features() local
306 switch (cdw10 & 0xff) { in nvmet_execute_disc_set_features()
316 offsetof(struct nvme_common_command, cdw10); in nvmet_execute_disc_set_features()
326 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); in nvmet_execute_disc_get_features() local
332 switch (cdw10 & 0xff) { in nvmet_execute_disc_get_features()
341 offsetof(struct nvme_common_command, cdw10); in nvmet_execute_disc_get_features()
Dadmin-cmd.c28 static u32 nvmet_feat_data_len(struct nvmet_req *req, u32 cdw10) in nvmet_feat_data_len() argument
30 switch (cdw10 & 0xff) { in nvmet_feat_data_len()
760 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); in nvmet_execute_set_features() local
769 switch (cdw10 & 0xff) { in nvmet_execute_set_features()
793 req->error_loc = offsetof(struct nvme_common_command, cdw10); in nvmet_execute_set_features()
835 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); in nvmet_execute_get_features() local
838 if (!nvmet_check_transfer_len(req, nvmet_feat_data_len(req, cdw10))) in nvmet_execute_get_features()
841 switch (cdw10 & 0xff) { in nvmet_execute_get_features()
893 offsetof(struct nvme_common_command, cdw10); in nvmet_execute_get_features()
Dnvmet.h379 int rae = le32_to_cpu(req->cmd->common.cdw10) & 1 << 15; in nvmet_clear_aen_bit()