Searched refs:huge_page_shift (Results 1 – 10 of 10) sorted by relevance
166 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 …]
20 shift = huge_page_shift(hstate); in hstate_get_psize()
436 static inline unsigned huge_page_shift(struct hstate *h) in huge_page_shift() function499 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
203 unsigned long tsize = huge_page_shift(hstate) - 10; in flush_hugetlb_page()
558 int mmu_psize = shift_to_mmu_psize(huge_page_shift(hstate)); in hugetlb_get_unmapped_area()
623 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()
1864 huge_page_shift(hstate_vma(vma))); in huge_node()
184 unsigned int shift = huge_page_shift(hstate_vma(vma)); in arch_make_huge_pte()
362 umem->page_shift = huge_page_shift(h); in ib_umem_odp_get()
1462 info.si_addr_lsb = huge_page_shift(hstate_vma(vma)); in kvm_send_hwpoison_signal()