Home
last modified time | relevance | path

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

/linux-6.1.9/Documentation/translations/zh_CN/mm/
Dhugetlbfs_reserv.rst55 struct file_region {
61 file_region结构体的 ‘from’ 和 ‘to’ 字段是进入映射的巨页索引。根据映射的类型,在
136 反映预留。在共享映射的情况下,将存在一个file_region,包括'from'-'to'范围。对于私有映射,
186 到确保页面在区域映射的file_region结构体中被表示。对于预留存在的共享映射,预留映射中的条目
198 到确保页面在区域映射的file_region结构体中被表示。对于预留存在的共享映射,预留映射中的条目
316 之前,所有单独的file_region结构体必须被释放。在这种情况下,region_del的范围是[0, LONG_MAX]。
318 此外,预留映射中任何超过新文件大小的file_region条目必须被删除。在这种情况下,region_del
325 会失败。这只能发生在打洞的情况下,即它必须分割一个现有的file_region条目,而不能分配一个新的
/linux-6.1.9/include/linux/
Dhugetlb_cgroup.h22 struct file_region;
168 struct file_region *rg,
178 struct file_region *rg, in hugetlb_cgroup_uncharge_file_region()
Dhugetlb.h103 struct file_region { struct
/linux-6.1.9/mm/
Dhugetlb.c409 static struct file_region *
412 struct file_region *nrg; in get_file_region_entry_from_cache()
417 nrg = list_first_entry(&resv->region_cache, struct file_region, link); in get_file_region_entry_from_cache()
426 static void copy_hugetlb_cgroup_uncharge_info(struct file_region *nrg, in copy_hugetlb_cgroup_uncharge_info()
427 struct file_region *rg) in copy_hugetlb_cgroup_uncharge_info()
441 struct file_region *nrg) in record_hugetlb_cgroup_uncharge_info()
472 static void put_uncharge_info(struct file_region *rg) in put_uncharge_info()
480 static bool has_same_uncharge_info(struct file_region *rg, in has_same_uncharge_info()
481 struct file_region *org) in has_same_uncharge_info()
492 static void coalesce_file_region(struct resv_map *resv, struct file_region *rg) in coalesce_file_region()
[all …]
Dhugetlb_cgroup.c435 struct file_region *rg, in hugetlb_cgroup_uncharge_file_region()
/linux-6.1.9/Documentation/mm/
Dhugetlbfs_reserv.rst56 struct file_region {
169 file_region will exist that includes the range 'from' - 'to'. For private
242 ensuring the page is represented within a file_region structure of the region
421 map, all the individual file_region structures must be freed. In this case
424 after the new file size must be freed. In addition, any file_region entries
435 happen in the hole punch case where it has to split an existing file_region