Searched refs:nvme_lba_to_sect (Results 1 – 3 of 3) sorted by relevance
102 ns->zsze = nvme_lba_to_sect(ns, le64_to_cpu(id->lbafe[lbaf].zsze)); in nvme_update_zone_info()166 zone.capacity = nvme_lba_to_sect(ns, le64_to_cpu(entry->zcap)); in nvme_zone_parse_entry()167 zone.start = nvme_lba_to_sect(ns, le64_to_cpu(entry->zslba)); in nvme_zone_parse_entry()171 zone.wp = nvme_lba_to_sect(ns, le64_to_cpu(entry->wp)); in nvme_zone_parse_entry()
667 static inline sector_t nvme_lba_to_sect(struct nvme_ns *ns, u64 lba) in nvme_lba_to_sect() function
376 req->__sector = nvme_lba_to_sect(req->q->queuedata, in nvme_end_req_zoned()1730 ctrl->max_discard_sectors = nvme_lba_to_sect(ns, ctrl->dmrsl); in nvme_config_discard()1892 sector_t capacity = nvme_lba_to_sect(ns, le64_to_cpu(id->nsze)); in nvme_update_disk_info()1980 iob = nvme_lba_to_sect(ns, le16_to_cpu(id->noiob)); in nvme_set_chunk_sectors()