Home
last modified time | relevance | path

Searched refs:dax_range (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/nvdimm/
Ddax-dev.c15 struct dev_dax_range *dax_range = &dev_dax->ranges[i]; in dax_pgoff_to_phys() local
16 struct range *range = &dax_range->range; in dax_pgoff_to_phys()
20 pgoff_end = dax_range->pgoff + PHYS_PFN(range_len(range)) - 1; in dax_pgoff_to_phys()
21 if (pgoff < dax_range->pgoff || pgoff > pgoff_end) in dax_pgoff_to_phys()
23 addr = PFN_PHYS(pgoff - dax_range->pgoff) + range->start; in dax_pgoff_to_phys()
/kernel/linux/linux-5.10/drivers/dax/
Dbus.c634 static void put_dax_range(struct dev_dax_range *dax_range) in put_dax_range() argument
636 struct dax_mapping *mapping = dax_range->mapping; in put_dax_range()
646 struct dev_dax_range *dax_range; in start_show() local
649 dax_range = get_dax_range(dev); in start_show()
650 if (!dax_range) in start_show()
652 rc = sprintf(buf, "%#llx\n", dax_range->range.start); in start_show()
653 put_dax_range(dax_range); in start_show()
662 struct dev_dax_range *dax_range; in end_show() local
665 dax_range = get_dax_range(dev); in end_show()
666 if (!dax_range) in end_show()
[all …]
Ddevice.c60 struct dev_dax_range *dax_range = &dev_dax->ranges[i]; in dax_pgoff_to_phys() local
61 struct range *range = &dax_range->range; in dax_pgoff_to_phys()
65 pgoff_end = dax_range->pgoff + PHYS_PFN(range_len(range)) - 1; in dax_pgoff_to_phys()
66 if (pgoff < dax_range->pgoff || pgoff > pgoff_end) in dax_pgoff_to_phys()
68 phys = PFN_PHYS(pgoff - dax_range->pgoff) + range->start; in dax_pgoff_to_phys()
Dkmem.c24 struct dev_dax_range *dax_range = &dev_dax->ranges[i]; in dax_kmem_range() local
25 struct range *range = &dax_range->range; in dax_kmem_range()