Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/nvme/target/
Dzns.c100 struct nvme_id_ns_zns *id_zns = NULL; in nvmet_execute_identify_ns_zns() local
111 id_zns = kzalloc(sizeof(*id_zns), GFP_KERNEL); in nvmet_execute_identify_ns_zns()
112 if (!id_zns) { in nvmet_execute_identify_ns_zns()
135 id_zns->lbafe[0].zsze = cpu_to_le64(zsze); in nvmet_execute_identify_ns_zns()
142 id_zns->mor = cpu_to_le32(mor); in nvmet_execute_identify_ns_zns()
149 id_zns->mar = cpu_to_le32(mar); in nvmet_execute_identify_ns_zns()
152 status = nvmet_copy_to_sgl(req, 0, id_zns, sizeof(*id_zns)); in nvmet_execute_identify_ns_zns()
154 kfree(id_zns); in nvmet_execute_identify_ns_zns()