Home
last modified time | relevance | path

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

/Linux-v5.15/Documentation/vm/
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-v5.15/mm/
Dhugetlb.c584 static long region_chg(struct resv_map *resv, long f, long t, in region_chg() function
2408 ret = region_chg(resv, idx, idx + 1, &dummy_out_regions_needed); in __vma_reservation_common()
5730 chg = region_chg(resv_map, from, to, &regions_needed); in hugetlb_reserve_pages()