/kernel/linux/linux-5.10/include/linux/ |
D | hugetlb.h | 552 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/ |
D | hugetlb.c | 1395 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 …]
|
D | pagewalk.c | 241 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()
|
D | hugetlb_cgroup.c | 625 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()
|
D | memory-failure.c | 1204 if (huge_page_size(page_hstate(head)) > PMD_SIZE) { in memory_failure_hugetlb()
|
D | mmap.c | 1630 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/ |
D | memory.c | 642 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/ |
D | hugetlb-8xx.h | 72 size_t size = huge_page_size(hstate_vma(vma)); in arch_make_huge_pte()
|
/kernel/linux/linux-5.10/fs/hugetlbfs/ |
D | inode.c | 268 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/ |
D | radix_hugetlbpage.c | 73 addr = ALIGN(addr, huge_page_size(h)); in radix__hugetlb_get_unmapped_area()
|
/kernel/linux/linux-5.10/arch/parisc/mm/ |
D | hugetlbpage.c | 40 addr = ALIGN(addr, huge_page_size(h)); in hugetlb_get_unmapped_area()
|
/kernel/linux/linux-5.10/arch/arm64/mm/ |
D | hugetlbpage.c | 62 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/ |
D | tlb.h | 569 unsigned long _sz = huge_page_size(h); \
|
/kernel/linux/linux-5.10/arch/s390/mm/ |
D | hugetlbpage.c | 335 addr = ALIGN(addr, huge_page_size(h)); in hugetlb_get_unmapped_area()
|
/kernel/linux/linux-5.10/arch/sparc/mm/ |
D | hugetlbpage.c | 120 addr = ALIGN(addr, huge_page_size(h)); in hugetlb_get_unmapped_area()
|
D | init_64.c | 418 hugepage_size = huge_page_size(hstate_vma(vma)); in update_mmu_cache()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 609 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/ |
D | task_mmu.c | 743 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/ |
D | shm.c | 739 hugesize = ALIGN(size, huge_page_size(hs)); in newseg()
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | others.patch | 497 unsigned long sz = huge_page_size(h);
|