Home
last modified time | relevance | path

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

/linux/drivers/nvme/target/
H A Dzns.c96 struct nvme_id_ns_zns *id_zns = NULL; in nvmet_execute_identify_ns_zns() local
107 id_zns = kzalloc(sizeof(*id_zns), GFP_KERNEL); in nvmet_execute_identify_ns_zns()
108 if (!id_zns) { in nvmet_execute_identify_ns_zns()
131 id_zns->lbafe[0].zsze = cpu_to_le64(zsze); in nvmet_execute_identify_ns_zns()
138 id_zns->mor = cpu_to_le32(mor); in nvmet_execute_identify_ns_zns()
145 id_zns->mar = cpu_to_le32(mar); in nvmet_execute_identify_ns_zns()
148 status = nvmet_copy_to_sgl(req, 0, id_zns, sizeof(*id_zns)); in nvmet_execute_identify_ns_zns()
150 kfree(id_zns); in nvmet_execute_identify_ns_zns()