Lines Matching refs:dax_range
663 static void put_dax_range(struct dev_dax_range *dax_range) in put_dax_range() argument
665 struct dax_mapping *mapping = dax_range->mapping; in put_dax_range()
675 struct dev_dax_range *dax_range; in start_show() local
678 dax_range = get_dax_range(dev); in start_show()
679 if (!dax_range) in start_show()
681 rc = sprintf(buf, "%#llx\n", dax_range->range.start); in start_show()
682 put_dax_range(dax_range); in start_show()
691 struct dev_dax_range *dax_range; in end_show() local
694 dax_range = get_dax_range(dev); in end_show()
695 if (!dax_range) in end_show()
697 rc = sprintf(buf, "%#llx\n", dax_range->range.end); in end_show()
698 put_dax_range(dax_range); in end_show()
707 struct dev_dax_range *dax_range; in pgoff_show() local
710 dax_range = get_dax_range(dev); in pgoff_show()
711 if (!dax_range) in pgoff_show()
713 rc = sprintf(buf, "%#lx\n", dax_range->pgoff); in pgoff_show()
714 put_dax_range(dax_range); in pgoff_show()
846 struct dev_dax_range *dax_range = &dev_dax->ranges[last_range]; in adjust_dev_dax_range() local
849 struct range *range = &dax_range->range; in adjust_dev_dax_range()
953 struct dev_dax_range *dax_range = &dev_dax->ranges[i]; in adjust_ok() local
955 if (dax_range->pgoff > last->pgoff) in adjust_ok()