Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/nvme/host/
Dzns.c203 c.zmr.slba = cpu_to_le64(nvme_sect_to_lba(ns, sector)); in nvme_ns_report_zones()
242 c->zms.slba = cpu_to_le64(nvme_sect_to_lba(ns, blk_rq_pos(req))); in nvme_setup_zone_mgmt_send()
Dcore.c319 (unsigned long long)nvme_sect_to_lba(ns, blk_rq_pos(req)), in nvme_log_error()
794 u64 slba = nvme_sect_to_lba(ns, blk_rq_pos(req)); in nvme_setup_discard()
803 u64 slba = nvme_sect_to_lba(ns, bio->bi_iter.bi_sector); in nvme_setup_discard()
870 cpu_to_le64(nvme_sect_to_lba(ns, blk_rq_pos(req))); in nvme_setup_write_zeroes()
912 cmnd->rw.slba = cpu_to_le64(nvme_sect_to_lba(ns, blk_rq_pos(req))); in nvme_setup_rw()
1724 if (ctrl->dmrsl && ctrl->dmrsl <= nvme_sect_to_lba(ns, UINT_MAX)) in nvme_config_discard()
Dnvme.h648 static inline u64 nvme_sect_to_lba(struct nvme_ns *ns, sector_t sector) in nvme_sect_to_lba() function