Home
last modified time | relevance | path

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

/linux-4.4.14/mm/
Dmemory-failure.c196 si.si_addr_lsb = compound_order(compound_head(page)) + PAGE_SHIFT; in kill_proc()
735 struct page *hpage = compound_head(p); in me_huge_page()
883 struct page *head = compound_head(page); in get_hwpoison_page()
925 struct page *head = compound_head(page); in put_hwpoison_page()
1089 orig_head = hpage = compound_head(p); in memory_failure()
1163 hpage = compound_head(p); in memory_failure()
1198 if (PageCompound(p) && compound_head(p) != orig_head) { in memory_failure()
1431 page = compound_head(p); in unpoison_memory()
1518 return alloc_huge_page_node(page_hstate(compound_head(p)), in new_page()
1590 struct page *hpage = compound_head(page); in soft_offline_huge_page()
[all …]
Dinternal.h83 VM_BUG_ON_PAGE(atomic_read(&compound_head(page)->_count) <= 0, page); in __get_page_tail_foll()
85 atomic_inc(&compound_head(page)->_count); in __get_page_tail_foll()
Dhwpoison-inject.c27 hpage = compound_head(p); in hwpoison_inject()
Dutil.c341 page = compound_head(page); in page_rmapping()
349 page = compound_head(page); in page_anon_vma()
Dswap.c204 VM_BUG_ON_PAGE(page_head != compound_head(page), page); in put_refcounted_compound_page()
265 page_head = compound_head(page); in put_compound_page()
297 struct page *page_head = compound_head(page); in __get_page_tail()
Dpage_isolation.c289 return alloc_huge_page_node(page_hstate(compound_head(page)), in alloc_migrate_target()
Dgup.c1133 VM_BUG_ON_PAGE(compound_head(page) != head, page); in gup_huge_pmd()
1180 VM_BUG_ON_PAGE(compound_head(page) != head, page); in gup_huge_pud()
1223 VM_BUG_ON_PAGE(compound_head(page) != head, page); in gup_huge_pgd()
Dmadvise.c345 compound_order(compound_head(p))) { in madvise_hwpoison()
Dmigrate.c1220 return alloc_huge_page_node(page_hstate(compound_head(p)), in new_page_node()
Dmemory_hotplug.c1450 struct page *head = compound_head(page); in do_migrate_range()
Dksm.c447 struct page *head = compound_head(page); in page_trans_compound_anon()
Dhugetlb.c1302 page = compound_head(page); in PageHuge()
1321 struct page *page_head = compound_head(page); in __basepage_index()
Dmempolicy.c942 return alloc_huge_page_node(page_hstate(compound_head(page)), in new_node_page()
Dpage_alloc.c890 if (unlikely(compound_head(page) != head_page)) { in free_tail_pages_check()
/linux-4.4.14/include/linux/
Dpage-flags.h400 return READ_ONCE(page->compound_head) & 1; in __PAGEFLAG()
405 WRITE_ONCE(page->compound_head, (unsigned long)head + 1); in set_compound_head()
410 WRITE_ONCE(page->compound_head, 0); in clear_compound_head()
413 static inline struct page *compound_head(struct page *page) in compound_head() function
415 unsigned long head = READ_ONCE(page->compound_head); in compound_head()
Dmm_types.h143 unsigned long compound_head; /* If bit zero is set */ member
Dpagemap.h203 VM_BUG_ON_PAGE(PageCompound(page) && page != compound_head(page), page); in page_cache_add_speculative()
Dmm.h451 return atomic_read(&compound_head(page)->_count); in page_count()
481 if (compound_tail_refcounted(compound_head(page))) in get_huge_page_tail()
504 return compound_head(page); in virt_to_head_page()
Dskbuff.h1729 page = compound_head(page); in __skb_fill_page_desc()
/linux-4.4.14/arch/mips/mm/
Dgup.c65 VM_BUG_ON(page != compound_head(page)); in get_head_page_multiple()
88 VM_BUG_ON(compound_head(page) != head); in gup_huge_pmd()
154 VM_BUG_ON(compound_head(page) != head); in gup_huge_pud()
/linux-4.4.14/arch/x86/mm/
Dgup.c111 VM_BUG_ON_PAGE(page != compound_head(page), page); in get_head_page_multiple()
137 VM_BUG_ON_PAGE(compound_head(page) != head, page); in gup_huge_pmd()
213 VM_BUG_ON_PAGE(compound_head(page) != head, page); in gup_huge_pud()
/linux-4.4.14/arch/sparc/mm/
Dgup.c52 head = compound_head(page); in gup_pte_range()
87 VM_BUG_ON(compound_head(page) != head); in gup_huge_pmd()
/linux-4.4.14/arch/s390/mm/
Dgup.c72 VM_BUG_ON(compound_head(page) != head); in gup_huge_pmd()
/linux-4.4.14/fs/proc/
Dpage.c132 struct page *head = compound_head(page); in stable_page_flags()
/linux-4.4.14/drivers/infiniband/core/
Dumem_odp.c648 struct page *head_page = compound_head(page); in ib_umem_odp_unmap_dma_pages()
/linux-4.4.14/arch/powerpc/mm/
Dhugetlbpage.c1099 VM_BUG_ON(compound_head(page) != head); in gup_hugepte()
/linux-4.4.14/drivers/vfio/
Dvfio_iommu_type1.c196 struct page *head = compound_head(tail); in is_invalid_reserved_pfn()
Dvfio_iommu_spapr_tce.c183 return (PAGE_SHIFT + compound_order(compound_head(page))) >= page_shift; in tce_page_is_contained()
/linux-4.4.14/kernel/
Dfutex.c529 page_head = compound_head(page); in get_futex_key()
551 page_head = compound_head(page); in get_futex_key()
/linux-4.4.14/drivers/block/aoe/
Daoecmd.c877 page = compound_head(bv.bv_page); in bio_pageinc()
890 page = compound_head(bv.bv_page); in bio_pagedec()
/linux-4.4.14/fs/hugetlbfs/
Dinode.c833 struct page *head = compound_head(page); in hugetlbfs_set_page_dirty()
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_64_mmu_hv.c534 page = compound_head(page); in kvmppc_book3s_hv_page_fault()