/Linux-v5.4/include/linux/ |
D | hugetlb.h | 36 struct hstate *hstate; member 58 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, 108 u32 hugetlb_fault_mutex_hash(struct hstate *h, struct address_space *mapping, 264 struct hstate *hstate; member 325 struct hstate { struct 350 struct hstate *hstate; argument 355 struct page *alloc_huge_page_node(struct hstate *h, int nid); 356 struct page *alloc_huge_page_nodemask(struct hstate *h, int preferred_nid, 358 struct page *alloc_huge_page_vma(struct hstate *h, struct vm_area_struct *vma, 360 struct page *alloc_migrate_huge_page(struct hstate *h, gfp_t gfp_mask, [all …]
|
/Linux-v5.4/arch/powerpc/mm/book3s64/ |
D | radix_hugetlbpage.c | 15 struct hstate *hstate = hstate_file(vma->vm_file); in radix__flush_hugetlb_page() local 17 psize = hstate_get_psize(hstate); in radix__flush_hugetlb_page() 24 struct hstate *hstate = hstate_file(vma->vm_file); in radix__local_flush_hugetlb_page() local 26 psize = hstate_get_psize(hstate); in radix__local_flush_hugetlb_page() 34 struct hstate *hstate = hstate_file(vma->vm_file); in radix__flush_hugetlb_tlb_range() local 36 psize = hstate_get_psize(hstate); in radix__flush_hugetlb_tlb_range() 52 struct hstate *h = hstate_file(file); in radix__hugetlb_get_unmapped_area()
|
/Linux-v5.4/mm/ |
D | hugetlb.c | 45 struct hstate hstates[HUGE_MAX_HSTATE]; 55 static struct hstate * __initdata parsed_hstate; 74 static int hugetlb_acct_memory(struct hstate *h, long delta); 87 hugetlb_acct_memory(spool->hstate, in unlock_or_release_subpool() 93 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, in hugepage_new_subpool() 105 spool->hstate = h; in hugepage_new_subpool() 581 struct hstate *h = hstate_inode(inode); in hugetlb_fix_reserve_counts() 622 static pgoff_t vma_hugecache_offset(struct hstate *h, in vma_hugecache_offset() 865 static void enqueue_huge_page(struct hstate *h, struct page *page) in enqueue_huge_page() 873 static struct page *dequeue_huge_page_node_exact(struct hstate *h, int nid) in dequeue_huge_page_node_exact() [all …]
|
D | hugetlb_cgroup.c | 164 struct hstate *h; in hugetlb_cgroup_css_offline() 357 struct hstate *h = &hstates[idx]; in __hugetlb_cgroup_file_init() 399 struct hstate *h; in hugetlb_cgroup_file_init() 419 struct hstate *h = page_hstate(oldhpage); in hugetlb_cgroup_migrate()
|
D | pagewalk.c | 175 static unsigned long hugetlb_entry_end(struct hstate *h, unsigned long addr, in hugetlb_entry_end() 186 struct hstate *h = hstate_vma(vma); in walk_hugetlb_range()
|
D | userfaultfd.c | 187 struct hstate *h; in __mcopy_atomic_hugetlb()
|
D | gup.c | 1403 struct hstate *h = page_hstate(page); in new_non_cma_page()
|
/Linux-v5.4/fs/hugetlbfs/ |
D | inode.c | 51 struct hstate *hstate; member 140 struct hstate *h = hstate_file(file); in hugetlbfs_file_mmap() 204 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area() 273 struct hstate *h = hstate_file(file); in hugetlbfs_read_iter() 417 struct hstate *h = hstate_inode(inode); in remove_inode_hugepages() 518 struct hstate *h = hstate_inode(inode); in hugetlb_vmtruncate() 534 struct hstate *h = hstate_inode(inode); in hugetlbfs_punch_hole() 576 struct hstate *h = hstate_inode(inode); in hugetlbfs_fallocate() 697 struct hstate *h = hstate_inode(inode); in hugetlbfs_setattr() 928 unsigned long hpage_size = huge_page_size(sbinfo->hstate); in hugetlbfs_show_options() [all …]
|
/Linux-v5.4/arch/powerpc/include/asm/book3s/64/ |
D | hugetlb.h | 20 static inline int hstate_get_psize(struct hstate *hstate) in hstate_get_psize() argument 24 shift = huge_page_shift(hstate); in hstate_get_psize()
|
/Linux-v5.4/arch/powerpc/mm/ |
D | hugetlbpage.c | 218 int __init pseries_alloc_bootmem_huge_page(struct hstate *hstate) in pseries_alloc_bootmem_huge_page() argument 226 m->hstate = hstate; in pseries_alloc_bootmem_huge_page() 232 int __init alloc_bootmem_huge_page(struct hstate *h) in alloc_bootmem_huge_page() 532 struct hstate *hstate = hstate_file(file); in hugetlb_get_unmapped_area() local 533 int mmu_psize = shift_to_mmu_psize(huge_page_shift(hstate)); in hugetlb_get_unmapped_area()
|
D | pgtable.c | 243 struct hstate *h = hstate_vma(vma); in huge_ptep_set_access_flags()
|
/Linux-v5.4/arch/powerpc/mm/nohash/ |
D | book3e_hugetlbpage.c | 200 struct hstate *hstate = hstate_file(vma->vm_file); in flush_hugetlb_page() local 201 unsigned long tsize = huge_page_shift(hstate) - 10; in flush_hugetlb_page()
|
/Linux-v5.4/arch/x86/mm/ |
D | hugetlbpage.c | 84 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_bottomup() 107 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_topdown() 147 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
|
/Linux-v5.4/arch/arm64/include/asm/ |
D | hugetlb.h | 17 extern bool arch_hugetlb_migration_supported(struct hstate *h);
|
/Linux-v5.4/arch/mips/include/asm/ |
D | hugetlb.h | 27 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
|
/Linux-v5.4/arch/sparc/mm/ |
D | hugetlbpage.c | 33 struct hstate *h = hstate_file(filp); in hugetlb_get_unmapped_area_bottomup() 64 struct hstate *h = hstate_file(filp); in hugetlb_get_unmapped_area_topdown() 101 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
|
/Linux-v5.4/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_crtc.c | 290 struct atmel_hlcdc_crtc_state *hstate; in atmel_hlcdc_crtc_select_output_mode() local 315 hstate = drm_crtc_state_to_atmel_hlcdc_crtc_state(state); in atmel_hlcdc_crtc_select_output_mode() 316 hstate->output_mode = fls(output_fmts) - 1; in atmel_hlcdc_crtc_select_output_mode()
|
/Linux-v5.4/include/asm-generic/ |
D | hugetlb.h | 94 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | kvm_book3s_asm.h | 154 struct kvmppc_host_state hstate;
|
/Linux-v5.4/Documentation/vm/ |
D | hugetlbfs_reserv.rst | 36 This is a global (per-hstate) count of reserved huge pages. Reserved 302 There is a struct hstate associated with each huge page size. The hstate 304 of pages within a hstate that is associated with a mounted hugetlbfs 467 long vma_needs_reservation(struct hstate *h, 474 long vma_commit_reservation(struct hstate *h, 486 void vma_end_reservation(struct hstate *h, 495 long vma_add_reservation(struct hstate *h, 556 Per-node huge page lists existed in struct hstate when git was first used
|
/Linux-v5.4/arch/parisc/mm/ |
D | hugetlbpage.c | 29 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
|
/Linux-v5.4/arch/arm64/mm/ |
D | hugetlbpage.c | 23 bool arch_hugetlb_migration_supported(struct hstate *h) in arch_hugetlb_migration_supported()
|
/Linux-v5.4/drivers/infiniband/core/ |
D | umem_odp.c | 418 struct hstate *h; in ib_umem_odp_get()
|
/Linux-v5.4/ipc/ |
D | shm.c | 639 struct hstate *hs; in newseg() 841 struct hstate *h = hstate_file(shp->shm_file); in shm_add_rss_swap()
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | asm-offsets.c | 613 # define HSTATE_FIELD(x, f) DEFINE(x, offsetof(struct kvmppc_book3s_shadow_vcpu, hstate.f)) in main()
|