Searched refs:vma_needs_reservation (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/Documentation/vm/ |
D | hugetlbfs_reserv.rst | 197 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.4/mm/ |
D | hugetlb.c | 1997 static long vma_needs_reservation(struct hstate *h, in vma_needs_reservation() function 2037 long rc = vma_needs_reservation(h, vma, address); in restore_reserve_on_error() 2082 map_chg = gbl_chg = vma_needs_reservation(h, vma, addr); in alloc_huge_page() 3989 if (vma_needs_reservation(h, vma, haddr) < 0) { in hugetlb_no_page() 4138 if (vma_needs_reservation(h, vma, haddr) < 0) { in hugetlb_fault()
|