Home
last modified time | relevance | path

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

/Linux-v4.19/fs/hugetlbfs/
Dinode.c166 len >> huge_page_shift(h), vma, in hugetlbfs_file_mmap()
262 unsigned long index = iocb->ki_pos >> huge_page_shift(h); in hugetlbfs_read_iter()
277 end_index = (isize - 1) >> huge_page_shift(h); in hugetlbfs_read_iter()
311 index += offset >> huge_page_shift(h); in hugetlbfs_read_iter()
314 iocb->ki_pos = ((loff_t)index << huge_page_shift(h)) + offset; in hugetlbfs_read_iter()
405 const pgoff_t start = lstart >> huge_page_shift(h); in remove_inode_hugepages()
406 const pgoff_t end = lend >> huge_page_shift(h); in remove_inode_hugepages()
561 unsigned long hpage_shift = huge_page_shift(h); in hugetlbfs_fallocate()
891 unsigned hpage_shift = huge_page_shift(sbinfo->hstate); in hugetlbfs_show_options()
1099 size_opt <<= huge_page_shift(h); in hugetlbfs_size_to_hpages()
[all …]
/Linux-v4.19/arch/powerpc/include/asm/book3s/64/
Dhugetlb.h20 shift = huge_page_shift(hstate); in hstate_get_psize()
/Linux-v4.19/include/linux/
Dhugetlb.h436 static inline unsigned huge_page_shift(struct hstate *h) in huge_page_shift() function
499 if ((huge_page_shift(h) == PMD_SHIFT) || in hugepage_migration_supported()
500 (huge_page_shift(h) == PGDIR_SHIFT)) in hugepage_migration_supported()
563 #define huge_page_shift(h) PAGE_SHIFT macro
/Linux-v4.19/arch/powerpc/mm/
Dhugetlbpage-book3e.c203 unsigned long tsize = huge_page_shift(hstate) - 10; in flush_hugetlb_page()
Dhugetlbpage.c558 int mmu_psize = shift_to_mmu_psize(huge_page_shift(hstate)); in hugetlb_get_unmapped_area()
/Linux-v4.19/mm/
Dhugetlb.c623 return ((address - vma->vm_start) >> huge_page_shift(h)) + in vma_hugecache_offset()
3148 return 1UL << huge_page_shift(hstate); in hugetlb_vm_op_pagesize()
3731 size = i_size_read(mapping->host) >> huge_page_shift(h); in hugetlb_no_page()
3820 size = i_size_read(mapping->host) >> huge_page_shift(h); in hugetlb_no_page()
3871 key[1] = address >> huge_page_shift(h); in hugetlb_fault_mutex_hash()
4087 size = i_size_read(mapping->host) >> huge_page_shift(h); in hugetlb_mcopy_atomic_pte()
4115 size = i_size_read(mapping->host) >> huge_page_shift(h); in hugetlb_mcopy_atomic_pte()
Dmempolicy.c1864 huge_page_shift(hstate_vma(vma))); in huge_node()
/Linux-v4.19/arch/sparc/mm/
Dhugetlbpage.c184 unsigned int shift = huge_page_shift(hstate_vma(vma)); in arch_make_huge_pte()
/Linux-v4.19/drivers/infiniband/core/
Dumem_odp.c362 umem->page_shift = huge_page_shift(h); in ib_umem_odp_get()
/Linux-v4.19/virt/kvm/arm/
Dmmu.c1462 info.si_addr_lsb = huge_page_shift(hstate_vma(vma)); in kvm_send_hwpoison_signal()