Home
last modified time | relevance | path

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

12

/linux/include/linux/
A Dpage-flags.h198 unsigned long head = READ_ONCE(page->compound_head); in _compound_head()
205 #define compound_head(page) ((typeof(page))_compound_head(page)) macro
237 return READ_ONCE(page->compound_head) & 1; in PageTail()
298 #define PF_HEAD(page, enforce) PF_POISONED_CHECK(compound_head(page))
304 PF_POISONED_CHECK(compound_head(page)); })
702 WRITE_ONCE(page->compound_head, (unsigned long)head + 1); in set_compound_head()
707 WRITE_ONCE(page->compound_head, 0); in clear_compound_head()
819 return PageHuge(page) && PageHWPoison(compound_head(page)); in PAGEFLAG()
A Dmm_types.h147 unsigned long compound_head; /* Bit zero is set */ member
291 FOLIO_MATCH(compound_head, lru);
A Dmm.h810 page = compound_head(page); in compound_mapcount()
863 return compound_head(page); in virt_to_head_page()
937 page = compound_head(page); in hpage_pincount_available()
949 page = compound_head(page); in compound_pincount()
1214 page = compound_head(page); in try_get_page()
1337 return ((unsigned int)page_ref_count(compound_head(page))) >= in page_maybe_dma_pinned()
A Dpagemap.h664 head = compound_head(page); in page_to_index()
/linux/mm/
A Dmemory-failure.c365 tk->size_shift = page_shift(compound_head(p)); in add_to_kill()
1029 struct page *hpage = compound_head(p); in me_huge_page()
1170 struct page *head = compound_head(page); in __get_hwpoison_page()
1187 if (head == compound_head(page)) in __get_hwpoison_page()
1455 struct page *head = compound_head(p); in memory_failure_hugetlb()
1679 orig_head = hpage = compound_head(p); in memory_failure()
1763 if (PageCompound(p) && compound_head(p) != orig_head) { in memory_failure()
1976 page = compound_head(p); in unpoison_memory()
2085 struct page *hpage = compound_head(page); in __soft_offline_page()
2155 struct page *hpage = compound_head(page); in soft_offline_in_use_page()
A Dhwpoison-inject.c28 hpage = compound_head(p); in hwpoison_inject()
A Dgup.c35 VM_BUG_ON_PAGE(page != compound_head(page), page); in hpage_pincount_add()
43 VM_BUG_ON_PAGE(page != compound_head(page), page); in hpage_pincount_sub()
71 struct page *head = compound_head(page); in try_get_compound_head()
87 if (unlikely(compound_head(page) != head)) { in try_get_compound_head()
228 put_compound_head(compound_head(page), 1, FOLL_PIN); in unpin_user_page()
243 page = compound_head(next); in compound_range_next()
268 page = compound_head(list[i]); in compound_next()
270 if (compound_head(list[nr]) != page) in compound_next()
1852 head = compound_head(pages[i]); in check_and_migrate_movable_pages()
2314 VM_BUG_ON_PAGE(compound_head(page) != head, page); in gup_pte_range()
A Dusercopy.c236 page = compound_head(kmap_to_page((void *)ptr)); in check_heap_object()
A Ddebug.c51 struct page *head = compound_head(page); in __dump_page()
A Dhuge_memory.c504 struct mem_cgroup *memcg = page_memcg(compound_head(page)); in get_deferred_split_queue()
537 page = compound_head(page); in is_transparent_hugepage()
2559 page = compound_head(page); in page_trans_huge_mapcount()
2615 struct page *head = compound_head(page); in split_huge_page_to_list()
2758 struct mem_cgroup *memcg = page_memcg(compound_head(page)); in deferred_split_huge_page()
2823 page = compound_head(page); in deferred_split_scan()
2981 if (!can_split_huge_page(compound_head(page), NULL)) in split_huge_pages_pid()
A Drmap.c722 } else if (vma->vm_file->f_mapping != compound_head(page)->mapping) { in page_address_in_vma()
1023 page = compound_head(page); in page_move_anon_rmap()
1234 struct page *head = compound_head(page); in page_add_file_rmap()
1375 deferred_split_huge_page(compound_head(page)); in page_remove_rmap()
A Dmigrate.c306 page = compound_head(page); in __migration_entry_wait()
1614 struct hstate *h = page_hstate(compound_head(page)); in alloc_migration_target()
1721 head = compound_head(page); in add_page_for_migration()
A Dutil.c742 page = compound_head(page); in __page_mapcount()
A Dswapfile.c1596 page = compound_head(page); in page_swapped()
1626 page = compound_head(page); in page_trans_huge_map_swapcount()
1692 page = compound_head(page); in reuse_swap_page()
1745 page = compound_head(page); in try_to_free_swap()
A Dmemory_hotplug.c1663 head = compound_head(page); in scan_movable_pages()
1696 head = compound_head(page); in do_migrate_range()
A Dkhugepaged.c644 page = compound_head(page); in __collapse_huge_page_isolate()
1304 page = compound_head(page); in khugepaged_scan_pmd()
A Dmadvise.c961 size = page_size(compound_head(page)); in madvise_inject_error()
/linux/fs/proc/
A Dpage.c153 struct page *head = compound_head(page); in stable_page_flags()
186 if (PageTail(page) && PageSlab(compound_head(page))) in stable_page_flags()
/linux/kernel/
A Dcrash_core.c449 VMCOREINFO_OFFSET(page, compound_head); in crash_save_vmcoreinfo_init()
/linux/arch/powerpc/mm/book3s64/
A Diommu_api.c155 pageshift = page_shift(compound_head(page)); in mm_iommu_do_alloc()
/linux/drivers/infiniband/core/
A Dumem_odp.c501 struct page *head_page = compound_head(page); in ib_umem_odp_unmap_dma_pages()
/linux/kernel/futex/
A Dcore.c299 page = compound_head(page); in get_futex_key()
/linux/net/core/
A Dpage_pool.c741 page = compound_head(page); in page_pool_return_skb_page()
A Ddatagram.c656 struct page *head = compound_head(pages[n]); in __zerocopy_sg_from_iter()
/linux/mm/kfence/
A Dcore.c560 if (WARN_ON(compound_head(&pages[i]) != &pages[i])) in kfence_init_pool()

Completed in 72 milliseconds

12