Home
last modified time | relevance | path

Searched refs:hstate (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v5.4/include/linux/
Dhugetlb.h36 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/
Dradix_hugetlbpage.c15 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/
Dhugetlb.c45 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 …]
Dhugetlb_cgroup.c164 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()
Dpagewalk.c175 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()
Duserfaultfd.c187 struct hstate *h; in __mcopy_atomic_hugetlb()
Dgup.c1403 struct hstate *h = page_hstate(page); in new_non_cma_page()
/Linux-v5.4/fs/hugetlbfs/
Dinode.c51 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/
Dhugetlb.h20 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/
Dhugetlbpage.c218 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()
Dpgtable.c243 struct hstate *h = hstate_vma(vma); in huge_ptep_set_access_flags()
/Linux-v5.4/arch/powerpc/mm/nohash/
Dbook3e_hugetlbpage.c200 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/
Dhugetlbpage.c84 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/
Dhugetlb.h17 extern bool arch_hugetlb_migration_supported(struct hstate *h);
/Linux-v5.4/arch/mips/include/asm/
Dhugetlb.h27 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/Linux-v5.4/arch/sparc/mm/
Dhugetlbpage.c33 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/
Datmel_hlcdc_crtc.c290 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/
Dhugetlb.h94 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/Linux-v5.4/arch/powerpc/include/asm/
Dkvm_book3s_asm.h154 struct kvmppc_host_state hstate;
/Linux-v5.4/Documentation/vm/
Dhugetlbfs_reserv.rst36 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/
Dhugetlbpage.c29 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
/Linux-v5.4/arch/arm64/mm/
Dhugetlbpage.c23 bool arch_hugetlb_migration_supported(struct hstate *h) in arch_hugetlb_migration_supported()
/Linux-v5.4/drivers/infiniband/core/
Dumem_odp.c418 struct hstate *h; in ib_umem_odp_get()
/Linux-v5.4/ipc/
Dshm.c639 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/
Dasm-offsets.c613 # define HSTATE_FIELD(x, f) DEFINE(x, offsetof(struct kvmppc_book3s_shadow_vcpu, hstate.f)) in main()

12