Home
last modified time | relevance | path

Searched refs:hstate (Results 1 - 25 of 64) sorted by relevance

123

/kernel/linux/linux-6.6/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_plane.c601 struct atmel_hlcdc_plane_state *hstate = in atmel_hlcdc_plane_atomic_check() local
604 struct drm_framebuffer *fb = hstate->base.fb; in atmel_hlcdc_plane_atomic_check()
610 if (!hstate->base.crtc || WARN_ON(!fb)) in atmel_hlcdc_plane_atomic_check()
622 hstate->src_x = s->src.x1; in atmel_hlcdc_plane_atomic_check()
623 hstate->src_y = s->src.y1; in atmel_hlcdc_plane_atomic_check()
624 hstate->src_w = drm_rect_width(&s->src); in atmel_hlcdc_plane_atomic_check()
625 hstate->src_h = drm_rect_height(&s->src); in atmel_hlcdc_plane_atomic_check()
626 hstate->crtc_x = s->dst.x1; in atmel_hlcdc_plane_atomic_check()
627 hstate->crtc_y = s->dst.y1; in atmel_hlcdc_plane_atomic_check()
628 hstate in atmel_hlcdc_plane_atomic_check()
740 struct atmel_hlcdc_plane_state *hstate = atmel_hlcdc_plane_atomic_update() local
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dhugetlb.h38 struct hstate *hstate; member
105 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages,
412 struct hstate *hstate; member
449 static inline struct hstate *hstate_inode(struct inode *i) in hstate_inode()
451 return HUGETLBFS_SB(i->i_sb)->hstate; in hstate_inode()
464 static inline struct hstate *hstate_inode(struct inode *i) in hstate_inode()
480 struct hstate { struct
506 struct hstate *hstat member
774 struct hstate {}; global() struct
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dhugetlb.h50 struct hstate *hstate; member
124 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages,
243 unsigned long hugetlb_mask_last_page(struct hstate *h);
534 struct hstate *hstate; member
570 static inline struct hstate *hstate_inode(struct inode *i) in hstate_inode()
572 return HUGETLBFS_SB(i->i_sb)->hstate; in hstate_inode()
584 static inline struct hstate *hstate_inode(struct inode *i) in hstate_inode()
714 struct hstate { struct
743 struct hstate *hstate; global() member
[all...]
/kernel/linux/linux-6.6/mm/
H A Dhugetlb_vmemmap.h14 int hugetlb_vmemmap_restore(const struct hstate *h, struct page *head);
15 void hugetlb_vmemmap_optimize(const struct hstate *h, struct page *head);
23 static inline unsigned int hugetlb_vmemmap_size(const struct hstate *h) in hugetlb_vmemmap_size()
32 static inline unsigned int hugetlb_vmemmap_optimizable_size(const struct hstate *h) in hugetlb_vmemmap_optimizable_size()
41 static inline int hugetlb_vmemmap_restore(const struct hstate *h, struct page *head) in hugetlb_vmemmap_restore()
46 static inline void hugetlb_vmemmap_optimize(const struct hstate *h, struct page *head) in hugetlb_vmemmap_optimize()
50 static inline unsigned int hugetlb_vmemmap_optimizable_size(const struct hstate *h) in hugetlb_vmemmap_optimizable_size()
56 static inline bool hugetlb_vmemmap_optimizable(const struct hstate *h) in hugetlb_vmemmap_optimizable()
H A Dhugetlb.c53 struct hstate hstates[HUGE_MAX_HSTATE];
74 static struct hstate * __initdata parsed_hstate;
94 static int hugetlb_acct_memory(struct hstate *h, long delta);
124 hugetlb_acct_memory(spool->hstate, in unlock_or_release_subpool()
130 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, in hugepage_new_subpool()
142 spool->hstate = h; in hugepage_new_subpool()
466 struct hstate *h, in record_hugetlb_cgroup_uncharge_info()
548 long to, struct hstate *h, struct hugetlb_cgroup *cg, in hugetlb_resv_map_add()
574 struct hstate *h, long *regions_needed) in add_reservation_in_range()
706 long in_regions_needed, struct hstate * in region_add()
[all...]
H A Dpage_vma_mapped.c189 struct hstate *hstate = hstate_vma(vma); in page_vma_mapped_walk() local
190 unsigned long size = huge_page_size(hstate); in page_vma_mapped_walk()
203 pvmw->ptl = huge_pte_lock(hstate, mm, pvmw->pte); in page_vma_mapped_walk()
H A Dhugetlb_vmemmap.c447 * @h: struct hstate.
453 int hugetlb_vmemmap_restore(const struct hstate *h, struct page *head) in hugetlb_vmemmap_restore()
483 static bool vmemmap_should_optimize(const struct hstate *h, const struct page *head) in vmemmap_should_optimize()
540 * @h: struct hstate.
548 void hugetlb_vmemmap_optimize(const struct hstate *h, struct page *head) in hugetlb_vmemmap_optimize()
586 const struct hstate *h; in hugetlb_vmemmap_init()
H A Dhugetlb_cgroup.c78 struct hstate *h; in hugetlb_cgroup_have_usage()
227 struct hstate *h; in hugetlb_cgroup_css_offline()
718 struct hstate *h = &hstates[idx]; in __hugetlb_cgroup_file_dfl_init()
789 struct hstate *h = &hstates[idx]; in __hugetlb_cgroup_file_legacy_init()
870 struct hstate *h; in hugetlb_cgroup_file_init()
891 struct hstate *h = folio_hstate(old_folio); in hugetlb_cgroup_migrate()
/kernel/linux/linux-6.6/arch/powerpc/mm/book3s64/
H A Dradix_hugetlbpage.c13 struct hstate *hstate = hstate_file(vma->vm_file); in radix__flush_hugetlb_page() local
15 psize = hstate_get_psize(hstate); in radix__flush_hugetlb_page()
22 struct hstate *hstate = hstate_file(vma->vm_file); in radix__local_flush_hugetlb_page() local
24 psize = hstate_get_psize(hstate); in radix__local_flush_hugetlb_page()
32 struct hstate *hstate = hstate_file(vma->vm_file); in radix__flush_hugetlb_tlb_range() local
34 psize = hstate_get_psize(hstate); in radix__flush_hugetlb_tlb_range()
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
H A Dradix_hugetlbpage.c13 struct hstate *hstate = hstate_file(vma->vm_file); in radix__flush_hugetlb_page() local
15 psize = hstate_get_psize(hstate); in radix__flush_hugetlb_page()
22 struct hstate *hstate = hstate_file(vma->vm_file); in radix__local_flush_hugetlb_page() local
24 psize = hstate_get_psize(hstate); in radix__local_flush_hugetlb_page()
32 struct hstate *hstate = hstate_file(vma->vm_file); in radix__flush_hugetlb_tlb_range() local
34 psize = hstate_get_psize(hstate); in radix__flush_hugetlb_tlb_range()
50 struct hstate * in radix__hugetlb_get_unmapped_area()
[all...]
/kernel/linux/linux-5.10/fs/hugetlbfs/
H A Dinode.c52 struct hstate *hstate; member
137 struct hstate *h = hstate_file(file); in hugetlbfs_file_mmap()
203 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_bottomup()
219 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_topdown()
253 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
325 struct hstate *h = hstate_file(file); in hugetlbfs_read_iter()
468 struct hstate *h = hstate_inode(inode); in remove_inode_hugepages()
580 struct hstate *h = hstate_inode(inode); in hugetlb_vmtruncate()
596 struct hstate * in hugetlbfs_punch_hole()
[all...]
/kernel/linux/linux-5.10/mm/
H A Dhugetlb.c48 struct hstate hstates[HUGE_MAX_HSTATE];
64 static struct hstate * __initdata parsed_hstate;
98 static int hugetlb_acct_memory(struct hstate *h, long delta);
111 hugetlb_acct_memory(spool->hstate, in unlock_or_release_subpool()
117 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, in hugepage_new_subpool()
129 spool->hstate = h; in hugepage_new_subpool()
279 struct hstate *h, in record_hugetlb_cgroup_uncharge_info()
370 struct hstate *h, long *regions_needed) in add_reservation_in_range()
515 long in_regions_needed, struct hstate *h, in region_add()
752 struct hstate * in hugetlb_fix_reserve_counts()
3724 struct hstate *hstate = hstate_vma(vma); hugetlb_vm_op_pagesize() local
[all...]
H A Dhugetlb_cgroup.c200 struct hstate *h; in hugetlb_cgroup_css_offline()
622 struct hstate *h = &hstates[idx]; in __hugetlb_cgroup_file_dfl_init()
686 struct hstate *h = &hstates[idx]; in __hugetlb_cgroup_file_legacy_init()
761 struct hstate *h; in hugetlb_cgroup_file_init()
782 struct hstate *h = page_hstate(oldhpage); in hugetlb_cgroup_migrate()
/kernel/linux/linux-6.6/fs/hugetlbfs/
H A Dinode.c50 struct hstate *hstate; member
125 struct hstate *h = hstate_file(file); in hugetlbfs_file_mmap()
201 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_bottomup()
217 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_topdown()
252 struct hstate *h = hstate_file(file); in generic_hugetlb_get_unmapped_area()
338 struct hstate *h = hstate_file(file); in hugetlbfs_read_iter()
494 static void hugetlb_unmap_file_folio(struct hstate *h, in hugetlb_unmap_file_folio()
613 static bool remove_inode_single_folio(struct hstate *h, struct inode *inode, in remove_inode_single_folio()
673 struct hstate * in remove_inode_hugepages()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/mm/
H A Dhugetlbpage.c220 int __init pseries_alloc_bootmem_huge_page(struct hstate *hstate) in pseries_alloc_bootmem_huge_page() argument
228 m->hstate = hstate; in pseries_alloc_bootmem_huge_page()
234 int __init alloc_bootmem_huge_page(struct hstate *h) in alloc_bootmem_huge_page()
562 struct hstate *hstate = hstate_file(file); in hugetlb_get_unmapped_area() local
563 int mmu_psize = shift_to_mmu_psize(huge_page_shift(hstate)); in hugetlb_get_unmapped_area()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/
H A 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()
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/
H A 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()
/kernel/linux/linux-6.6/arch/powerpc/include/asm/book3s/64/
H A Dhugetlb.h19 static inline int hstate_get_psize(struct hstate *hstate) in hstate_get_psize() argument
23 shift = huge_page_shift(hstate); in hstate_get_psize()
/kernel/linux/linux-6.6/arch/powerpc/mm/nohash/
H A De500_hugetlbpage.c190 struct hstate *hstate = hstate_file(vma->vm_file); in flush_hugetlb_page() local
191 unsigned long tsize = huge_page_shift(hstate) - 10; in flush_hugetlb_page()
/kernel/linux/linux-6.6/arch/x86/mm/
H A Dhugetlbpage.c53 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_bottomup()
76 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_topdown()
116 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
/kernel/linux/linux-5.10/arch/x86/mm/
H A Dhugetlbpage.c82 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_bottomup()
105 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_topdown()
145 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
/kernel/linux/linux-6.6/arch/powerpc/mm/
H A Dhugetlbpage.c222 static 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()
241 int __init alloc_bootmem_huge_page(struct hstate *h, int nid) in alloc_bootmem_huge_page()
/kernel/linux/linux-5.10/arch/s390/mm/
H A Dhugetlbpage.c271 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_bottomup()
287 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_topdown()
319 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
/kernel/linux/linux-6.6/arch/s390/mm/
H A Dhugetlbpage.c260 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_bottomup()
276 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_topdown()
308 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Dhugetlb.h19 struct hstate *h = hstate_file(file); in prepare_hugepage_range()

Completed in 31 milliseconds

123