Searched refs:file_region (Results 1 – 6 of 6) sorted by relevance
56 struct file_region {62 file_region结构体的 ‘from’ 和 ‘to’ 字段是进入映射的巨页索引。根据映射的类型,在137 反映预留。在共享映射的情况下,将存在一个file_region,包括'from'-'to'范围。对于私有映射,187 到确保页面在区域映射的file_region结构体中被表示。对于预留存在的共享映射,预留映射中的条目199 到确保页面在区域映射的file_region结构体中被表示。对于预留存在的共享映射,预留映射中的条目317 之前,所有单独的file_region结构体必须被释放。在这种情况下,region_del的范围是[0, LONG_MAX]。319 此外,预留映射中任何超过新文件大小的file_region条目必须被删除。在这种情况下,region_del326 会失败。这只能发生在打洞的情况下,即它必须分割一个现有的file_region条目,而不能分配一个新的
22 struct file_region;162 struct file_region *rg,172 struct file_region *rg, in hugetlb_cgroup_uncharge_file_region()
95 struct file_region { struct 102 * file_region in resv_map. These fields hold the info needed to argument 105 reservation_counterfile_region global() argument 106 cssfile_region global() argument
433 /* Helper that removes a struct file_region from the resv_map cache and returns436 static struct file_region *439 struct file_region *nrg; in get_file_region_entry_from_cache() 444 nrg = list_first_entry(&resv->region_cache, struct file_region, link); in get_file_region_entry_from_cache() 453 static void copy_hugetlb_cgroup_uncharge_info(struct file_region *nrg, in copy_hugetlb_cgroup_uncharge_info() 454 struct file_region *rg) in copy_hugetlb_cgroup_uncharge_info() 468 struct file_region *nrg) in record_hugetlb_cgroup_uncharge_info() 480 * reference. In order to ensure that one file_region must hold in record_hugetlb_cgroup_uncharge_info() 482 * each file_region and leave the reference held by caller in record_hugetlb_cgroup_uncharge_info() 499 static void put_uncharge_info(struct file_region *r[all...]
436 struct file_region *rg, in hugetlb_cgroup_uncharge_file_region()
54 struct file_region {167 file_region will exist that includes the range 'from' - 'to'. For private241 ensuring the page is represented within a file_region structure of the region420 map, all the individual file_region structures must be freed. In this case423 after the new file size must be freed. In addition, any file_region entries434 happen in the hole punch case where it has to split an existing file_region