Lines Matching refs:file_region
464 /* Helper that removes a struct file_region from the resv_map cache and returns
467 static struct file_region *
470 struct file_region *nrg;
475 nrg = list_first_entry(&resv->region_cache, struct file_region, link);
484 static void copy_hugetlb_cgroup_uncharge_info(struct file_region *nrg,
485 struct file_region *rg)
499 struct file_region *nrg)
511 * reference. In order to ensure that one file_region must hold
513 * each file_region and leave the reference held by caller
530 static void put_uncharge_info(struct file_region *rg)
538 static bool has_same_uncharge_info(struct file_region *rg,
539 struct file_region *org)
550 static void coalesce_file_region(struct resv_map *resv, struct file_region *rg)
552 struct file_region *nrg, *prg;
582 struct file_region *nrg;
610 struct file_region *iter, *trg = NULL;
671 struct file_region *trg = NULL, *rg = NULL;
730 * than or equal to zero. If file_region entries needed to be allocated for
763 * allocate file_region entries.
790 * map. A number of new file_region structures is added to the cache as a
792 * file_region structure is added.
800 * zero. -ENOMEM is returned if a new file_region structure or cache entry
865 struct file_region *rg, *trg;
866 struct file_region *nrg = NULL;
873 * Skip regions before the range to be deleted. file_region
893 struct file_region,
992 struct file_region *rg;
1116 struct file_region *rg = kmalloc(sizeof(*rg), GFP_KERNEL);
1149 struct file_region *rg, *trg;
5975 * to allocate a file_region struct. Clear