Home
last modified time | relevance | path

Searched refs:huge_page_size (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dhugetlb.h552 static inline unsigned long huge_page_size(struct hstate *h) in huge_page_size() function
588 return huge_page_size(h) / 512; in blocks_per_huge_page()
708 if (huge_page_size(h) == PMD_SIZE) in huge_pte_lockptr()
710 VM_BUG_ON(huge_page_size(h) == PAGE_SIZE); in huge_pte_lockptr()
818 static inline unsigned long huge_page_size(struct hstate *h) in huge_page_size() function
/kernel/linux/linux-5.10/mm/
Dhugetlb.c1395 if (huge_page_size(h) == size) in size_to_hstate()
2475 huge_page_size(h), huge_page_size(h), in __alloc_bootmem_huge_page()
2490 BUG_ON(!IS_ALIGNED(virt_to_phys(m), huge_page_size(h))); in __alloc_bootmem_huge_page()
2567 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in hugetlb_hstate_alloc_pages()
2598 string_get_size(huge_page_size(h), 1, STRING_UNITS_2, buf, 32); in report_hugepages()
3219 string_get_size(huge_page_size(&default_hstate), in hugetlb_init()
3283 huge_page_size(h)/1024); in hugetlb_add_hstate()
3819 unsigned long sz = huge_page_size(h); in copy_hugetlb_page_range()
3933 unsigned long sz = huge_page_size(h); in __unmap_hugepage_range()
4013 tlb_remove_page_size(tlb, page, huge_page_size(h)); in __unmap_hugepage_range()
[all …]
Dpagewalk.c241 unsigned long boundary = (addr & huge_page_mask(h)) + huge_page_size(h); in hugetlb_entry_end()
252 unsigned long sz = huge_page_size(h); in walk_hugetlb_range()
Dhugetlb_cgroup.c625 mem_fmt(buf, sizeof(buf), huge_page_size(h)); in __hugetlb_cgroup_file_dfl_init()
689 mem_fmt(buf, sizeof(buf), huge_page_size(h)); in __hugetlb_cgroup_file_legacy_init()
Dmemory-failure.c1204 if (huge_page_size(page_hstate(head)) > PMD_SIZE) { in memory_failure_hugetlb()
Dmmap.c1630 len = ALIGN(len, huge_page_size(hstate_file(file))); in ksys_mmap_pgoff()
1643 len = ALIGN(len, huge_page_size(hs)); in ksys_mmap_pgoff()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dmemory.c642 huge_page_size = ctx->hdev->asic_prop.pmmu_huge.page_size; in init_phys_pg_pack_from_userptr() local
645 u32 pgs_in_huge_page = huge_page_size >> __ffs(page_size); in init_phys_pg_pack_from_userptr()
669 (dma_addr & (huge_page_size - 1))) in init_phys_pg_pack_from_userptr()
674 page_size = huge_page_size; in init_phys_pg_pack_from_userptr()
868 huge_page_size = hdev->asic_prop.pmmu_huge.page_size; in map_device_va() local
897 if (addr & (huge_page_size - 1)) in map_device_va()
900 va_block_align = huge_page_size; in map_device_va()
907 va_block_align = huge_page_size; in map_device_va()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/32/
Dhugetlb-8xx.h72 size_t size = huge_page_size(hstate_vma(vma)); in arch_make_huge_pte()
/kernel/linux/linux-5.10/fs/hugetlbfs/
Dinode.c268 addr = ALIGN(addr, huge_page_size(h)); in hugetlb_get_unmapped_area()
339 nr = huge_page_size(h); in hugetlbfs_read_iter()
597 loff_t hpage_size = huge_page_size(h); in hugetlbfs_punch_hole()
641 loff_t hpage_size = huge_page_size(h); in hugetlbfs_fallocate()
1014 unsigned long hpage_size = huge_page_size(sbinfo->hstate); in hugetlbfs_show_options()
1053 buf->f_bsize = huge_page_size(h); in hugetlbfs_statfs()
1369 sb->s_blocksize = huge_page_size(ctx->hstate); in hugetlbfs_fill_super()
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
Dradix_hugetlbpage.c73 addr = ALIGN(addr, huge_page_size(h)); in radix__hugetlb_get_unmapped_area()
/kernel/linux/linux-5.10/arch/parisc/mm/
Dhugetlbpage.c40 addr = ALIGN(addr, huge_page_size(h)); in hugetlb_get_unmapped_area()
/kernel/linux/linux-5.10/arch/arm64/mm/
Dhugetlbpage.c62 size_t pagesize = huge_page_size(h); in arch_hugetlb_migration_supported()
346 size_t pagesize = huge_page_size(hstate_vma(vma)); in arch_make_huge_pte()
/kernel/linux/linux-5.10/include/asm-generic/
Dtlb.h569 unsigned long _sz = huge_page_size(h); \
/kernel/linux/linux-5.10/arch/s390/mm/
Dhugetlbpage.c335 addr = ALIGN(addr, huge_page_size(h)); in hugetlb_get_unmapped_area()
/kernel/linux/linux-5.10/arch/sparc/mm/
Dhugetlbpage.c120 addr = ALIGN(addr, huge_page_size(h)); in hugetlb_get_unmapped_area()
Dinit_64.c418 hugepage_size = huge_page_size(hstate_vma(vma)); in update_mmu_cache()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/
Dkvm_util.c609 size_t huge_page_size = KVM_UTIL_PGS_PER_HUGEPG * vm->page_size; in vm_userspace_mem_region_add() local
671 alignment = max(huge_page_size, alignment); in vm_userspace_mem_region_add()
/kernel/linux/linux-5.10/fs/proc/
Dtask_mmu.c743 mss->shared_hugetlb += huge_page_size(hstate_vma(vma)); in smaps_hugetlb_range()
745 mss->private_hugetlb += huge_page_size(hstate_vma(vma)); in smaps_hugetlb_range()
/kernel/linux/linux-5.10/ipc/
Dshm.c739 hugesize = ALIGN(size, huge_page_size(hs)); in newseg()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dothers.patch497 unsigned long sz = huge_page_size(h);