Home
last modified time | relevance | path

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

/linux-6.1.9/Documentation/translations/zh_CN/mm/
Dhugetlbfs_reserv.rst157 调用辅助函数vma_needs_reservation()来确定是否存在对映射(vma)中地址的预留。关于这个函数的详
159 vma_needs_reservation()返回的值通常为0或1。如果该地址存在预留,则为0,如果不存在预留,则为1。
202 在alloc_huge_page()开始调用vma_needs_reservation()和页面分配后调用
205 这种罕见的情况可以通过比较vma_needs_reservation和vma_commit_reservation的返回值来
343 long vma_needs_reservation(struct hstate *h,
354 先前调用的vma_needs_reservation后调用。它将为该页添加一个预留条目。如果预留被添加,它将
355 返回1,如果没有则返回0。返回值应与之前调用vma_needs_reservation的返回值进行比较。如果出
363 先前调用的vma_needs_reservation后被调用。它将中止/结束正在进行的预留添加操作::
370 中调用。该函数与vma_needs_reservation一起使用,试图将一个预留添加到预留映射中。它考虑到
380 先,在分配页面之前调用vma_needs_reservation。如果分配成功,则调用vma_commit_reservation。
/linux-6.1.9/Documentation/mm/
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-6.1.9/mm/
Dhugetlb.c2764 static long vma_needs_reservation(struct hstate *h, in vma_needs_reservation() function
2817 long rc = vma_needs_reservation(h, vma, address); in restore_reserve_on_error()
3029 map_chg = gbl_chg = vma_needs_reservation(h, vma, addr); in alloc_huge_page()
5897 if (vma_needs_reservation(h, vma, haddr) < 0) { in hugetlb_no_page()
6072 if (vma_needs_reservation(h, vma, haddr) < 0) { in hugetlb_fault()