Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/include/linux/
H A Dpage-flags.h186 static inline struct page *compound_head(struct page *page) in compound_head() function
188 unsigned long head = READ_ONCE(page->compound_head); in compound_head()
197 return READ_ONCE(page->compound_head) & 1; in PageTail()
249 #define PF_HEAD(page, enforce) PF_POISONED_CHECK(compound_head(page))
255 PF_POISONED_CHECK(compound_head(page)); })
403 page = compound_head(page); in PAGEFLAG()
493 page = compound_head(page); in PageAnon()
512 page = compound_head(page); in PageKsm()
525 page = compound_head(page); in PageUptodate()
584 WRITE_ONCE(page->compound_head, (unsigned long)head + 1); in __PAGEFLAG()
[all …]
H A Dpagemap.h516 pgoff = compound_head(page)->index; in page_to_index()
517 pgoff += page - compound_head(page); in page_to_index()
598 page = compound_head(page); in trylock_page()
672 wait_on_page_bit(compound_head(page), PG_locked); in wait_on_page_locked()
679 return wait_on_page_bit_killable(compound_head(page), PG_locked); in wait_on_page_locked_killable()
H A Dswapops.h175 BUG_ON(!PageLocked(compound_head(page))); in make_migration_entry()
204 BUG_ON(!PageLocked(compound_head(p))); in migration_entry_to_page()
H A Dmm.h866 page = compound_head(page); in compound_mapcount()
919 return compound_head(page); in virt_to_head_page()
976 page = compound_head(page); in hpage_pincount_available()
988 page = compound_head(page); in compound_pincount()
1219 page = compound_head(page); in get_page()
1232 page = compound_head(page); in try_get_page()
1241 page = compound_head(page); in put_page()
1336 return ((unsigned int)page_ref_count(compound_head(page))) >= in page_maybe_dma_pinned()
H A Dpage_ref.h72 return atomic_read(&compound_head(page)->_refcount); in page_count()
H A Dmm_types.h134 unsigned long compound_head; /* Bit zero is set */ member
H A Dhuge_mm.h262 return compound_head(page); in thp_head()
/OK3568_Linux_fs/kernel/mm/
H A Dmemory-failure.c351 tk->size_shift = page_shift(compound_head(p)); in add_to_kill()
813 struct page *hpage = compound_head(p); in me_huge_page()
957 struct page *head = compound_head(page); in get_hwpoison_page()
974 if (head == compound_head(page)) in get_hwpoison_page()
1153 struct page *head = compound_head(p); in memory_failure_hugetlb()
1359 orig_head = hpage = compound_head(p); in memory_failure()
1415 if (PageCompound(p) && compound_head(p) != orig_head) { in memory_failure()
1623 page = compound_head(p); in unpoison_memory()
1801 struct page *hpage = compound_head(page); in __soft_offline_page()
1871 struct page *hpage = compound_head(page); in soft_offline_in_use_page()
H A Dutil.c697 page = compound_head(page); in page_rmapping()
711 page = compound_head(page); in page_mapped()
728 page = compound_head(page); in page_anon_vma()
739 page = compound_head(page); in page_mapping()
782 page = compound_head(page); in __page_mapcount()
H A Dgup.c36 VM_BUG_ON_PAGE(page != compound_head(page), page); in hpage_pincount_add()
44 VM_BUG_ON_PAGE(page != compound_head(page), page); in hpage_pincount_sub()
72 struct page *head = compound_head(page); in try_get_compound_head()
88 if (unlikely(compound_head(page) != head)) { in try_get_compound_head()
212 page = compound_head(page); in try_grab_page()
219 page = compound_head(page); in try_grab_page()
254 put_compound_head(compound_head(page), 1, FOLL_PIN); in unpin_user_page()
269 struct page *head = compound_head(page); in put_user_page()
315 struct page *page = compound_head(pages[index]); in unpin_user_pages_dirty_lock()
1637 head = compound_head(pages[i]); in check_and_migrate_cma_pages()
[all …]
H A Dhwpoison-inject.c28 hpage = compound_head(p); in hwpoison_inject()
H A Dswap.c367 page = compound_head(page); in activate_page()
389 page = compound_head(page); in activate_page()
438 page = compound_head(page); in mark_page_accessed()
1022 page = compound_head(page); in release_pages()
H A Drmap.c730 } else if (vma->vm_file->f_mapping != compound_head(page)->mapping) { in page_address_in_vma()
1036 page = compound_head(page); in page_move_anon_rmap()
1252 SetPageDoubleMap(compound_head(page)); in page_add_file_rmap()
1254 clear_page_mlock(compound_head(page)); in page_add_file_rmap()
1425 deferred_split_huge_page(compound_head(page)); in page_remove_rmap()
H A Dusercopy.c236 page = compound_head(kmap_to_page((void *)ptr)); in check_heap_object()
H A Dfilemap.c1389 return __wait_on_page_locked_async(compound_head(page), wait, false); in wait_on_page_locked_async()
1406 page = compound_head(page); in put_and_wait_on_page_locked()
1471 page = compound_head(page); in unlock_page()
1546 struct page *page = compound_head(__page); in __lock_page()
1555 struct page *page = compound_head(__page); in __lock_page_killable()
2745 if (unlikely(compound_head(page)->mapping != mapping)) in filemap_fault()
2819 if (unlikely(compound_head(page)->mapping != mapping)) { in filemap_fault()
H A Ddebug.c48 struct page *head = compound_head(page); in __dump_page()
H A Dhuge_memory.c489 struct mem_cgroup *memcg = compound_head(page)->mem_cgroup; in get_deferred_split_queue()
522 page = compound_head(page); in is_transparent_hugepage()
2459 struct page *head = compound_head(page); in __split_huge_page()
2606 page = compound_head(page); in page_trans_huge_mapcount()
2662 struct page *head = compound_head(page); in split_huge_page_to_list()
2800 struct mem_cgroup *memcg = compound_head(page)->mem_cgroup; in deferred_split_huge_page()
2865 page = compound_head(page); in deferred_split_scan()
H A Dmemory_hotplug.c1307 head = compound_head(page); in scan_movable_pages()
1333 head = compound_head(page); in do_migrate_range()
H A Dmigrate.c307 page = compound_head(page); in __migration_entry_wait()
1544 struct hstate *h = page_hstate(compound_head(page)); in alloc_migration_target()
1651 head = compound_head(page); in add_page_for_migration()
/OK3568_Linux_fs/kernel/fs/proc/
H 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()
/OK3568_Linux_fs/kernel/arch/powerpc/mm/book3s64/
H A Diommu_api.c154 pageshift = page_shift(compound_head(page)); in mm_iommu_do_alloc()
/OK3568_Linux_fs/kernel/kernel/
H A Dcrash_core.c483 VMCOREINFO_OFFSET(page, compound_head); in crash_save_vmcoreinfo_init()
/OK3568_Linux_fs/kernel/drivers/infiniband/core/
H A Dumem_odp.c504 struct page *head_page = compound_head(page); in ib_umem_odp_unmap_dma_pages()
/OK3568_Linux_fs/kernel/mm/kfence/
H A Dcore.c451 if (WARN_ON(compound_head(&pages[i]) != &pages[i])) in kfence_init_pool()
/OK3568_Linux_fs/kernel/net/core/
H A Ddatagram.c655 struct page *head = compound_head(pages[n]); in __zerocopy_sg_from_iter()

12