Searched refs:region_chg (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/Documentation/translations/zh_CN/mm/ |
D | hugetlbfs_reserv.rst | 286 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-v6.1/Documentation/mm/ |
D | hugetlbfs_reserv.rst | 378 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-v6.1/mm/ |
D | hugetlb.c | 597 static long region_chg(struct resv_map *resv, long f, long t, in region_chg() function 2552 ret = region_chg(resv, idx, idx + 1, &dummy_out_regions_needed); in __vma_reservation_common() 6586 chg = region_chg(resv_map, from, to, ®ions_needed); in hugetlb_reserve_pages()
|