Home
last modified time | relevance | path

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

/Linux-v5.15/Documentation/vm/
Dhugetlbfs_reserv.rst197 The helper routine vma_needs_reservation() is called to determine if a
201 The value returned from vma_needs_reservation() is generally
249 to vma_needs_reservation() at the beginning of alloc_huge_page() and the
254 return value from vma_needs_reservation and vma_commit_reservation. If such
467 long vma_needs_reservation(struct hstate *h,
480 vma_needs_reservation. It will add a reservation entry for the page. It
483 vma_needs_reservation. An unexpected difference indicates the reservation
492 vma_needs_reservation. It will abort/end the in progress reservation add
501 This routine is used in conjunction with vma_needs_reservation in an attempt
516 map modifications are performed in two steps. First vma_needs_reservation
/Linux-v5.15/mm/
Dhugetlb.c2472 static long vma_needs_reservation(struct hstate *h, in vma_needs_reservation() function
2525 long rc = vma_needs_reservation(h, vma, address); in restore_reserve_on_error()
2760 map_chg = gbl_chg = vma_needs_reservation(h, vma, addr); in alloc_huge_page()
4982 if (vma_needs_reservation(h, vma, haddr) < 0) { in hugetlb_no_page()
5145 if (vma_needs_reservation(h, vma, haddr) < 0) { in hugetlb_fault()