Home
last modified time | relevance | path

Searched refs:region_add (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/Documentation/translations/zh_CN/mm/
Dhugetlbfs_reserv.rst287 long region_add(struct resv_map *resv, long f, long t);
302 注意,这是一个两步的过程, region_add()和 region_abort()在事先调用 region_chg()后保证
303 成功。 region_chg()负责预先分配任何必要的数据结构以确保后续操作(特别是 region_add())的
306 如上所述,region_chg()确定该范围内当前没有在映射中表示的页面的数量。region_add()返回添加
307 到映射中的范围内的页数。在大多数情况下, region_add() 的返回值与 region_chg() 的返回值相
308 同。然而,在共享映射的情况下,有可能在调用 region_chg() 和 region_add() 之间对预留映射进
353 这将调用 region_add(),用于指定的页面。与region_chg和region_add的情况一样,该函数应在
371 了私有和共享映射的不同预留映射语义。因此,region_add被调用用于共享映射(因为映射中的条目表
/linux-6.1.9/Documentation/mm/
Dhugetlbfs_reserv.rst379 long region_add(struct resv_map *resv, long f, long t);
392 a) If the operation can succeed, region_add() is called to actually modify
398 Note that this is a two step process where region_add() and region_abort()
401 necessary to ensure the subsequent operations (specifically region_add()))
406 the caller. region_add() returns the number of pages in the range added to
407 the map. In most cases, the return value of region_add() is the same as the
410 region_chg() and region_add(). In this case, the return value of region_add()
478 This calls region_add() for the specified page. As in the case of region_chg
479 and region_add, this routine is to be called after a previous call to
504 region_add is called for shared mappings (as an entry present in the map
/linux-6.1.9/mm/
Dhugetlb.c678 static long region_add(struct resv_map *resv, long f, long t, in region_add() function
2708 ret = region_add(resv, idx, idx + 1, 1, NULL, NULL); in __vma_reservation_common()
2718 ret = region_add(resv, idx, idx + 1, 1, NULL, NULL); in __vma_reservation_common()
2731 ret = region_add(resv, idx, idx + 1, 1, NULL, NULL); in __vma_reservation_common()
6812 add = region_add(resv_map, from, to, regions_needed, h, h_cg); in hugetlb_reserve_pages()