Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/atmel-hlcdc/
A Datmel_hlcdc_plane.c630 if ((hstate->src_x | hstate->src_y | hstate->src_w | hstate->src_h) & in atmel_hlcdc_plane_atomic_check()
656 offset += ((hstate->src_x + hstate->src_w - 1) / in atmel_hlcdc_plane_atomic_check()
664 offset = ((hstate->src_y + hstate->src_h - 1) / in atmel_hlcdc_plane_atomic_check()
666 offset += ((hstate->src_x + hstate->src_w - 1) / in atmel_hlcdc_plane_atomic_check()
670 hstate->pstride[i] = -2 * hstate->bpp[i]; in atmel_hlcdc_plane_atomic_check()
673 offset = ((hstate->src_y + hstate->src_h - 1) / in atmel_hlcdc_plane_atomic_check()
675 offset += (hstate->src_x / xdiv) * hstate->bpp[i]; in atmel_hlcdc_plane_atomic_check()
676 hstate->xstride[i] = ((hstate->src_h - 1) / ydiv) * in atmel_hlcdc_plane_atomic_check()
683 offset += (hstate->src_x / xdiv) * hstate->bpp[i]; in atmel_hlcdc_plane_atomic_check()
698 swap(hstate->src_w, hstate->src_h); in atmel_hlcdc_plane_atomic_check()
[all …]
A Datmel_hlcdc_crtc.c295 struct atmel_hlcdc_crtc_state *hstate; in atmel_hlcdc_crtc_select_output_mode() local
320 hstate = drm_crtc_state_to_atmel_hlcdc_crtc_state(state); in atmel_hlcdc_crtc_select_output_mode()
321 hstate->output_mode = fls(output_fmts) - 1; in atmel_hlcdc_crtc_select_output_mode()
/linux/include/linux/
A Dhugetlb.h55 struct hstate *hstate; member
454 struct hstate *hstate; member
492 return HUGETLBFS_SB(i->i_sb)->hstate; in hstate_inode()
601 struct hstate { struct
633 struct hstate *hstate; argument
655 struct hstate *size_to_hstate(unsigned long size);
661 extern struct hstate hstates[HUGE_MAX_HSTATE];
772 static inline int hstate_index(struct hstate *h) in hstate_index()
831 static inline gfp_t htlb_alloc_mask(struct hstate *h) in htlb_alloc_mask()
914 struct hstate {};
[all …]
/linux/mm/
A Dhugetlb_vmemmap.h14 int alloc_huge_page_vmemmap(struct hstate *h, struct page *head);
15 void free_huge_page_vmemmap(struct hstate *h, struct page *head);
16 void hugetlb_vmemmap_init(struct hstate *h);
22 static inline unsigned int free_vmemmap_pages_per_hpage(struct hstate *h) in free_vmemmap_pages_per_hpage()
27 static inline int alloc_huge_page_vmemmap(struct hstate *h, struct page *head) in alloc_huge_page_vmemmap()
32 static inline void free_huge_page_vmemmap(struct hstate *h, struct page *head) in free_huge_page_vmemmap()
36 static inline void hugetlb_vmemmap_init(struct hstate *h) in hugetlb_vmemmap_init()
40 static inline unsigned int free_vmemmap_pages_per_hpage(struct hstate *h) in free_vmemmap_pages_per_hpage()
A Dhugetlb.c138 spool->hstate = h; in hugepage_new_subpool()
1647 struct hstate *h; in size_to_hstate()
2805 struct hstate *h; in isolate_or_dissolve_huge_page()
3005 m->hstate = h; in __alloc_bootmem_huge_page()
3019 struct hstate *h = m->hstate; in gather_bootmem_prealloc()
3172 struct hstate *h; in report_hugepages()
3526 struct hstate *h; in nr_hugepages_show_common()
3576 struct hstate *h; in nr_hugepages_store_common()
3656 struct hstate *h; in free_hugepages_show()
3681 struct hstate *h; in surplus_hugepages_show()
[all …]
A Dhugetlb_vmemmap.c209 static inline unsigned long free_vmemmap_pages_size_per_hpage(struct hstate *h) in free_vmemmap_pages_size_per_hpage()
218 int alloc_huge_page_vmemmap(struct hstate *h, struct page *head) in alloc_huge_page_vmemmap()
246 void free_huge_page_vmemmap(struct hstate *h, struct page *head) in free_huge_page_vmemmap()
267 void __init hugetlb_vmemmap_init(struct hstate *h) in hugetlb_vmemmap_init()
A Dhugetlb_cgroup.c197 struct hstate *h; in hugetlb_cgroup_css_offline()
619 struct hstate *h = &hstates[idx]; in __hugetlb_cgroup_file_dfl_init()
683 struct hstate *h = &hstates[idx]; in __hugetlb_cgroup_file_legacy_init()
758 struct hstate *h; in hugetlb_cgroup_file_init()
779 struct hstate *h = page_hstate(oldhpage); in hugetlb_cgroup_migrate()
A Dpagewalk.c286 static unsigned long hugetlb_entry_end(struct hstate *h, unsigned long addr, in hugetlb_entry_end()
297 struct hstate *h = hstate_vma(vma); in walk_hugetlb_range()
/linux/arch/powerpc/mm/book3s64/
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()
56 struct hstate *h = hstate_file(file); in radix__hugetlb_get_unmapped_area()
/linux/fs/hugetlbfs/
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()
1269 ctx->hstate = size_to_hstate(ps); in hugetlbfs_parse_param()
1270 if (!ctx->hstate) { in hugetlbfs_parse_param()
1336 sbinfo->hstate = ctx->hstate; in hugetlbfs_fill_super()
1410 ctx->hstate = &default_hstate; in hugetlbfs_init_fs_context()
1511 ctx->hstate = h; in mount_one_hugetlbfs()
[all …]
/linux/arch/powerpc/mm/
A Dhugetlbpage.c221 static int __init pseries_alloc_bootmem_huge_page(struct hstate *hstate) in pseries_alloc_bootmem_huge_page() argument
229 m->hstate = hstate; in pseries_alloc_bootmem_huge_page()
240 int __init alloc_bootmem_huge_page(struct hstate *h, int nid) in alloc_bootmem_huge_page()
550 struct hstate *hstate = hstate_file(file); in hugetlb_get_unmapped_area() local
551 int mmu_psize = shift_to_mmu_psize(huge_page_shift(hstate)); in hugetlb_get_unmapped_area()
A Dpgtable.c248 struct hstate *h = hstate_vma(vma); in huge_ptep_set_access_flags()
/linux/arch/powerpc/include/asm/book3s/64/
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()
/linux/arch/powerpc/mm/nohash/
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()
/linux/arch/x86/mm/
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()
/linux/arch/s390/mm/
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()
/linux/arch/sparc/mm/
A Dhugetlbpage.c32 struct hstate *h = hstate_file(filp); in hugetlb_get_unmapped_area_bottomup()
63 struct hstate *h = hstate_file(filp); in hugetlb_get_unmapped_area_topdown()
100 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
/linux/arch/arm64/include/asm/
A Dhugetlb.h17 extern bool arch_hugetlb_migration_supported(struct hstate *h);
/linux/arch/mips/include/asm/
A Dhugetlb.h20 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/linux/include/asm-generic/
A Dhugetlb.h94 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/linux/arch/powerpc/include/asm/
A Dkvm_book3s_asm.h143 struct kvmppc_host_state hstate;
/linux/Documentation/vm/
A 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/arch/parisc/mm/
A Dhugetlbpage.c28 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
/linux/drivers/dma-buf/
A Dudmabuf.c175 struct hstate *hpstate; in udmabuf_create()
/linux/arch/arm64/mm/
A Dhugetlbpage.c60 bool arch_hugetlb_migration_supported(struct hstate *h) in arch_hugetlb_migration_supported()

Completed in 58 milliseconds

12