Searched refs:compound_head (Results 1 – 25 of 40) sorted by relevance
12
246 unsigned long head = READ_ONCE(page[1].compound_head); in page_fixed_fake_head()272 unsigned long head = READ_ONCE(page->compound_head); in _compound_head()279 #define compound_head(page) ((typeof(page))_compound_head(page)) macro311 return READ_ONCE(page->compound_head) & 1 || page_is_fake_head(page); in PageTail()317 READ_ONCE(page->compound_head) & 1; in PageCompound()373 #define PF_HEAD(page, enforce) PF_POISONED_CHECK(compound_head(page))379 PF_POISONED_CHECK(compound_head(page)); })809 WRITE_ONCE(page->compound_head, (unsigned long)head + 1); in set_compound_head()814 WRITE_ONCE(page->compound_head, 0); in clear_compound_head()926 return PageHuge(page) && PageHWPoison(compound_head(page)); in PAGEFLAG()
132 unsigned long compound_head; /* Bit zero is set */ member288 FOLIO_MATCH(compound_head, lru);
779 head = compound_head(page); in page_to_index()
848 return compound_head(page); in virt_to_head_page()1181 page = compound_head(page); in try_get_page()
60 page = compound_head(page); in __sync_icache_dcache()90 page = compound_head(page); in flush_dcache_page()
360 tk->size_shift = page_shift(compound_head(p)); in add_to_kill()1032 struct page *hpage = compound_head(p); in me_huge_page()1193 struct page *head = compound_head(page); in __get_hwpoison_page()1210 if (head == compound_head(page)) in __get_hwpoison_page()1284 struct page *head = compound_head(page); in __get_unpoison_page()1514 struct page *head = compound_head(page); in __get_huge_page_for_hwpoison()1571 head = compound_head(p); in try_memory_failure_hugetlb()1584 head = compound_head(p); in try_memory_failure_hugetlb()1670 page = compound_head(page); in memory_failure_dev_pagemap()1812 hpage = compound_head(p); in memory_failure()[all …]
28 hpage = compound_head(p); in hwpoison_inject()
82 struct page *head = compound_head(page); in has_unmovable_pages()390 struct page *head = compound_head(page); in isolate_single_pageblock()
1107 page = compound_head(page); in page_move_anon_rmap()1329 SetPageDoubleMap(compound_head(page)); in page_add_file_rmap()1456 deferred_split_huge_page(compound_head(page)); in page_remove_rmap()
503 struct mem_cgroup *memcg = page_memcg(compound_head(page)); in get_deferred_split_queue()536 page = compound_head(page); in is_transparent_hugepage()2727 struct mem_cgroup *memcg = page_memcg(compound_head(page)); in deferred_split_huge_page()2792 page = compound_head(page); in deferred_split_scan()
69 SLAB_MATCH(compound_head, slab_list); /* Ensure bit 0 is clear */
826 page = compound_head(page); in __page_mapcount()
637 page = compound_head(page); in __collapse_huge_page_isolate()1282 page = compound_head(page); in khugepaged_scan_pmd()
2156 && compound_head(page) == compound_head(tree_page); in cmp_and_merge_page()
1106 size = page_size(compound_head(page)); in madvise_inject_error()
24 is the compound_head field, and this field is the same for all tail pages.124 The value of page->compound_head is the same for all tail pages. The first127 pages of page structs (page 1 to page 7) is to point to page->compound_head.175 associated with each HugeTLB page. The compound_head() can handle this176 correctly (more details refer to the comment above compound_head()).
154 struct page *head = compound_head(page); in stable_page_flags()187 if (PageTail(page) && PageSlab(compound_head(page))) in stable_page_flags()
155 pageshift = page_shift(compound_head(page)); in mm_iommu_do_alloc()
445 VMCOREINFO_OFFSET(page, compound_head); in crash_save_vmcoreinfo_init()
500 struct page *head_page = compound_head(page); in ib_umem_odp_unmap_dma_pages()
94 page = compound_head(page); in dax_set_mapping()
294 page = compound_head(page); in get_futex_key()
653 struct page *head = compound_head(pages[n]); in __zerocopy_sg_from_iter()
880 page = compound_head(page); in page_pool_return_skb_page()
566 if (WARN_ON(compound_head(&pages[i]) != &pages[i])) in kfence_init_pool()