Home
last modified time | relevance | path

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

/openbmc/qemu/hw/nvme/
H A Dns.c43 id_ns->nsze = cpu_to_le64(nlbas); in nvme_ns_init_format()
46 id_ns->ncap = id_ns->nsze; in nvme_ns_init_format()
222 ns->num_zones = le64_to_cpu(ns->id_ns.nsze) / ns->zone_size; in nvme_ns_zoned_check_calc_geometry()
314 ns->id_ns.nsze = cpu_to_le64(ns->num_zones * ns->zone_size); in nvme_ns_init_zoned()
315 ns->id_ns.ncap = ns->id_ns.nsze; in nvme_ns_init_zoned()
H A Dctrl.c1697 uint64_t nsze = le64_to_cpu(ns->id_ns.nsze); in nvme_check_bounds() local
1699 if (unlikely(UINT64_MAX - slba < nlb || slba + nlb > nsze)) { in nvme_check_bounds()
1700 trace_pci_nvme_err_invalid_lba_range(slba, nlb, nsze); in nvme_check_bounds()
2611 ns->id_ns.nsze); in nvme_dsm_cb()
3882 if (unlikely(*slba >= ns->id_ns.nsze)) { in nvme_get_mgmt_zone_slba_idx()
3883 trace_pci_nvme_err_invalid_lba_range(*slba, 0, ns->id_ns.nsze); in nvme_get_mgmt_zone_slba_idx()
/openbmc/qemu/block/
H A Dnvme.c119 uint64_t nsze; /* Namespace size reported by identify command */ member
598 s->nsze = le64_to_cpu(id->ns.nsze); in nvme_identify()
1018 return s->nsze << s->blkshift; in nvme_co_getlength()
/openbmc/linux/drivers/nvme/target/
H A Dadmin-cmd.c526 id->ncap = id->nsze = in nvmet_execute_identify_ns()
533 id->nuse = id->nsze; in nvmet_execute_identify_ns()
/openbmc/u-boot/drivers/nvme/
H A Dnvme.h94 __le64 nsze; member
H A Dnvme.c655 ns->mode_select_num_blocks = le64_to_cpu(id->nsze); in nvme_blk_probe()
/openbmc/linux/include/linux/
H A Dnvme.h391 __le64 nsze; member
/openbmc/qemu/include/block/
H A Dnvme.h1375 uint64_t nsze; member
/openbmc/linux/drivers/nvme/host/
H A Dcore.c1869 sector_t capacity = nvme_lba_to_sect(ns, le64_to_cpu(id->nsze)); in nvme_update_disk_info()