Home
last modified time | relevance | path

Searched refs:region_del (Results 1 – 5 of 5) sorted by relevance

/linux/Documentation/translations/zh_CN/mm/
H A Dhugetlbfs_reserv.rst313 函数region_del()被调用以从预留映射中移除区域。
317 之前,所有单独的file_region结构体必须被释放。在这种情况下,region_del的范围是[0, LONG_MAX]。
319 此外,预留映射中任何超过新文件大小的file_region条目必须被删除。在这种情况下,region_del
322 时,region_del()被调用以从预留映射中移除相应的条目。在这种情况下,region_del被传递的范
325 在任何情况下,region_del()都会返回从预留映射中删除的页面数量。在非常罕见的情况下,region_del()
327 结构体。在这种错误情况下,region_del()将返回-ENOMEM。这里的问题是,预留映射将显示对该页有
373 示预留),而region_del被调用用于私有映射(因为映射中没有条目表示预留)。关于在错误路径上需
/linux/include/linux/
H A Dhugetlb_cgroup.h153 bool region_del);
163 bool region_del) in hugetlb_cgroup_uncharge_file_region() argument
/linux/Documentation/mm/
H A Dhugetlbfs_reserv.rst415 The routine region_del() is called to remove regions from a reservation map.
421 region_del is passed the range [0, LONG_MAX).
425 case, region_del is passed the range [new_end_of_file, LONG_MAX).
428 removed, region_del() is called to remove the corresponding entry from the
429 reservation map. In this case, region_del is passed the range
432 In every case, region_del() will return the number of pages removed from the
433 reservation map. In VERY rare cases, region_del() can fail. This can only
435 entry and can not allocate a new structure. In this error case, region_del()
504 indicates a reservation), and region_del is called for private mappings (as
/linux/mm/
H A Dhugetlb_cgroup.c429 bool region_del) in hugetlb_cgroup_uncharge_file_region() argument
442 if (region_del) in hugetlb_cgroup_uncharge_file_region()
H A Dhugetlb.c650 * to region_add or region_del may have consumed some region_entries, in allocate_file_region_entries()
695 * region_del. The extra needed entries will be allocated.
832 static long region_del(struct resv_map *resv, long f, long t) in region_del() function
1122 region_del(resv_map, 0, LONG_MAX); in resv_map_release()
2836 ret = region_del(resv, idx, idx + 1); in __vma_reservation_common()
2842 ret = region_del(resv, idx, idx + 1); in __vma_reservation_common()
7203 chg = region_del(resv_map, start, end); in hugetlb_reserve_pages()
7205 * region_del() can fail in the rare case where a region in hugetlb_reserve_pages()