Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dpage-flags.h226 unsigned long head = READ_ONCE(page[1].compound_head); in page_fixed_fake_head()
284 unsigned long head = READ_ONCE(page->compound_head); in _compound_head()
291 #define compound_head(page) ((typeof(page))_compound_head(page)) macro
323 return READ_ONCE(page->compound_head) & 1 || page_is_fake_head(page); in PageTail()
329 READ_ONCE(page->compound_head) & 1; in PageCompound()
351 VM_BUG_ON_PGFLAGS(page->compound_head & 1, page); in const_folio_flags()
360 VM_BUG_ON_PGFLAGS(page->compound_head & 1, page); in folio_flags()
392 #define PF_HEAD(page, enforce) PF_POISONED_CHECK(compound_head(page))
395 PF_POISONED_CHECK(compound_head(page)); })
870 WRITE_ONCE(page->compound_head, (unsigned long)head + 1); in set_compound_head()
[all …]
H A Dmm_types.h128 unsigned long compound_head; /* Bit zero is set */ member
487 FOLIO_MATCH(compound_head, lru);
506 FOLIO_MATCH(compound_head, _head_1);
514 FOLIO_MATCH(compound_head, _head_2);
520 FOLIO_MATCH(compound_head, _head_3);
586 TABLE_MATCH(compound_head, pt_list);
587 TABLE_MATCH(compound_head, _pt_pad_1);
H A Dmm.h1240 return compound_head(page); in virt_to_head_page()
1402 page = compound_head(page); in try_get_page()
H A Dskbuff.h2626 page = compound_head(page); in __skb_fill_netmem_desc()
/linux/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/kernel/
H A Dvmcore_info.c178 VMCOREINFO_OFFSET(page, compound_head); in crash_save_vmcoreinfo_init()
/linux/tools/mm/
H A Dshow_page_info.py11 PageSlab, PageCompound, PageHead, PageTail, compound_head, compound_order, compound_nr
/linux/include/net/
H A Dnetmem.h349 return page_to_netmem(compound_head(netmem_to_page(netmem))); in netmem_compound_head()
/linux/io_uring/
H A Drsrc.c638 if (compound_head(pages[i]) == hpage) in headpage_already_acct()
653 if (compound_head(imu->bvec[j].bv_page) == hpage) in headpage_already_acct()
674 hpage = compound_head(pages[i]); in io_buffer_account_pin()
707 struct page *p = compound_head(page_array[j]); in io_coalesce_buffer()
/linux/net/core/
H A Ddatagram.c664 head = compound_head(pages[n]); in zerocopy_fill_skb_from_iter()
671 head = compound_head(pages[n]); in zerocopy_fill_skb_from_iter()
/linux/arch/powerpc/mm/book3s64/
H A Diommu_api.c155 pageshift = page_shift(compound_head(page)); in mm_iommu_do_alloc()
/linux/mm/
H A Dpage_isolation.c406 struct page *head = compound_head(page); in isolate_single_pageblock()
H A Dslab.h107 SLAB_MATCH(compound_head, slab_cache); /* Ensure bit 0 is clear */
H A Dutil.c1247 head = ps->page_snapshot.compound_head; in snapshot_page()
H A Dksm.c2315 && compound_head(page) == compound_head(tree_page); in cmp_and_merge_page()
H A Dmadvise.c1466 size = page_size(compound_head(page)); in madvise_inject_error()
H A Dcompaction.c267 page = compound_head(page); in pageblock_skip_persistent()
H A Dpage_alloc.c1172 if (unlikely(compound_head(page) != head_page)) { in free_tail_page_prepare()
/linux/drivers/infiniband/core/
H A Dumem_odp.c452 struct page *head_page = compound_head(page); in ib_umem_odp_unmap_dma_pages()
/linux/drivers/vfio/
H A Dvfio_iommu_spapr_tce.c195 return page_shift(compound_head(page)) >= it_page_shift; in tce_page_is_contained()
/linux/Documentation/admin-guide/kdump/
H A Dvmcoreinfo.rst144 (page, flags|_refcount|mapping|lru|_mapcount|private|compound_order|compound_head)
/linux/lib/
H A Diov_iter.c341 head = compound_head(page); in page_copy_sane()