Lines Matching refs:file_region
249 static struct file_region *
252 struct file_region *nrg = NULL; in get_file_region_entry_from_cache()
257 nrg = list_first_entry(&resv->region_cache, struct file_region, link); in get_file_region_entry_from_cache()
266 static void copy_hugetlb_cgroup_uncharge_info(struct file_region *nrg, in copy_hugetlb_cgroup_uncharge_info()
267 struct file_region *rg) in copy_hugetlb_cgroup_uncharge_info()
281 struct file_region *nrg) in record_hugetlb_cgroup_uncharge_info()
312 static void put_uncharge_info(struct file_region *rg) in put_uncharge_info()
320 static bool has_same_uncharge_info(struct file_region *rg, in has_same_uncharge_info()
321 struct file_region *org) in has_same_uncharge_info()
333 static void coalesce_file_region(struct resv_map *resv, struct file_region *rg) in coalesce_file_region()
335 struct file_region *nrg = NULL, *prg = NULL; in coalesce_file_region()
361 hugetlb_resv_map_add(struct resv_map *map, struct file_region *rg, long from, in hugetlb_resv_map_add()
365 struct file_region *nrg; in hugetlb_resv_map_add()
393 struct file_region *rg = NULL, *trg = NULL; in add_reservation_in_range()
450 struct file_region *trg = NULL, *rg = NULL; in allocate_file_region_entries()
646 struct file_region *rg, *trg; in region_del()
647 struct file_region *nrg = NULL; in region_del()
674 struct file_region, in region_del()
773 struct file_region *rg; in region_count()
899 struct file_region *rg = kmalloc(sizeof(*rg), GFP_KERNEL); in resv_map_alloc()
931 struct file_region *rg, *trg; in resv_map_release()