Home
last modified time | relevance | path

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

/linux-6.1.9/Documentation/translations/zh_CN/mm/
Dhugetlbfs_reserv.rst286 long region_chg(struct resv_map *resv, long f, long t);
293 1) region_chg()被调用来检查预留映射,并确定在指定的范围[f, 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() 之间对预留映射进
347 该函数为指定的页面调用 region_chg()。如果不存在预留,则返回1。如果存在预留,则返回0::
353 这将调用 region_add(),用于指定的页面。与region_chg和region_add的情况一样,该函数应在
362 这将调用指定页面的 region_abort()。与region_chg和region_abort的情况一样,该函数应在
/linux-6.1.9/Documentation/mm/
Dhugetlbfs_reserv.rst378 long region_chg(struct resv_map *resv, long f, long t);
385 1) region_chg() is called to examine the reserve map and determine how
394 region_chg().
399 are guaranteed to succeed after a prior call to region_chg() for the same
400 range. region_chg() is responsible for pre-allocating any data structures
404 As mentioned above, region_chg() determines the number of pages in the range
408 return value of region_chg(). However, in the case of shared mappings it is
410 region_chg() and region_add(). In this case, the return value of region_add()
411 will not match the return value of region_chg(). It is likely that in such
471 This routine calls region_chg() for the specified page. If no reservation
[all …]
/linux-6.1.9/mm/
Dhugetlb.c745 static long region_chg(struct resv_map *resv, long f, long t, in region_chg() function
2700 ret = region_chg(resv, idx, idx + 1, &dummy_out_regions_needed); in __vma_reservation_common()
6757 chg = region_chg(resv_map, from, to, &regions_needed); in hugetlb_reserve_pages()