Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A Dpage-flags.h222 unsigned long head = READ_ONCE(page[1].compound_head); in page_fixed_fake_head()
280 unsigned long head = READ_ONCE(page->compound_head); in _compound_head()
287 #define compound_head(page) ((typeof(page))_compound_head(page)) macro
325 READ_ONCE(page->compound_head) & 1; in PageCompound()
347 VM_BUG_ON_PGFLAGS(page->compound_head & 1, page); in const_folio_flags()
356 VM_BUG_ON_PGFLAGS(page->compound_head & 1, page); in folio_flags()
388 #define PF_HEAD(page, enforce) PF_POISONED_CHECK(compound_head(page))
391 PF_POISONED_CHECK(compound_head(page)); })
893 WRITE_ONCE(page->compound_head, (unsigned long)head + 1); in set_compound_head()
898 WRITE_ONCE(page->compound_head, 0); in clear_compound_head()
[all …]
H A Dmm_types.h134 unsigned long compound_head; /* Bit zero is set */ member
491 FOLIO_MATCH(compound_head, lru);
510 FOLIO_MATCH(compound_head, _head_1);
518 FOLIO_MATCH(compound_head, _head_2);
524 FOLIO_MATCH(compound_head, _head_3);
590 TABLE_MATCH(compound_head, pt_list);
591 TABLE_MATCH(compound_head, _pt_pad_1);
H A Dmm.h1397 return compound_head(page); in virt_to_head_page()
1557 page = compound_head(page); in try_get_page()
H A Dskbuff.h2578 page = compound_head(page); in __skb_fill_netmem_desc()
/linux-6.15/Documentation/mm/
H A Dvmemmap_dedup.rst27 is the compound_head field, and this field is the same for all tail pages.
127 The value of page->compound_head is the same for all tail pages. The first
130 pages of ``struct page`` (page 1 to page 7) is to point to page->compound_head.
178 page) associated with each HugeTLB page. The ``compound_head()`` can handle
182 that ``compound_head()`` can return the real head ``struct page`` when the
/linux-6.15/mm/
H A Ddebug.c139 head = precise.compound_head; in __dump_page()
164 precise.compound_head &= ~1UL; in __dump_page()
H A Dpage_isolation.c407 struct page *head = compound_head(page); in isolate_single_pageblock()
H A Dslab.h103 SLAB_MATCH(compound_head, slab_cache); /* Ensure bit 0 is clear */
H A Dksm.c2315 && compound_head(page) == compound_head(tree_page); in cmp_and_merge_page()
H A Dmadvise.c1375 size = page_size(compound_head(page)); in madvise_inject_error()
H A Dcompaction.c300 page = compound_head(page); in pageblock_skip_persistent()
H A Dpage_alloc.c1039 if (unlikely(compound_head(page) != head_page)) { in free_tail_page_prepare()
/linux-6.15/include/net/
H A Dnetmem.h220 return page_to_netmem(compound_head(netmem_to_page(netmem))); in netmem_compound_head()
/linux-6.15/kernel/
H A Dvmcore_info.c178 VMCOREINFO_OFFSET(page, compound_head); in crash_save_vmcoreinfo_init()
/linux-6.15/net/core/
H A Ddatagram.c653 head = compound_head(pages[n]); in zerocopy_fill_skb_from_iter()
660 head = compound_head(pages[n]); in zerocopy_fill_skb_from_iter()
/linux-6.15/io_uring/
H A Drsrc.c629 if (compound_head(pages[i]) == hpage) in headpage_already_acct()
644 if (compound_head(imu->bvec[j].bv_page) == hpage) in headpage_already_acct()
665 hpage = compound_head(pages[i]); in io_buffer_account_pin()
697 new_array[0] = compound_head(page_array[0]); in io_coalesce_buffer()
/linux-6.15/arch/powerpc/mm/book3s64/
H A Diommu_api.c155 pageshift = page_shift(compound_head(page)); in mm_iommu_do_alloc()
/linux-6.15/drivers/infiniband/core/
H A Dumem_odp.c500 struct page *head_page = compound_head(page); in ib_umem_odp_unmap_dma_pages()
/linux-6.15/drivers/vfio/
H A Dvfio_iommu_spapr_tce.c195 return page_shift(compound_head(page)) >= it_page_shift; in tce_page_is_contained()
/linux-6.15/Documentation/admin-guide/kdump/
H A Dvmcoreinfo.rst144 (page, flags|_refcount|mapping|lru|_mapcount|private|compound_order|compound_head)
/linux-6.15/lib/
H A Diov_iter.c341 head = compound_head(page); in page_copy_sane()