Home
last modified time | relevance | path

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

/openbmc/linux/drivers/nvme/target/
H A DMakefile15 nvmet-$(CONFIG_BLK_DEV_ZONED) += zns.o
/openbmc/linux/drivers/nvme/host/
H A DMakefile17 nvme-core-$(CONFIG_BLK_DEV_ZONED) += zns.o
/openbmc/qemu/hw/nvme/
H A Dns.c291 ns->zns.numzrwa = ns->params.numzrwa ? in nvme_ns_init_zoned()
294 ns->zns.zrwas = ns->params.zrwas >> ns->lbaf.ds; in nvme_ns_init_zoned()
295 ns->zns.zrwafg = ns->params.zrwafg >> ns->lbaf.ds; in nvme_ns_init_zoned()
301 id_ns_z->zrwas = cpu_to_le16(ns->zns.zrwas); in nvme_ns_init_zoned()
302 id_ns_z->zrwafg = cpu_to_le16(ns->zns.zrwafg); in nvme_ns_init_zoned()
349 ns->zns.numzrwa++; in nvme_clear_zone()
H A Dnvme.h244 } zns; member
H A Dctrl.c432 if (zrwa > ns->zns.numzrwa) { in nvme_zns_check_resources()
1844 uint64_t ezrwa = zone->w_ptr + 2 * ns->zns.zrwas; in nvme_check_zone_write()
1939 ns->zns.numzrwa++; in nvme_zrm_finish()
1981 ns->zns.numzrwa++; in nvme_zrm_reset()
2067 ns->zns.numzrwa--; in nvme_zrm_open_flags()
2098 uint16_t nzrwafgs = DIV_ROUND_UP(nlbc, ns->zns.zrwafg); in nvme_zoned_zrwa_implicit_flush()
2100 nlbc = nzrwafgs * ns->zns.zrwafg; in nvme_zoned_zrwa_implicit_flush()
2122 uint64_t ezrwa = zone->w_ptr + ns->zns.zrwas - 1; in nvme_finalize_zoned_write()
3892 if (zone->w_ptr % ns->zns.zrwafg) { in nvme_open_zone()
4179 if (elba < wp || elba > wp + ns->zns.zrwas) { in nvme_zone_mgmt_send_zrwa_flush()
[all …]