Lines Matching refs:file_region
248 static struct file_region *
251 struct file_region *nrg = NULL; in get_file_region_entry_from_cache()
256 nrg = list_first_entry(&resv->region_cache, struct file_region, link); in get_file_region_entry_from_cache()
265 static void copy_hugetlb_cgroup_uncharge_info(struct file_region *nrg, in copy_hugetlb_cgroup_uncharge_info()
266 struct file_region *rg) in copy_hugetlb_cgroup_uncharge_info()
280 struct file_region *nrg) in record_hugetlb_cgroup_uncharge_info()
311 static void put_uncharge_info(struct file_region *rg) in put_uncharge_info()
319 static bool has_same_uncharge_info(struct file_region *rg, in has_same_uncharge_info()
320 struct file_region *org) in has_same_uncharge_info()
332 static void coalesce_file_region(struct resv_map *resv, struct file_region *rg) in coalesce_file_region()
334 struct file_region *nrg = NULL, *prg = NULL; in coalesce_file_region()
374 struct file_region *rg = NULL, *trg = NULL, *nrg = NULL; in add_reservation_in_range()
446 struct file_region *trg = NULL, *rg = NULL; in allocate_file_region_entries()
643 struct file_region *rg, *trg; in region_del()
644 struct file_region *nrg = NULL; in region_del()
671 struct file_region, in region_del()
770 struct file_region *rg; in region_count()
896 struct file_region *rg = kmalloc(sizeof(*rg), GFP_KERNEL); in resv_map_alloc()
928 struct file_region *rg, *trg; in resv_map_release()