Home
last modified time | relevance | path

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

12

/Linux-v6.6/include/linux/
Dmm_types.h142 unsigned long compound_head; /* Bit zero is set */ member
368 FOLIO_MATCH(compound_head, lru);
381 FOLIO_MATCH(compound_head, _head_1);
387 FOLIO_MATCH(compound_head, _head_2);
389 FOLIO_MATCH(compound_head, _head_2a);
447 TABLE_MATCH(compound_head, pt_list);
448 TABLE_MATCH(compound_head, _pt_pad_1);
Dpage-flags.h226 unsigned long head = READ_ONCE(page[1].compound_head); in page_fixed_fake_head()
247 unsigned long head = READ_ONCE(page->compound_head); in _compound_head()
254 #define compound_head(page) ((typeof(page))_compound_head(page)) macro
286 return READ_ONCE(page->compound_head) & 1 || page_is_fake_head(page); in PageTail()
292 READ_ONCE(page->compound_head) & 1; in PageCompound()
348 #define PF_HEAD(page, enforce) PF_POISONED_CHECK(compound_head(page))
354 PF_POISONED_CHECK(compound_head(page)); })
797 WRITE_ONCE(page->compound_head, (unsigned long)head + 1); in set_compound_head()
802 WRITE_ONCE(page->compound_head, 0); in clear_compound_head()
905 return PageHuge(page) && PageHWPoison(compound_head(page)); in TESTPAGEFLAG_FALSE()
Dpagemap.h880 head = compound_head(page); in page_to_index()
Dmm.h1267 return compound_head(page); in virt_to_head_page()
1452 page = compound_head(page); in try_get_page()
/Linux-v6.6/Documentation/mm/
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
189 unsigned long head = READ_ONCE(page[1].compound_head);
/Linux-v6.6/mm/
Dhwpoison-inject.c28 hpage = compound_head(p); in hwpoison_inject()
Dmemory-failure.c449 tk->size_shift = page_shift(compound_head(p)); in __add_to_kill()
1186 struct page *hpage = compound_head(p); in me_huge_page()
1728 page = compound_head(page); in mf_generic_kill_procs()
2259 hpage = compound_head(p); in memory_failure()
2645 struct page *hpage = compound_head(page); in soft_offline_in_use_page()
Dpage_isolation.c391 struct page *head = compound_head(page); in isolate_single_pageblock()
Dkhugepaged.c593 page = compound_head(page); in __collapse_huge_page_isolate()
1336 page = compound_head(page); in hpage_collapse_scan_pmd()
1935 struct page *head = compound_head(page); in collapse_file()
2251 struct page *head = compound_head(page); in hpage_collapse_scan_file()
Dslab.h107 SLAB_MATCH(compound_head, slab_cache); /* Ensure bit 0 is clear */
Dinternal.h1033 page = compound_head(page); in gup_must_unshare()
Dksm.c2234 && compound_head(page) == compound_head(tree_page); in cmp_and_merge_page()
Dmadvise.c1143 size = page_size(compound_head(page)); in madvise_inject_error()
Dmemory_hotplug.c1682 head = compound_head(page); in scan_movable_pages()
Dmigrate.c2104 head = compound_head(page); in add_page_for_migration()
/Linux-v6.6/net/core/
Ddatagram.c654 head = compound_head(pages[n]); in __zerocopy_sg_from_iter()
661 head = compound_head(pages[n]); in __zerocopy_sg_from_iter()
/Linux-v6.6/fs/proc/
Dpage.c155 struct page *head = compound_head(page); in stable_page_flags()
/Linux-v6.6/arch/powerpc/mm/book3s64/
Diommu_api.c155 pageshift = page_shift(compound_head(page)); in mm_iommu_do_alloc()
/Linux-v6.6/io_uring/
Drsrc.c985 if (compound_head(pages[i]) == hpage) in headpage_already_acct()
996 if (compound_head(imu->bvec[j].bv_page) == hpage) in headpage_already_acct()
1017 hpage = compound_head(pages[i]); in io_buffer_account_pin()
/Linux-v6.6/drivers/infiniband/core/
Dumem_odp.c498 struct page *head_page = compound_head(page); in ib_umem_odp_unmap_dma_pages()
/Linux-v6.6/drivers/dax/
Ddevice.c94 page = compound_head(page); in dax_set_mapping()
/Linux-v6.6/kernel/futex/
Dcore.c294 page = compound_head(page); in get_futex_key()
/Linux-v6.6/kernel/
Dcrash_core.c646 VMCOREINFO_OFFSET(page, compound_head); in crash_save_vmcoreinfo_init()
/Linux-v6.6/drivers/vfio/
Dvfio_iommu_spapr_tce.c195 return page_shift(compound_head(page)) >= it_page_shift; in tce_page_is_contained()
/Linux-v6.6/Documentation/admin-guide/kdump/
Dvmcoreinfo.rst144 (page, flags|_refcount|mapping|lru|_mapcount|private|compound_order|compound_head)

12