Home
last modified time | relevance | path

Searched refs:huge_page_mask (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/arch/x86/mm/
Dhugetlbpage.c67 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_bottomup()
91 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_topdown()
120 if (len & ~huge_page_mask(h)) in hugetlb_get_unmapped_area()
134 addr &= huge_page_mask(h); in hugetlb_get_unmapped_area()
/linux-6.6.21/arch/mips/include/asm/
Dhugetlb.h22 if (len & ~huge_page_mask(h)) in prepare_hugepage_range()
24 if (addr & ~huge_page_mask(h)) in prepare_hugepage_range()
/linux-6.6.21/arch/loongarch/include/asm/
Dhugetlb.h21 if (len & ~huge_page_mask(h)) in prepare_hugepage_range()
23 if (addr & ~huge_page_mask(h)) in prepare_hugepage_range()
/linux-6.6.21/include/asm-generic/
Dhugetlb.h120 if (len & ~huge_page_mask(h)) in prepare_hugepage_range()
122 if (addr & ~huge_page_mask(h)) in prepare_hugepage_range()
/linux-6.6.21/arch/s390/include/asm/
Dhugetlb.h35 if (len & ~huge_page_mask(h)) in prepare_hugepage_range()
37 if (addr & ~huge_page_mask(h)) in prepare_hugepage_range()
/linux-6.6.21/arch/s390/mm/
Dhugetlbpage.c267 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_bottomup()
284 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_topdown()
312 if (len & ~huge_page_mask(h)) in hugetlb_get_unmapped_area()
/linux-6.6.21/fs/hugetlbfs/
Dinode.c155 if (vma->vm_pgoff & (~huge_page_mask(h) >> PAGE_SHIFT)) in hugetlbfs_file_mmap()
208 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_bottomup()
224 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_topdown()
255 if (len & ~huge_page_mask(h)) in generic_hugetlb_get_unmapped_area()
342 unsigned long offset = iocb->ki_pos & ~huge_page_mask(h); in hugetlbfs_read_iter()
360 nr = ((isize - 1) & ~huge_page_mask(h)) + 1; in hugetlbfs_read_iter()
407 offset &= ~huge_page_mask(h); in hugetlbfs_read_iter()
735 BUG_ON(offset & ~huge_page_mask(h)); in hugetlb_vmtruncate()
759 start = start & ~huge_page_mask(h); in hugetlbfs_zero_partial_page()
760 end = end & ~huge_page_mask(h); in hugetlbfs_zero_partial_page()
[all …]
/linux-6.6.21/arch/sparc/mm/
Dhugetlbpage.c43 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_bottomup()
75 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_topdown()
108 if (len & ~huge_page_mask(h)) in hugetlb_get_unmapped_area()
/linux-6.6.21/arch/parisc/mm/
Dhugetlbpage.c30 if (len & ~huge_page_mask(h)) in hugetlb_get_unmapped_area()
/linux-6.6.21/mm/
Dpagewalk.c305 unsigned long boundary = (addr & huge_page_mask(h)) + huge_page_size(h); in hugetlb_entry_end()
315 unsigned long hmask = huge_page_mask(h); in walk_hugetlb_range()
Dmremap.c977 if (addr & ~huge_page_mask(h)) in SYSCALL_DEFINE5()
979 if (new_addr & ~huge_page_mask(h)) in SYSCALL_DEFINE5()
Dhugetlb.c4909 if (addr & ~(huge_page_mask(hstate_vma(vma)))) in hugetlb_vm_op_split()
5332 BUG_ON(start & ~huge_page_mask(h)); in __unmap_hugepage_range()
5333 BUG_ON(end & ~huge_page_mask(h)); in __unmap_hugepage_range()
5523 address = address & huge_page_mask(h); in unmap_ref_private()
5578 unsigned long haddr = address & huge_page_mask(h); in hugetlb_wp()
5865 unsigned long haddr = address & huge_page_mask(h); in hugetlb_no_page()
6099 unsigned long haddr = address & huge_page_mask(h); in hugetlb_fault()
6501 unsigned long haddr = address & huge_page_mask(h); in hugetlb_follow_page_mask()
6530 page = nth_page(page, ((address & ~huge_page_mask(h)) >> PAGE_SHIFT)); in hugetlb_follow_page_mask()
Dmadvise.c845 if (start & ~huge_page_mask(hstate_vma(vma))) in madvise_dontneed_free_valid_vma()
/linux-6.6.21/include/linux/
Dhugetlb.h817 static inline unsigned long huge_page_mask(struct hstate *h) in huge_page_mask() function
1105 static inline unsigned long huge_page_mask(struct hstate *h)
/linux-6.6.21/arch/riscv/kvm/
Dmmu.c650 gfn = (gpa & huge_page_mask(hstate_vma(vma))) >> PAGE_SHIFT; in kvm_riscv_gstage_map()