Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/nvme/host/
Dzns.c193 c.zmr.opcode = nvme_cmd_zone_mgmt_recv; in nvme_ns_report_zones()
194 c.zmr.nsid = cpu_to_le32(ns->head->ns_id); in nvme_ns_report_zones()
195 c.zmr.numd = cpu_to_le32(nvme_bytes_to_numd(buflen)); in nvme_ns_report_zones()
196 c.zmr.zra = NVME_ZRA_ZONE_REPORT; in nvme_ns_report_zones()
197 c.zmr.zrasf = NVME_ZRASF_ZONE_REPORT_ALL; in nvme_ns_report_zones()
198 c.zmr.pr = NVME_REPORT_ZONE_PARTIAL; in nvme_ns_report_zones()
204 c.zmr.slba = cpu_to_le64(nvme_sect_to_lba(ns, sector)); in nvme_ns_report_zones()
/linux-6.1.9/drivers/nvme/target/
Dzns.c158 sector_t sect = nvmet_lba_to_sect(req->ns, req->cmd->zmr.slba); in nvmet_bdev_validate_zone_mgmt_recv()
159 u32 out_bufsize = (le32_to_cpu(req->cmd->zmr.numd) + 1) << 2; in nvmet_bdev_validate_zone_mgmt_recv()
171 if (req->cmd->zmr.zra != NVME_ZRA_ZONE_REPORT) { in nvmet_bdev_validate_zone_mgmt_recv()
176 switch (req->cmd->zmr.pr) { in nvmet_bdev_validate_zone_mgmt_recv()
185 switch (req->cmd->zmr.zrasf) { in nvmet_bdev_validate_zone_mgmt_recv()
255 unsigned int sect = nvmet_lba_to_sect(req->ns, req->cmd->zmr.slba); in nvmet_req_nr_zones_from_slba()
273 sector_t start_sect = nvmet_lba_to_sect(req->ns, req->cmd->zmr.slba); in nvmet_bdev_zone_zmgmt_recv_work()
275 u32 out_bufsize = (le32_to_cpu(req->cmd->zmr.numd) + 1) << 2; in nvmet_bdev_zone_zmgmt_recv_work()
283 .zrasf = req->cmd->zmr.zrasf, in nvmet_bdev_zone_zmgmt_recv_work()
308 if (req->cmd->zmr.pr) in nvmet_bdev_zone_zmgmt_recv_work()
/linux-6.1.9/include/linux/
Dnvme.h1754 struct nvme_zone_mgmt_recv_cmd zmr; member