Home
last modified time | relevance | path

Searched refs:alloc_huge_page (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/Documentation/translations/zh_CN/mm/
Dhugetlbfs_reserv.rst145 当与预留相关的巨页在相应的映射中被分配和实例化时,预留就被消耗了。该分配是在函数alloc_huge_page()
148 struct page *alloc_huge_page(struct vm_area_struct *vma,
151 alloc_huge_page被传递给一个VMA指针和一个虚拟地址,因此它可以查阅预留映射以确定是否存在预留。
152 此外,alloc_huge_page需要一个参数avoid_reserve,该参数表示即使看起来已经为指定的地址预留了
165 - avoid_reserve,这是传递给alloc_huge_page()的同一个值/参数。
202alloc_huge_page()开始调用vma_needs_reservation()和页面分配后调用
/linux-6.1.9/Documentation/mm/
Dhugetlbfs_reserv.rst184 is performed within the routine alloc_huge_page()::
186 struct page *alloc_huge_page(struct vm_area_struct *vma,
189 alloc_huge_page is passed a VMA pointer and a virtual address, so it can
191 alloc_huge_page takes the argument avoid_reserve which indicates reserves
211 - avoid_reserve, this is the same value/argument passed to alloc_huge_page()
249 to vma_needs_reservation() at the beginning of alloc_huge_page() and the
/linux-6.1.9/include/linux/
Dhugetlb.h702 struct page *alloc_huge_page(struct vm_area_struct *vma,
997 static inline struct page *alloc_huge_page(struct vm_area_struct *vma,
/linux-6.1.9/mm/
Dhugetlb.c3011 struct page *alloc_huge_page(struct vm_area_struct *vma, in alloc_huge_page() function
5077 new = alloc_huge_page(dst_vma, addr, 1); in copy_hugetlb_page_range()
5540 new_page = alloc_huge_page(vma, haddr, outside_reserve); in hugetlb_wp()
5816 page = alloc_huge_page(vma, haddr, 0); in hugetlb_no_page()
6204 page = alloc_huge_page(dst_vma, dst_addr, 0); in hugetlb_mcopy_atomic_pte()
6247 page = alloc_huge_page(dst_vma, dst_addr, 0); in hugetlb_mcopy_atomic_pte()
/linux-6.1.9/fs/hugetlbfs/
Dinode.c865 page = alloc_huge_page(&pseudo_vma, addr, 0); in hugetlbfs_fallocate()