Searched refs:nsze (Results 1 – 9 of 9) sorted by relevance
43 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()
1697 uint64_t nsze = le64_to_cpu(ns->id_ns.nsze); in nvme_check_bounds() local1699 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()
119 uint64_t nsze; /* Namespace size reported by identify command */ member598 s->nsze = le64_to_cpu(id->ns.nsze); in nvme_identify()1018 return s->nsze << s->blkshift; in nvme_co_getlength()
526 id->ncap = id->nsze = in nvmet_execute_identify_ns()533 id->nuse = id->nsze; in nvmet_execute_identify_ns()
94 __le64 nsze; member
655 ns->mode_select_num_blocks = le64_to_cpu(id->nsze); in nvme_blk_probe()
391 __le64 nsze; member
1375 uint64_t nsze; member
1869 sector_t capacity = nvme_lba_to_sect(ns, le64_to_cpu(id->nsze)); in nvme_update_disk_info()