| /Linux-v5.15/drivers/gpu/drm/atmel-hlcdc/ |
| D | atmel_hlcdc_plane.c | 600 struct atmel_hlcdc_plane_state *hstate = in atmel_hlcdc_plane_atomic_check() local 603 struct drm_framebuffer *fb = hstate->base.fb; in atmel_hlcdc_plane_atomic_check() 609 if (!hstate->base.crtc || WARN_ON(!fb)) in atmel_hlcdc_plane_atomic_check() 621 hstate->src_x = s->src.x1; in atmel_hlcdc_plane_atomic_check() 622 hstate->src_y = s->src.y1; in atmel_hlcdc_plane_atomic_check() 623 hstate->src_w = drm_rect_width(&s->src); in atmel_hlcdc_plane_atomic_check() 624 hstate->src_h = drm_rect_height(&s->src); in atmel_hlcdc_plane_atomic_check() 625 hstate->crtc_x = s->dst.x1; in atmel_hlcdc_plane_atomic_check() 626 hstate->crtc_y = s->dst.y1; in atmel_hlcdc_plane_atomic_check() 627 hstate->crtc_w = drm_rect_width(&s->dst); in atmel_hlcdc_plane_atomic_check() [all …]
|
| D | atmel_hlcdc_crtc.c | 295 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-v5.15/include/linux/ |
| D | hugetlb.h | 55 struct hstate *hstate; member 122 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, 445 struct hstate *hstate; member 482 static inline struct hstate *hstate_inode(struct inode *i) in hstate_inode() 484 return HUGETLBFS_SB(i->i_sb)->hstate; in hstate_inode() 497 static inline struct hstate *hstate_inode(struct inode *i) in hstate_inode() 594 struct hstate { struct 624 struct hstate *hstate; argument 630 struct page *alloc_huge_page_nodemask(struct hstate *h, int preferred_nid, 632 struct page *alloc_huge_page_vma(struct hstate *h, struct vm_area_struct *vma, [all …]
|
| /Linux-v5.15/mm/ |
| D | hugetlb_vmemmap.h | 14 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()
|
| D | hugetlb.c | 49 struct hstate hstates[HUGE_MAX_HSTATE]; 65 static struct hstate * __initdata parsed_hstate; 84 static int hugetlb_acct_memory(struct hstate *h, long delta); 108 hugetlb_acct_memory(spool->hstate, in unlock_or_release_subpool() 114 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, in hugepage_new_subpool() 126 spool->hstate = h; in hugepage_new_subpool() 279 struct hstate *h, in record_hugetlb_cgroup_uncharge_info() 362 long to, struct hstate *h, struct hugetlb_cgroup *cg, in hugetlb_resv_map_add() 388 struct hstate *h, long *regions_needed) in add_reservation_in_range() 518 long in_regions_needed, struct hstate *h, in region_add() [all …]
|
| D | hugetlb_vmemmap.c | 209 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()
|
| D | hugetlb_cgroup.c | 200 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()
|
| D | pagewalk.c | 286 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-v5.15/arch/powerpc/mm/book3s64/ |
| D | radix_hugetlbpage.c | 13 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-v5.15/fs/hugetlbfs/ |
| D | inode.c | 52 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() 324 struct hstate *h = hstate_file(file); in hugetlbfs_read_iter() 467 struct hstate *h = hstate_inode(inode); in remove_inode_hugepages() 576 struct hstate *h = hstate_inode(inode); in hugetlb_vmtruncate() 591 struct hstate *h = hstate_inode(inode); in hugetlbfs_punch_hole() 633 struct hstate *h = hstate_inode(inode); in hugetlbfs_fallocate() [all …]
|
| /Linux-v5.15/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.15/arch/powerpc/mm/ |
| D | hugetlbpage.c | 221 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() 235 int __init alloc_bootmem_huge_page(struct hstate *h) in alloc_bootmem_huge_page() 545 struct hstate *hstate = hstate_file(file); in hugetlb_get_unmapped_area() local 546 int mmu_psize = shift_to_mmu_psize(huge_page_shift(hstate)); in hugetlb_get_unmapped_area()
|
| D | pgtable.c | 248 struct hstate *h = hstate_vma(vma); in huge_ptep_set_access_flags()
|
| /Linux-v5.15/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.15/arch/x86/mm/ |
| D | hugetlbpage.c | 82 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-v5.15/arch/s390/mm/ |
| D | hugetlbpage.c | 271 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-v5.15/arch/arm64/include/asm/ |
| D | hugetlb.h | 17 extern bool arch_hugetlb_migration_supported(struct hstate *h);
|
| /Linux-v5.15/arch/mips/include/asm/ |
| D | hugetlb.h | 20 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
|
| /Linux-v5.15/arch/sparc/mm/ |
| D | hugetlbpage.c | 32 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-v5.15/arch/powerpc/include/asm/ |
| D | kvm_book3s_asm.h | 143 struct kvmppc_host_state hstate;
|
| /Linux-v5.15/include/asm-generic/ |
| D | hugetlb.h | 94 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
|
| /Linux-v5.15/arch/parisc/mm/ |
| D | hugetlbpage.c | 28 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
|
| /Linux-v5.15/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.15/drivers/dma-buf/ |
| D | udmabuf.c | 175 struct hstate *hpstate; in udmabuf_create()
|
| /Linux-v5.15/arch/arm64/mm/ |
| D | hugetlbpage.c | 60 bool arch_hugetlb_migration_supported(struct hstate *h) in arch_hugetlb_migration_supported()
|