Home
last modified time | relevance | path

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

/linux-6.6.21/Documentation/translations/zh_CN/mm/
Dhugetlbfs_reserv.rst158 调用辅助函数vma_needs_reservation()来确定是否存在对映射(vma)中地址的预留。关于这个函数的详
160 vma_needs_reservation()返回的值通常为0或1。如果该地址存在预留,则为0,如果不存在预留,则为1。
203 在alloc_hugetlb_folio()开始调用vma_needs_reservation()和页面分配后调用
206 这种罕见的情况可以通过比较vma_needs_reservation和vma_commit_reservation的返回值来
344 long vma_needs_reservation(struct hstate *h,
355 先前调用的vma_needs_reservation后调用。它将为该页添加一个预留条目。如果预留被添加,它将
356 返回1,如果没有则返回0。返回值应与之前调用vma_needs_reservation的返回值进行比较。如果出
364 先前调用的vma_needs_reservation后被调用。它将中止/结束正在进行的预留添加操作::
371 中调用。该函数与vma_needs_reservation一起使用,试图将一个预留添加到预留映射中。它考虑到
381 先,在分配页面之前调用vma_needs_reservation。如果分配成功,则调用vma_commit_reservation。
/linux-6.6.21/Documentation/mm/
Dhugetlbfs_reserv.rst195 The helper routine vma_needs_reservation() is called to determine if a
199 The value returned from vma_needs_reservation() is generally
248 to vma_needs_reservation() at the beginning of alloc_hugetlb_folio() and the
253 return value from vma_needs_reservation and vma_commit_reservation. If such
466 long vma_needs_reservation(struct hstate *h,
479 vma_needs_reservation. It will add a reservation entry for the page. It
482 vma_needs_reservation. An unexpected difference indicates the reservation
491 vma_needs_reservation. It will abort/end the in progress reservation add
500 This routine is used in conjunction with vma_needs_reservation in an attempt
515 map modifications are performed in two steps. First vma_needs_reservation
/linux-6.6.21/mm/
Dhugetlb.c2794 static long vma_needs_reservation(struct hstate *h, in vma_needs_reservation() function
2847 long rc = vma_needs_reservation(h, vma, address); in restore_reserve_on_error()
3062 map_chg = gbl_chg = vma_needs_reservation(h, vma, addr); in alloc_hugetlb_folio()
6001 if (vma_needs_reservation(h, vma, haddr) < 0) { in hugetlb_no_page()
6188 if (vma_needs_reservation(h, vma, haddr) < 0) { in hugetlb_fault()