Home
last modified time | relevance | path

Searched refs:huge_page_shift (Results 1 – 13 of 13) sorted by relevance

/linux/fs/hugetlbfs/
A Dinode.c181 len >> huge_page_shift(h), vma, in hugetlbfs_file_mmap()
327 unsigned long index = iocb->ki_pos >> huge_page_shift(h); in hugetlbfs_read_iter()
342 end_index = (isize - 1) >> huge_page_shift(h); in hugetlbfs_read_iter()
376 index += offset >> huge_page_shift(h); in hugetlbfs_read_iter()
469 const pgoff_t start = lstart >> huge_page_shift(h); in remove_inode_hugepages()
470 const pgoff_t end = lend >> huge_page_shift(h); in remove_inode_hugepages()
637 unsigned long hpage_shift = huge_page_shift(h); in hugetlbfs_fallocate()
1209 size_opt <<= huge_page_shift(h); in hugetlbfs_size_to_hpages()
1214 size_opt >>= huge_page_shift(h); in hugetlbfs_size_to_hpages()
1358 sb->s_blocksize_bits = huge_page_shift(ctx->hstate); in hugetlbfs_fill_super()
[all …]
/linux/include/linux/
A Dhugetlb.h717 static inline unsigned huge_page_shift(struct hstate *h) in huge_page_shift() function
785 if ((huge_page_shift(h) == PMD_SHIFT) || in arch_hugetlb_migration_supported()
786 (huge_page_shift(h) == PUD_SHIFT) || in arch_hugetlb_migration_supported()
787 (huge_page_shift(h) == PGDIR_SHIFT)) in arch_hugetlb_migration_supported()
998 static inline unsigned int huge_page_shift(struct hstate *h)
/linux/arch/x86/include/asm/
A Dtlbflush.h228 ? huge_page_shift(hstate_vma(vma)) \
/linux/arch/powerpc/include/asm/book3s/64/
A Dhugetlb.h24 shift = huge_page_shift(hstate); in hstate_get_psize()
/linux/arch/powerpc/mm/nohash/
A Dbook3e_hugetlbpage.c201 unsigned long tsize = huge_page_shift(hstate) - 10; in flush_hugetlb_page()
/linux/drivers/dma-buf/
A Dudmabuf.c220 pgoff = list[i].offset >> huge_page_shift(hpstate); in udmabuf_create()
/linux/arch/powerpc/mm/
A Dhugetlbpage.c551 int mmu_psize = shift_to_mmu_psize(huge_page_shift(hstate)); in hugetlb_get_unmapped_area()
/linux/mm/
A Dhugetlb.c814 return ((address - vma->vm_start) >> huge_page_shift(h)) + in vma_hugecache_offset()
4630 unsigned int shift = huge_page_shift(hstate_vma(vma)); in make_huge_pte()
5409 size = i_size_read(mapping->host) >> huge_page_shift(h); in hugetlb_no_page()
5835 size = i_size_read(mapping->host) >> huge_page_shift(h); in hugetlb_mcopy_atomic_pte()
5864 size = i_size_read(mapping->host) >> huge_page_shift(h); in hugetlb_mcopy_atomic_pte()
6172 unsigned int shift = huge_page_shift(hstate_vma(vma)); in hugetlb_change_protection()
A Dmemory-failure.c670 return check_hwpoisoned_entry(pte, addr, huge_page_shift(h), in hwpoison_hugetlb_range()
A Dmempolicy.c1946 huge_page_shift(hstate_vma(vma))); in huge_node()
A Dmigrate.c235 unsigned int shift = huge_page_shift(hstate_vma(vma)); in remove_migration_pte()
/linux/arch/riscv/kvm/
A Dmmu.c664 vma_pageshift = huge_page_shift(hstate_vma(vma)); in kvm_riscv_stage2_map()
/linux/arch/arm64/kvm/
A Dmmu.c879 return huge_page_shift(hstate_vma(vma)); in get_vma_page_shift()

Completed in 42 milliseconds