Home
last modified time | relevance | path

Searched refs:file_region (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/Documentation/translations/zh_CN/mm/ !
Dhugetlbfs_reserv.rst56 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_del
326 会失败。这只能发生在打洞的情况下,即它必须分割一个现有的file_region条目,而不能分配一个新的
/linux-6.6.21/include/linux/ !
Dhugetlb_cgroup.h22 struct file_region;
162 struct file_region *rg,
172 struct file_region *rg, in hugetlb_cgroup_uncharge_file_region()
Dhugetlb.h95 struct file_region { struct
/linux-6.6.21/mm/ !
Dhugetlb.c436 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()
499 static void put_uncharge_info(struct file_region *rg) in put_uncharge_info()
507 static bool has_same_uncharge_info(struct file_region *rg, in has_same_uncharge_info()
508 struct file_region *org) in has_same_uncharge_info()
519 static void coalesce_file_region(struct resv_map *resv, struct file_region *rg) in coalesce_file_region()
[all …]
Dhugetlb_cgroup.c436 struct file_region *rg, in hugetlb_cgroup_uncharge_file_region()
/linux-6.6.21/Documentation/mm/ !
Dhugetlbfs_reserv.rst54 struct file_region {
167 file_region will exist that includes the range 'from' - 'to'. For private
241 ensuring the page is represented within a file_region structure of the region
420 map, all the individual file_region structures must be freed. In this case
423 after the new file size must be freed. In addition, any file_region entries
434 happen in the hole punch case where it has to split an existing file_region