Searched refs:compound_head (Results 1 – 25 of 40) sorted by relevance
12
/linux/include/linux/ |
A D | page-flags.h | 198 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 D | mm_types.h | 147 unsigned long compound_head; /* Bit zero is set */ member 291 FOLIO_MATCH(compound_head, lru);
|
A D | mm.h | 810 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 D | pagemap.h | 664 head = compound_head(page); in page_to_index()
|
/linux/mm/ |
A D | memory-failure.c | 365 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 D | hwpoison-inject.c | 28 hpage = compound_head(p); in hwpoison_inject()
|
A D | gup.c | 35 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 D | usercopy.c | 236 page = compound_head(kmap_to_page((void *)ptr)); in check_heap_object()
|
A D | debug.c | 51 struct page *head = compound_head(page); in __dump_page()
|
A D | huge_memory.c | 504 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 D | rmap.c | 722 } 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 D | migrate.c | 306 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 D | util.c | 742 page = compound_head(page); in __page_mapcount()
|
A D | swapfile.c | 1596 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 D | memory_hotplug.c | 1663 head = compound_head(page); in scan_movable_pages() 1696 head = compound_head(page); in do_migrate_range()
|
A D | khugepaged.c | 644 page = compound_head(page); in __collapse_huge_page_isolate() 1304 page = compound_head(page); in khugepaged_scan_pmd()
|
A D | madvise.c | 961 size = page_size(compound_head(page)); in madvise_inject_error()
|
/linux/fs/proc/ |
A D | page.c | 153 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 D | crash_core.c | 449 VMCOREINFO_OFFSET(page, compound_head); in crash_save_vmcoreinfo_init()
|
/linux/arch/powerpc/mm/book3s64/ |
A D | iommu_api.c | 155 pageshift = page_shift(compound_head(page)); in mm_iommu_do_alloc()
|
/linux/drivers/infiniband/core/ |
A D | umem_odp.c | 501 struct page *head_page = compound_head(page); in ib_umem_odp_unmap_dma_pages()
|
/linux/kernel/futex/ |
A D | core.c | 299 page = compound_head(page); in get_futex_key()
|
/linux/net/core/ |
A D | page_pool.c | 741 page = compound_head(page); in page_pool_return_skb_page()
|
A D | datagram.c | 656 struct page *head = compound_head(pages[n]); in __zerocopy_sg_from_iter()
|
/linux/mm/kfence/ |
A D | core.c | 560 if (WARN_ON(compound_head(&pages[i]) != &pages[i])) in kfence_init_pool()
|
Completed in 83 milliseconds
12