Home
last modified time | relevance | path

Searched refs:compound_head (Results 1 – 25 of 40) sorted by relevance

12

/linux-5.19.10/include/linux/
Dpage-flags.h246 unsigned long head = READ_ONCE(page[1].compound_head); in page_fixed_fake_head()
272 unsigned long head = READ_ONCE(page->compound_head); in _compound_head()
279 #define compound_head(page) ((typeof(page))_compound_head(page)) macro
311 return READ_ONCE(page->compound_head) & 1 || page_is_fake_head(page); in PageTail()
317 READ_ONCE(page->compound_head) & 1; in PageCompound()
373 #define PF_HEAD(page, enforce) PF_POISONED_CHECK(compound_head(page))
379 PF_POISONED_CHECK(compound_head(page)); })
809 WRITE_ONCE(page->compound_head, (unsigned long)head + 1); in set_compound_head()
814 WRITE_ONCE(page->compound_head, 0); in clear_compound_head()
926 return PageHuge(page) && PageHWPoison(compound_head(page)); in PAGEFLAG()
Dmm_types.h132 unsigned long compound_head; /* Bit zero is set */ member
288 FOLIO_MATCH(compound_head, lru);
Dpagemap.h779 head = compound_head(page); in page_to_index()
Dmm.h848 return compound_head(page); in virt_to_head_page()
1181 page = compound_head(page); in try_get_page()
/linux-5.19.10/arch/arm64/mm/
Dflush.c60 page = compound_head(page); in __sync_icache_dcache()
90 page = compound_head(page); in flush_dcache_page()
/linux-5.19.10/mm/
Dmemory-failure.c360 tk->size_shift = page_shift(compound_head(p)); in add_to_kill()
1032 struct page *hpage = compound_head(p); in me_huge_page()
1193 struct page *head = compound_head(page); in __get_hwpoison_page()
1210 if (head == compound_head(page)) in __get_hwpoison_page()
1284 struct page *head = compound_head(page); in __get_unpoison_page()
1514 struct page *head = compound_head(page); in __get_huge_page_for_hwpoison()
1571 head = compound_head(p); in try_memory_failure_hugetlb()
1584 head = compound_head(p); in try_memory_failure_hugetlb()
1670 page = compound_head(page); in memory_failure_dev_pagemap()
1812 hpage = compound_head(p); in memory_failure()
[all …]
Dhwpoison-inject.c28 hpage = compound_head(p); in hwpoison_inject()
Dpage_isolation.c82 struct page *head = compound_head(page); in has_unmovable_pages()
390 struct page *head = compound_head(page); in isolate_single_pageblock()
Drmap.c1107 page = compound_head(page); in page_move_anon_rmap()
1329 SetPageDoubleMap(compound_head(page)); in page_add_file_rmap()
1456 deferred_split_huge_page(compound_head(page)); in page_remove_rmap()
Dhuge_memory.c503 struct mem_cgroup *memcg = page_memcg(compound_head(page)); in get_deferred_split_queue()
536 page = compound_head(page); in is_transparent_hugepage()
2727 struct mem_cgroup *memcg = page_memcg(compound_head(page)); in deferred_split_huge_page()
2792 page = compound_head(page); in deferred_split_scan()
Dslab.h69 SLAB_MATCH(compound_head, slab_list); /* Ensure bit 0 is clear */
Dutil.c826 page = compound_head(page); in __page_mapcount()
Dkhugepaged.c637 page = compound_head(page); in __collapse_huge_page_isolate()
1282 page = compound_head(page); in khugepaged_scan_pmd()
Dksm.c2156 && compound_head(page) == compound_head(tree_page); in cmp_and_merge_page()
Dmadvise.c1106 size = page_size(compound_head(page)); in madvise_inject_error()
/linux-5.19.10/Documentation/vm/
Dvmemmap_dedup.rst24 is the compound_head field, and this field is the same for all tail pages.
124 The value of page->compound_head is the same for all tail pages. The first
127 pages of page structs (page 1 to page 7) is to point to page->compound_head.
175 associated with each HugeTLB page. The compound_head() can handle this
176 correctly (more details refer to the comment above compound_head()).
/linux-5.19.10/fs/proc/
Dpage.c154 struct page *head = compound_head(page); in stable_page_flags()
187 if (PageTail(page) && PageSlab(compound_head(page))) in stable_page_flags()
/linux-5.19.10/arch/powerpc/mm/book3s64/
Diommu_api.c155 pageshift = page_shift(compound_head(page)); in mm_iommu_do_alloc()
/linux-5.19.10/kernel/
Dcrash_core.c445 VMCOREINFO_OFFSET(page, compound_head); in crash_save_vmcoreinfo_init()
/linux-5.19.10/drivers/infiniband/core/
Dumem_odp.c500 struct page *head_page = compound_head(page); in ib_umem_odp_unmap_dma_pages()
/linux-5.19.10/drivers/dax/
Ddevice.c94 page = compound_head(page); in dax_set_mapping()
/linux-5.19.10/kernel/futex/
Dcore.c294 page = compound_head(page); in get_futex_key()
/linux-5.19.10/net/core/
Ddatagram.c653 struct page *head = compound_head(pages[n]); in __zerocopy_sg_from_iter()
Dpage_pool.c880 page = compound_head(page); in page_pool_return_skb_page()
/linux-5.19.10/mm/kfence/
Dcore.c566 if (WARN_ON(compound_head(&pages[i]) != &pages[i])) in kfence_init_pool()

12