Home
last modified time | relevance | path

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

/drivers/nvme/host/
Dzns.c103 ns->zsze = nvme_lba_to_sect(ns, le64_to_cpu(id->lbafe[lbaf].zsze)); in nvme_update_zone_info()
104 if (!is_power_of_2(ns->zsze)) { in nvme_update_zone_info()
107 ns->zsze, ns->head->ns_id); in nvme_update_zone_info()
132 get_capacity(ns->disk) >> ilog2(ns->zsze)); in nvme_zns_alloc_report_buffer()
166 zone.len = ns->zsze; in nvme_zone_parse_entry()
197 sector &= ~(ns->zsze - 1); in nvme_ns_report_zones()
221 sector += ns->zsze * nz; in nvme_ns_report_zones()
Dnvme.h477 u64 zsze; member
/drivers/nvme/target/
Dzns.c101 u64 zsze; in nvmet_execute_identify_cns_cs_ns() local
133 zsze = (bdev_zone_sectors(req->ns->bdev) << 9) >> in nvmet_execute_identify_cns_cs_ns()
135 id_zns->lbafe[0].zsze = cpu_to_le64(zsze); in nvmet_execute_identify_cns_cs_ns()