Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/nvme/target/
Dzns.c100 struct nvme_id_ns_zns *id_zns; in nvmet_execute_identify_cns_cs_ns() local
111 id_zns = kzalloc(sizeof(*id_zns), GFP_KERNEL); in nvmet_execute_identify_cns_cs_ns()
112 if (!id_zns) { in nvmet_execute_identify_cns_cs_ns()
133 id_zns->lbafe[0].zsze = cpu_to_le64(zsze); in nvmet_execute_identify_cns_cs_ns()
140 id_zns->mor = cpu_to_le32(mor); in nvmet_execute_identify_cns_cs_ns()
147 id_zns->mar = cpu_to_le32(mar); in nvmet_execute_identify_cns_cs_ns()
150 status = nvmet_copy_to_sgl(req, 0, id_zns, sizeof(*id_zns)); in nvmet_execute_identify_cns_cs_ns()
151 kfree(id_zns); in nvmet_execute_identify_cns_cs_ns()