Home
last modified time | relevance | path

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

12

/linux-6.1.9/include/linux/
Dpage-flags.h232 unsigned long head = READ_ONCE(page[1].compound_head); in page_fixed_fake_head()
253 unsigned long head = READ_ONCE(page->compound_head); in _compound_head()
260 #define compound_head(page) ((typeof(page))_compound_head(page)) macro
292 return READ_ONCE(page->compound_head) & 1 || page_is_fake_head(page); in PageTail()
298 READ_ONCE(page->compound_head) & 1; in PageCompound()
354 #define PF_HEAD(page, enforce) PF_POISONED_CHECK(compound_head(page))
360 PF_POISONED_CHECK(compound_head(page)); })
808 WRITE_ONCE(page->compound_head, (unsigned long)head + 1); in set_compound_head()
813 WRITE_ONCE(page->compound_head, 0); in clear_compound_head()
925 return PageHuge(page) && PageHWPoison(compound_head(page)); in PAGEFLAG()
Dmm_types.h138 unsigned long compound_head; /* Bit zero is set */ member
321 FOLIO_MATCH(compound_head, lru);
334 FOLIO_MATCH(compound_head, __head);
Dpagemap.h776 head = compound_head(page); in page_to_index()
/linux-6.1.9/arch/arm64/mm/
Dflush.c60 page = compound_head(page); in __sync_icache_dcache()
83 page = compound_head(page); in flush_dcache_page()
/linux-6.1.9/Documentation/mm/
Dvmemmap_dedup.rst26 is the compound_head field, and this field is the same for all tail pages.
126 The value of page->compound_head is the same for all tail pages. The first
129 pages of ``struct page`` (page 1 to page 7) is to point to page->compound_head.
177 page) associated with each HugeTLB page. The ``compound_head()`` can handle
181 that ``compound_head()`` can return the real head ``struct page`` when the
188 unsigned long head = READ_ONCE(page[1].compound_head);
/linux-6.1.9/mm/
Dmemory-failure.c378 tk->size_shift = page_shift(compound_head(p)); in add_to_kill()
1081 struct page *hpage = compound_head(p); in me_huge_page()
1246 struct page *head = compound_head(page); in __get_hwpoison_page()
1263 if (head == compound_head(page)) in __get_hwpoison_page()
1336 struct page *head = compound_head(page); in __get_unpoison_page()
1583 page = compound_head(page); in mf_generic_kill_procs()
1794 struct page *head = compound_head(page); in __get_huge_page_for_hwpoison()
1850 head = compound_head(p); in try_memory_failure_hugetlb()
1863 head = compound_head(p); in try_memory_failure_hugetlb()
2029 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()
391 struct page *head = compound_head(page); in isolate_single_pageblock()
Dkhugepaged.c584 page = compound_head(page); in __collapse_huge_page_isolate()
1211 page = compound_head(page); in hpage_collapse_scan_pmd()
1902 struct page *head = compound_head(page); in collapse_file()
2149 struct page *head = compound_head(page); in hpage_collapse_scan_file()
Dhuge_memory.c564 struct mem_cgroup *memcg = page_memcg(compound_head(page)); in get_deferred_split_queue()
597 page = compound_head(page); in is_transparent_hugepage()
2802 struct mem_cgroup *memcg = page_memcg(compound_head(page)); in deferred_split_huge_page()
2867 page = compound_head(page); in deferred_split_scan()
Dslab.h69 SLAB_MATCH(compound_head, slab_list); /* Ensure bit 0 is clear */
Dutil.c798 page = compound_head(page); in __page_mapcount()
Drmap.c1323 SetPageDoubleMap(compound_head(page)); in page_add_file_rmap()
1450 deferred_split_huge_page(compound_head(page)); in page_remove_rmap()
Dksm.c2145 && compound_head(page) == compound_head(tree_page); in cmp_and_merge_page()
Dmadvise.c1123 size = page_size(compound_head(page)); in madvise_inject_error()
/linux-6.1.9/fs/proc/
Dpage.c155 struct page *head = compound_head(page); in stable_page_flags()
188 if (PageTail(page) && PageSlab(compound_head(page))) in stable_page_flags()
/linux-6.1.9/arch/powerpc/mm/book3s64/
Diommu_api.c155 pageshift = page_shift(compound_head(page)); in mm_iommu_do_alloc()
/linux-6.1.9/io_uring/
Drsrc.c1074 if (compound_head(pages[i]) == hpage) in headpage_already_acct()
1085 if (compound_head(imu->bvec[j].bv_page) == hpage) in headpage_already_acct()
1106 hpage = compound_head(pages[i]); in io_buffer_account_pin()
/linux-6.1.9/kernel/
Dcrash_core.c457 VMCOREINFO_OFFSET(page, compound_head); in crash_save_vmcoreinfo_init()
/linux-6.1.9/drivers/infiniband/core/
Dumem_odp.c498 struct page *head_page = compound_head(page); in ib_umem_odp_unmap_dma_pages()
/linux-6.1.9/drivers/dax/
Ddevice.c94 page = compound_head(page); in dax_set_mapping()
/linux-6.1.9/kernel/futex/
Dcore.c294 page = compound_head(page); in get_futex_key()
/linux-6.1.9/net/core/
Ddatagram.c655 struct page *head = compound_head(pages[n]); in __zerocopy_sg_from_iter()
Dpage_pool.c881 page = compound_head(page); in page_pool_return_skb_page()
/linux-6.1.9/mm/kfence/
Dcore.c566 if (WARN_ON(compound_head(&pages[i]) != &pages[i])) in kfence_init_pool()

12