Home
last modified time | relevance | path

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

12

/Linux-v4.19/include/linux/
Dhugetlb.h54 struct hstate *hstate; member
76 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages,
126 u32 hugetlb_fault_mutex_hash(struct hstate *h, struct mm_struct *mm,
278 struct hstate *hstate; member
339 struct hstate { struct
364 struct hstate *hstate; argument
369 struct page *alloc_huge_page_node(struct hstate *h, int nid);
370 struct page *alloc_huge_page_nodemask(struct hstate *h, int preferred_nid,
372 struct page *alloc_huge_page_vma(struct hstate *h, struct vm_area_struct *vma,
378 int __init __alloc_bootmem_huge_page(struct hstate *h);
[all …]
/Linux-v4.19/arch/powerpc/mm/
Dhugetlbpage-radix.c14 struct hstate *hstate = hstate_file(vma->vm_file); in radix__flush_hugetlb_page() local
16 psize = hstate_get_psize(hstate); in radix__flush_hugetlb_page()
23 struct hstate *hstate = hstate_file(vma->vm_file); in radix__local_flush_hugetlb_page() local
25 psize = hstate_get_psize(hstate); in radix__local_flush_hugetlb_page()
33 struct hstate *hstate = hstate_file(vma->vm_file); in radix__flush_hugetlb_tlb_range() local
35 psize = hstate_get_psize(hstate); in radix__flush_hugetlb_tlb_range()
51 struct hstate *h = hstate_file(file); in radix__hugetlb_get_unmapped_area()
Dhugetlbpage-book3e.c202 struct hstate *hstate = hstate_file(vma->vm_file); in flush_hugetlb_page() local
203 unsigned long tsize = huge_page_shift(hstate) - 10; in flush_hugetlb_page()
Dhugetlbpage.c222 int __init pseries_alloc_bootmem_huge_page(struct hstate *hstate) in pseries_alloc_bootmem_huge_page() argument
230 m->hstate = hstate; in pseries_alloc_bootmem_huge_page()
236 int __init alloc_bootmem_huge_page(struct hstate *h) in alloc_bootmem_huge_page()
557 struct hstate *hstate = hstate_file(file); in hugetlb_get_unmapped_area() local
558 int mmu_psize = shift_to_mmu_psize(huge_page_shift(hstate)); in hugetlb_get_unmapped_area()
Dpgtable.c252 struct hstate *h = hstate_vma(vma); in huge_ptep_set_access_flags()
/Linux-v4.19/mm/
Dhugetlb.c43 struct hstate hstates[HUGE_MAX_HSTATE];
53 static struct hstate * __initdata parsed_hstate;
72 static int hugetlb_acct_memory(struct hstate *h, long delta);
85 hugetlb_acct_memory(spool->hstate, in unlock_or_release_subpool()
91 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, in hugepage_new_subpool()
103 spool->hstate = h; in hugepage_new_subpool()
579 struct hstate *h = hstate_inode(inode); in hugetlb_fix_reserve_counts()
620 static pgoff_t vma_hugecache_offset(struct hstate *h, in vma_hugecache_offset()
855 static void enqueue_huge_page(struct hstate *h, struct page *page) in enqueue_huge_page()
863 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.c170 static unsigned long hugetlb_entry_end(struct hstate *h, unsigned long addr, in hugetlb_entry_end()
181 struct hstate *h = hstate_vma(vma); in walk_hugetlb_range()
Duserfaultfd.c167 struct hstate *h; in __mcopy_atomic_hugetlb()
/Linux-v4.19/arch/powerpc/include/asm/book3s/64/
Dhugetlb.h16 static inline int hstate_get_psize(struct hstate *hstate) in hstate_get_psize() argument
20 shift = huge_page_shift(hstate); in hstate_get_psize()
/Linux-v4.19/fs/hugetlbfs/
Dinode.c49 struct hstate *hstate; member
126 struct hstate *h = hstate_file(file); in hugetlbfs_file_mmap()
190 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
259 struct hstate *h = hstate_file(file); in hugetlbfs_read_iter()
403 struct hstate *h = hstate_inode(inode); in remove_inode_hugepages()
499 struct hstate *h = hstate_inode(inode); in hugetlb_vmtruncate()
515 struct hstate *h = hstate_inode(inode); in hugetlbfs_punch_hole()
557 struct hstate *h = hstate_inode(inode); in hugetlbfs_fallocate()
679 struct hstate *h = hstate_inode(inode); in hugetlbfs_setattr()
890 unsigned long hpage_size = huge_page_size(sbinfo->hstate); in hugetlbfs_show_options()
[all …]
/Linux-v4.19/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-v4.19/arch/arm/include/asm/
Dhugetlb.h48 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/Linux-v4.19/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_crtc.c232 struct atmel_hlcdc_crtc_state *hstate; in atmel_hlcdc_crtc_select_output_mode() local
276 hstate = drm_crtc_state_to_atmel_hlcdc_crtc_state(state); in atmel_hlcdc_crtc_select_output_mode()
277 hstate->output_mode = fls(output_fmts) - 1; in atmel_hlcdc_crtc_select_output_mode()
/Linux-v4.19/arch/sparc/include/asm/
Dhugetlb.h35 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/Linux-v4.19/arch/x86/include/asm/
Dhugetlb.h23 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/Linux-v4.19/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-v4.19/arch/arm64/include/asm/
Dhugetlb.h47 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/Linux-v4.19/arch/mips/include/asm/
Dhugetlb.h28 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/Linux-v4.19/arch/powerpc/include/asm/
Dkvm_book3s_asm.h162 struct kvmppc_host_state hstate;
Dhugetlb.h124 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/Linux-v4.19/arch/parisc/mm/
Dhugetlbpage.c29 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
/Linux-v4.19/Documentation/vm/
Dhugetlbfs_reserv.rst36 This is a global (per-hstate) count of reserved huge pages. Reserved
301 There is a struct hstate associated with each huge page size. The hstate
303 of pages within a hstate that is associated with a mounted hugetlbfs
466 long vma_needs_reservation(struct hstate *h,
473 long vma_commit_reservation(struct hstate *h,
485 void vma_end_reservation(struct hstate *h,
494 long vma_add_reservation(struct hstate *h,
555 Per-node huge page lists existed in struct hstate when git was first used
/Linux-v4.19/drivers/infiniband/core/
Dumem_odp.c353 struct hstate *h; in ib_umem_odp_get()
/Linux-v4.19/ipc/
Dshm.c639 struct hstate *hs; in newseg()
841 struct hstate *h = hstate_file(shp->shm_file); in shm_add_rss_swap()

12