Home
last modified time | relevance | path

Searched refs:get_log_page (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/nvme/target/
Dadmin-cmd.c17 u32 len = le16_to_cpu(cmd->get_log_page.numdu); in nvmet_get_log_page_len()
20 len += le16_to_cpu(cmd->get_log_page.numdl); in nvmet_get_log_page_len()
40 return le64_to_cpu(cmd->get_log_page.lpo); in nvmet_get_log_page_offset()
80 ns = nvmet_find_namespace(req->sq->ctrl, req->cmd->get_log_page.nsid); in nvmet_get_smart_log_nsid()
83 le32_to_cpu(req->cmd->get_log_page.nsid)); in nvmet_get_smart_log_nsid()
152 if (req->cmd->get_log_page.nsid == cpu_to_le32(NVME_NSID_ALL)) in nvmet_execute_get_log_page_smart()
233 if (!(req->cmd->get_log_page.lsp & NVME_ANA_LOG_RGO)) { in nvmet_format_ana_group()
297 switch (req->cmd->get_log_page.lid) { in nvmet_execute_get_log_page()
317 req->cmd->get_log_page.lid, req->sq->qid); in nvmet_execute_get_log_page()
Ddiscovery.c177 if (req->cmd->get_log_page.lid != NVME_LOG_DISC) { in nvmet_execute_disc_get_log_page()
/Linux-v5.10/drivers/nvme/host/
Dcore.c2916 c.get_log_page.opcode = nvme_admin_get_log_page; in nvme_get_log()
2917 c.get_log_page.nsid = cpu_to_le32(nsid); in nvme_get_log()
2918 c.get_log_page.lid = log_page; in nvme_get_log()
2919 c.get_log_page.lsp = lsp; in nvme_get_log()
2920 c.get_log_page.numdl = cpu_to_le16(dwlen & ((1 << 16) - 1)); in nvme_get_log()
2921 c.get_log_page.numdu = cpu_to_le16(dwlen >> 16); in nvme_get_log()
2922 c.get_log_page.lpol = cpu_to_le32(lower_32_bits(offset)); in nvme_get_log()
2923 c.get_log_page.lpou = cpu_to_le32(upper_32_bits(offset)); in nvme_get_log()
2924 c.get_log_page.csi = csi; in nvme_get_log()
/Linux-v5.10/include/linux/
Dnvme.h1407 struct nvme_get_log_page_command get_log_page; member