Home
last modified time | relevance | path

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

/linux-6.12.1/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 …]
Dpr.c107 static int nvme_pr_command(struct block_device *bdev, u32 cdw10, in nvme_pr_command() argument
118 c.common.cdw10 = cpu_to_le32(cdw10); in nvme_pr_command()
130 u32 cdw10; in nvme_pr_register() local
135 cdw10 = old ? 2 : 0; in nvme_pr_register()
136 cdw10 |= (flags & PR_FL_IGNORE_KEY) ? 1 << 3 : 0; in nvme_pr_register()
137 cdw10 |= (1 << 30) | (1 << 31); /* PTPL=1 */ in nvme_pr_register()
138 return nvme_pr_command(bdev, cdw10, old, new, nvme_cmd_resv_register); in nvme_pr_register()
144 u32 cdw10; in nvme_pr_reserve() local
149 cdw10 = nvme_pr_type_from_blk(type) << 8; in nvme_pr_reserve()
150 cdw10 |= ((flags & PR_FL_IGNORE_KEY) ? 1 << 3 : 0); in nvme_pr_reserve()
[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.cdws,
73 sizeof(__entry->cdw10));
82 __entry->fctype, __entry->cdw10))
Dioctl.c311 c.common.cdw10 = cpu_to_le32(cmd.cdw10); in nvme_user_cmd()
358 c.common.cdw10 = cpu_to_le32(cmd.cdw10); in nvme_user_cmd64()
479 c.common.cdw10 = cpu_to_le32(READ_ONCE(cmd->cdw10)); in nvme_uring_cmd_io()
Dcore.c379 nr->cmd->common.cdw10, in nvme_log_err_passthru()
1251 switch (le32_to_cpu(cmd->common.cdw10) & 0xFF) { in nvme_passthru_end()
2354 cmd.common.cdw10 = cpu_to_le32(((u32)secp) << 24 | ((u32)spsp) << 8); in nvme_sec_submit()
Dfc.c2583 sqe->common.cdw10, sqe->common.cdw11); in nvme_fc_timeout()
/linux-6.12.1/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)))
80 __array(u8, cdw10, 24)
93 memcpy(__entry->cdw10, &cmd->common.cdws,
94 sizeof(__entry->cdw10));
105 __entry->fctype, __entry->cdw10))
Ddiscovery.c306 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); in nvmet_execute_disc_set_features() local
312 switch (cdw10 & 0xff) { in nvmet_execute_disc_set_features()
322 offsetof(struct nvme_common_command, cdw10); in nvmet_execute_disc_set_features()
332 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); in nvmet_execute_disc_get_features() local
338 switch (cdw10 & 0xff) { in nvmet_execute_disc_get_features()
347 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()
832 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); in nvmet_execute_set_features() local
841 switch (cdw10 & 0xff) { in nvmet_execute_set_features()
865 req->error_loc = offsetof(struct nvme_common_command, cdw10); in nvmet_execute_set_features()
906 u32 cdw10 = le32_to_cpu(req->cmd->common.cdw10); in nvmet_execute_get_features() local
909 if (!nvmet_check_transfer_len(req, nvmet_feat_data_len(req, cdw10))) in nvmet_execute_get_features()
912 switch (cdw10 & 0xff) { in nvmet_execute_get_features()
964 offsetof(struct nvme_common_command, cdw10); in nvmet_execute_get_features()
Dnvmet.h446 int rae = le32_to_cpu(req->cmd->common.cdw10) & 1 << 15; in nvmet_clear_aen_bit()
/linux-6.12.1/include/uapi/linux/
Dnvme_ioctl.h38 __u32 cdw10; member
62 __u32 cdw10; member
85 __u32 cdw10; member
/linux-6.12.1/include/linux/
Dnvme.h967 __le32 cdw10;
1377 __le32 cdw10; member