Home
last modified time | relevance | path

Searched refs:avoid_reserve (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
H A Dhugetlb.h510 unsigned long addr, int avoid_reserve);
778 int avoid_reserve) in alloc_huge_page()
776 alloc_huge_page(struct vm_area_struct *vma, unsigned long addr, int avoid_reserve) alloc_huge_page() argument
/kernel/linux/linux-6.6/include/linux/
H A Dhugetlb.h748 unsigned long addr, int avoid_reserve);
1051 int avoid_reserve)
/kernel/linux/linux-5.10/mm/
H A Dhugetlb.c1138 unsigned long address, int avoid_reserve, in dequeue_huge_page_vma()
1157 if (avoid_reserve && h->free_huge_pages - h->resv_huge_pages == 0) in dequeue_huge_page_vma()
1163 if (page && !avoid_reserve && vma_has_reserves(vma, chg)) { in dequeue_huge_page_vma()
2336 unsigned long addr, int avoid_reserve) in alloc_huge_page()
2364 if (map_chg || avoid_reserve) { in alloc_huge_page()
2376 * However, if avoid_reserve is specified we still avoid even in alloc_huge_page()
2379 if (avoid_reserve) in alloc_huge_page()
2385 deferred_reserve = map_chg || avoid_reserve || !vma_resv_map(vma); in alloc_huge_page()
2403 page = dequeue_huge_page_vma(h, vma, addr, avoid_reserve, gbl_chg); in alloc_huge_page()
2410 if (!avoid_reserve in alloc_huge_page()
1136 dequeue_huge_page_vma(struct hstate *h, struct vm_area_struct *vma, unsigned long address, int avoid_reserve, long chg) dequeue_huge_page_vma() argument
2335 alloc_huge_page(struct vm_area_struct *vma, unsigned long addr, int avoid_reserve) alloc_huge_page() argument
[all...]
/kernel/linux/linux-6.6/mm/
H A Dhugetlb.c1398 unsigned long address, int avoid_reserve, in dequeue_hugetlb_folio_vma()
1416 if (avoid_reserve && !available_huge_pages(h)) in dequeue_hugetlb_folio_vma()
1434 if (folio && !avoid_reserve && vma_has_reserves(vma, chg)) { in dequeue_hugetlb_folio_vma()
3045 unsigned long addr, int avoid_reserve) in alloc_hugetlb_folio()
3073 if (map_chg || avoid_reserve) { in alloc_hugetlb_folio()
3085 * However, if avoid_reserve is specified we still avoid even in alloc_hugetlb_folio()
3088 if (avoid_reserve) in alloc_hugetlb_folio()
3094 deferred_reserve = map_chg || avoid_reserve; in alloc_hugetlb_folio()
3112 folio = dequeue_hugetlb_folio_vma(h, vma, addr, avoid_reserve, gbl_chg); in alloc_hugetlb_folio()
3119 if (!avoid_reserve in alloc_hugetlb_folio()
1396 dequeue_hugetlb_folio_vma(struct hstate *h, struct vm_area_struct *vma, unsigned long address, int avoid_reserve, long chg) dequeue_hugetlb_folio_vma() argument
3044 alloc_hugetlb_folio(struct vm_area_struct *vma, unsigned long addr, int avoid_reserve) alloc_hugetlb_folio() argument
[all...]
/kernel/linux/linux-5.10/fs/hugetlbfs/
H A Dinode.c689 int avoid_reserve = 0; in hugetlbfs_fallocate() local
726 page = alloc_huge_page(&pseudo_vma, addr, avoid_reserve); in hugetlbfs_fallocate()

Completed in 18 milliseconds