Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/include/linux/
A Dpage-flags.h230 unsigned long head = READ_ONCE(page[1].compound_head); in page_fixed_fake_head()
251 unsigned long head = READ_ONCE(page->compound_head); in _compound_head()
258 #define compound_head(page) ((typeof(page))_compound_head(page)) macro
290 return READ_ONCE(page->compound_head) & 1 || page_is_fake_head(page); in PageTail()
296 READ_ONCE(page->compound_head) & 1; in PageCompound()
352 #define PF_HEAD(page, enforce) PF_POISONED_CHECK(compound_head(page))
358 PF_POISONED_CHECK(compound_head(page)); })
807 WRITE_ONCE(page->compound_head, (unsigned long)head + 1); in set_compound_head()
812 WRITE_ONCE(page->compound_head, 0); in clear_compound_head()
906 return PageHuge(page) && PageHWPoison(compound_head(page)); in PAGEFLAG()
A Dmm_types.h142 unsigned long compound_head; /* Bit zero is set */ member
374 FOLIO_MATCH(compound_head, lru);
387 FOLIO_MATCH(compound_head, _head_1);
393 FOLIO_MATCH(compound_head, _head_2);
A Dpagemap.h789 head = compound_head(page); in page_to_index()
A Dmm.h1052 return compound_head(page); in virt_to_head_page()
1286 page = compound_head(page); in try_get_page()
/linux-6.3-rc2/arch/arm64/mm/
A Dflush.c60 page = compound_head(page); in __sync_icache_dcache()
83 page = compound_head(page); in flush_dcache_page()
/linux-6.3-rc2/Documentation/mm/
A 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.3-rc2/arch/riscv/include/asm/
A Dcacheflush.h25 page = compound_head(page); in flush_dcache_page()
/linux-6.3-rc2/mm/
A Dhwpoison-inject.c28 hpage = compound_head(p); in hwpoison_inject()
A Dpage_isolation.c82 struct page *head = compound_head(page); in has_unmovable_pages()
391 struct page *head = compound_head(page); in isolate_single_pageblock()
A Dmemory-failure.c426 tk->size_shift = page_shift(compound_head(p)); in add_to_kill()
1130 struct page *hpage = compound_head(p); in me_huge_page()
1668 page = compound_head(page); in mf_generic_kill_procs()
2130 hpage = compound_head(p); in memory_failure()
2549 struct page *hpage = compound_head(page); in soft_offline_in_use_page()
A Dslab.h76 SLAB_MATCH(compound_head, slab_cache); /* Ensure bit 0 is clear */
78 SLAB_MATCH(compound_head, slab_list); /* Ensure bit 0 is clear */
A Dkhugepaged.c595 page = compound_head(page); in __collapse_huge_page_isolate()
1230 page = compound_head(page); in hpage_collapse_scan_pmd()
1925 struct page *head = compound_head(page); in collapse_file()
2178 struct page *head = compound_head(page); in hpage_collapse_scan_file()
A Dksm.c2171 && compound_head(page) == compound_head(tree_page); in cmp_and_merge_page()
A Dmadvise.c1133 size = page_size(compound_head(page)); in madvise_inject_error()
/linux-6.3-rc2/arch/riscv/mm/
A Dcacheflush.c91 page = compound_head(page); in flush_icache_pte()
/linux-6.3-rc2/fs/proc/
A 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.3-rc2/arch/powerpc/mm/book3s64/
A Diommu_api.c155 pageshift = page_shift(compound_head(page)); in mm_iommu_do_alloc()
/linux-6.3-rc2/kernel/
A Dcrash_core.c460 VMCOREINFO_OFFSET(page, compound_head); in crash_save_vmcoreinfo_init()
/linux-6.3-rc2/io_uring/
A Drsrc.c1089 if (compound_head(pages[i]) == hpage) in headpage_already_acct()
1100 if (compound_head(imu->bvec[j].bv_page) == hpage) in headpage_already_acct()
1121 hpage = compound_head(pages[i]); in io_buffer_account_pin()
/linux-6.3-rc2/drivers/infiniband/core/
A Dumem_odp.c498 struct page *head_page = compound_head(page); in ib_umem_odp_unmap_dma_pages()
/linux-6.3-rc2/drivers/dax/
A Ddevice.c94 page = compound_head(page); in dax_set_mapping()
/linux-6.3-rc2/kernel/futex/
A Dcore.c294 page = compound_head(page); in get_futex_key()
/linux-6.3-rc2/net/core/
A Ddatagram.c655 struct page *head = compound_head(pages[n]); in __zerocopy_sg_from_iter()
A Dpage_pool.c881 page = compound_head(page); in page_pool_return_skb_page()
/linux-6.3-rc2/mm/kfence/
A Dcore.c565 if (WARN_ON(compound_head(&pages[i]) != &pages[i])) in kfence_init_pool()

Completed in 98 milliseconds

12