/linux-6.1.9/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_plane.c | 601 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->crtc_w = drm_rect_width(&s->dst); in atmel_hlcdc_plane_atomic_check() [all …]
|
D | atmel_hlcdc_crtc.c | 296 struct atmel_hlcdc_crtc_state *hstate; in atmel_hlcdc_crtc_select_output_mode() local 321 hstate = drm_crtc_state_to_atmel_hlcdc_crtc_state(state); in atmel_hlcdc_crtc_select_output_mode() 322 hstate->output_mode = fls(output_fmts) - 1; in atmel_hlcdc_crtc_select_output_mode()
|
/linux-6.1.9/include/linux/ |
D | hugetlb.h | 59 struct hstate *hstate; member 132 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, 207 unsigned long hugetlb_mask_last_page(struct hstate *h); 513 struct hstate *hstate; member 549 static inline struct hstate *hstate_inode(struct inode *i) in hstate_inode() 551 return HUGETLBFS_SB(i->i_sb)->hstate; in hstate_inode() 563 static inline struct hstate *hstate_inode(struct inode *i) in hstate_inode() 669 struct hstate { struct 698 struct hstate *hstate; argument 704 struct page *alloc_huge_page_nodemask(struct hstate *h, int preferred_nid, [all …]
|
/linux-6.1.9/mm/ |
D | hugetlb_vmemmap.h | 14 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()
|
D | hugetlb.c | 52 struct hstate hstates[HUGE_MAX_HSTATE]; 73 static struct hstate * __initdata parsed_hstate; 93 static int hugetlb_acct_memory(struct hstate *h, long delta); 122 hugetlb_acct_memory(spool->hstate, in unlock_or_release_subpool() 128 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, in hugepage_new_subpool() 140 spool->hstate = h; in hugepage_new_subpool() 439 struct hstate *h, in record_hugetlb_cgroup_uncharge_info() 521 long to, struct hstate *h, struct hugetlb_cgroup *cg, in hugetlb_resv_map_add() 547 struct hstate *h, long *regions_needed) in add_reservation_in_range() 679 long in_regions_needed, struct hstate *h, in region_add() [all …]
|
D | page_vma_mapped.c | 166 struct hstate *hstate = hstate_vma(vma); in page_vma_mapped_walk() local 167 unsigned long size = huge_page_size(hstate); in page_vma_mapped_walk() 177 pvmw->ptl = huge_pte_lock(hstate, mm, pvmw->pte); in page_vma_mapped_walk()
|
D | hugetlb_vmemmap.c | 434 int hugetlb_vmemmap_restore(const struct hstate *h, struct page *head) in hugetlb_vmemmap_restore() 465 static bool vmemmap_should_optimize(const struct hstate *h, const struct page *head) in vmemmap_should_optimize() 530 void hugetlb_vmemmap_optimize(const struct hstate *h, struct page *head) in hugetlb_vmemmap_optimize() 572 const struct hstate *h; in hugetlb_vmemmap_init()
|
D | hugetlb_cgroup.c | 78 struct hstate *h; in hugetlb_cgroup_have_usage() 226 struct hstate *h; in hugetlb_cgroup_css_offline() 717 struct hstate *h = &hstates[idx]; in __hugetlb_cgroup_file_dfl_init() 788 struct hstate *h = &hstates[idx]; in __hugetlb_cgroup_file_legacy_init() 869 struct hstate *h; in hugetlb_cgroup_file_init() 890 struct hstate *h = page_hstate(oldhpage); in hugetlb_cgroup_migrate()
|
/linux-6.1.9/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()
|
D | slice.c | 794 struct hstate *hstate = hstate_file(file); in file_to_psize() local 795 return shift_to_mmu_psize(huge_page_shift(hstate)); in file_to_psize()
|
/linux-6.1.9/Documentation/translations/zh_CN/mm/ |
D | hugetlbfs_reserv.rst | 38 这是一个全局的(per-hstate)预留的巨页的计数。预留的巨页只对预留它们的任 239 有一个结构体hstate与每个巨页尺寸相关联。hstate跟踪所有指定大小的巨页。一个子池代表一 240 个hstate中的页面子集,它与一个已挂载的hugetlbfs文件系统相关 343 long vma_needs_reservation(struct hstate *h, 349 long vma_commit_reservation(struct hstate *h, 358 void vma_end_reservation(struct hstate *h, 365 long vma_add_reservation(struct hstate *h, 408 当git第一次被用来管理Linux代码时,每个节点的巨页列表就存在于hstate结构中。预留的概念是
|
/linux-6.1.9/fs/hugetlbfs/ |
D | inode.c | 50 struct hstate *hstate; member 125 struct hstate *h = hstate_file(file); in hugetlbfs_file_mmap() 190 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_bottomup() 206 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_topdown() 241 struct hstate *h = hstate_file(file); in generic_hugetlb_get_unmapped_area() 292 struct hstate *h = hstate_file(file); in hugetlbfs_read_iter() 438 static void hugetlb_unmap_file_folio(struct hstate *h, in hugetlb_unmap_file_folio() 559 static bool remove_inode_single_folio(struct hstate *h, struct inode *inode, in remove_inode_single_folio() 619 struct hstate *h = hstate_inode(inode); in remove_inode_hugepages() 679 struct hstate *h = hstate_inode(inode); in hugetlb_vmtruncate() [all …]
|
/linux-6.1.9/arch/powerpc/include/asm/book3s/64/ |
D | hugetlb.h | 19 static inline int hstate_get_psize(struct hstate *hstate) in hstate_get_psize() argument 23 shift = huge_page_shift(hstate); in hstate_get_psize()
|
/linux-6.1.9/arch/x86/mm/ |
D | hugetlbpage.c | 53 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()
|
/linux-6.1.9/arch/powerpc/mm/nohash/ |
D | e500_hugetlbpage.c | 186 struct hstate *hstate = hstate_file(vma->vm_file); in flush_hugetlb_page() local 187 unsigned long tsize = huge_page_shift(hstate) - 10; in flush_hugetlb_page()
|
/linux-6.1.9/arch/powerpc/mm/ |
D | hugetlbpage.c | 222 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()
|
/linux-6.1.9/arch/s390/mm/ |
D | hugetlbpage.c | 254 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_bottomup() 270 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_topdown() 302 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
|
/linux-6.1.9/arch/arm64/include/asm/ |
D | hugetlb.h | 17 extern bool arch_hugetlb_migration_supported(struct hstate *h);
|
/linux-6.1.9/arch/mips/include/asm/ |
D | hugetlb.h | 20 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
|
/linux-6.1.9/arch/loongarch/include/asm/ |
D | hugetlb.h | 19 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
|
/linux-6.1.9/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-6.1.9/arch/powerpc/include/asm/ |
D | kvm_book3s_asm.h | 140 struct kvmppc_host_state hstate; member
|
/linux-6.1.9/arch/s390/include/asm/ |
D | hugetlb.h | 31 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
|
/linux-6.1.9/include/asm-generic/ |
D | hugetlb.h | 118 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
|
/linux-6.1.9/arch/parisc/mm/ |
D | hugetlbpage.c | 28 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
|