Home
last modified time | relevance | path

Searched refs:PageAnon (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v6.1/mm/
Dpage_table_check.c72 anon = PageAnon(page); in page_table_check_clear()
108 anon = PageAnon(page); in page_table_check_set()
Dhuge_memory.c1422 if (!page || !PageAnon(page) || !PageAnonExclusive(page)) in can_follow_write_pmd()
1459 VM_BUG_ON_PAGE((flags & FOLL_PIN) && PageAnon(page) && in follow_trans_huge_pmd()
1682 if (PageAnon(page)) { in zap_huge_pmd()
1816 if (PageAnon(page)) in change_huge_pmd()
2126 if (PageAnon(page)) in __split_huge_pmd_locked()
2161 anon_exclusive = PageAnon(page) && PageAnonExclusive(page); in __split_huge_pmd_locked()
2484 page_ref_unfreeze(page_tail, 1 + (!PageAnon(head) || in __split_huge_page_tail()
2516 if (PageAnon(head) && PageSwapCache(head)) { in __split_huge_page()
2542 } else if (!PageAnon(page)) { in __split_huge_page()
2558 if (PageAnon(head)) { in __split_huge_page()
[all …]
Dmemremap.c483 VM_BUG_ON_PAGE(PageAnon(page) && PageCompound(page), page); in free_zone_device_page()
484 if (PageAnon(page)) in free_zone_device_page()
Ddebug.c109 else if (PageAnon(page)) in __dump_page()
Dmprotect.c68 if (!page || !PageAnon(page) || !PageAnonExclusive(page)) in can_change_pte_writable()
215 if (PageAnon(page)) in change_pte_range()
Dksm.c535 if (PageAnon(page)) { in get_mergeable_page()
846 VM_BUG_ON_PAGE(PageAnon(page) && PageAnonExclusive(page), page); in set_page_stable_node()
1150 VM_BUG_ON_PAGE(PageAnon(kpage) && PageAnonExclusive(kpage), kpage); in replace_page()
1214 if (!PageAnon(page)) in try_to_merge_one_page()
2313 if (PageAnon(*page)) { in scan_get_next_rmap_item()
Dmemory.c734 VM_BUG_ON(pte_write(pte) && !(PageAnon(page) && PageAnonExclusive(page))); in restore_exclusive_pte()
740 if (PageAnon(page)) in restore_exclusive_pte()
952 if (page && PageAnon(page)) { in copy_present_pte()
981 VM_BUG_ON(page && PageAnon(page) && PageAnonExclusive(page)); in copy_present_pte()
1367 return !PageAnon(page); in should_zap_page()
1437 if (!PageAnon(page)) { in zap_pte_range()
1849 if (PageAnon(page) || PageSlab(page) || page_has_type(page)) in validate_page_before_insert()
3008 VM_BUG_ON_PAGE(PageAnon(page), page); in fault_dirty_shared_page()
3060 VM_BUG_ON(page && PageAnon(page) && !PageAnonExclusive(page)); in wp_page_reuse()
3157 if (!PageAnon(old_page)) { in wp_page_copy()
Dmemory-failure.c609 if (PageAnon(page)) in collect_procs()
922 if (PageAnon(p)) { in me_pagecache_clean()
1462 if (PageHuge(hpage) && !PageAnon(hpage)) { in hwpoison_user_mappings()
Dmigrate_device.c205 anon_exclusive = PageAnon(page) && PageAnonExclusive(page); in migrate_vma_collect_pmd()
Dutil.c796 if (!PageAnon(page) && !PageHuge(page)) in __page_mapcount()
Drmap.c1130 if (PageAnon(page)) in __page_set_anon_rmap()
1428 if (!PageAnon(page)) { in page_remove_rmap()
Dhugetlb.c1716 if (PageAnon(page)) in free_huge_page()
4900 if (!PageAnon(ptepage)) { in copy_hugetlb_page_range()
5341 if (page_mapcount(old_page) == 1 && PageAnon(old_page)) { in hugetlb_wp()
5350 VM_BUG_ON_PAGE(PageAnon(old_page) && PageAnonExclusive(old_page), in hugetlb_wp()
6340 VM_BUG_ON_PAGE((flags & FOLL_PIN) && PageAnon(page) && in follow_hugetlb_page()
6469 if (PageAnon(page)) in hugetlb_change_protection()
Dkhugepaged.c570 VM_BUG_ON_PAGE(!PageAnon(page), page); in __collapse_huge_page_isolate()
1233 if (!PageAnon(page)) { in hpage_collapse_scan_pmd()
/Linux-v6.1/include/linux/
Drmap.h237 VM_BUG_ON_PAGE(!PageAnon(page), page); in page_try_dup_anon_rmap()
287 VM_BUG_ON_PAGE(!PageAnon(page) || !PageAnonExclusive(page), page); in page_try_share_anon_rmap()
Dpage-flags.h661 static __always_inline bool PageAnon(struct page *page) in PageAnon() function
1020 VM_BUG_ON_PGFLAGS(!PageAnon(page), page); in PageAnonExclusive()
1027 VM_BUG_ON_PGFLAGS(!PageAnon(page) || PageKsm(page), page); in SetPageAnonExclusive()
1034 VM_BUG_ON_PGFLAGS(!PageAnon(page) || PageKsm(page), page); in ClearPageAnonExclusive()
1041 VM_BUG_ON_PGFLAGS(!PageAnon(page), page); in __ClearPageAnonExclusive()
Dmm.h2100 if (PageAnon(page)) in mm_counter()
3080 if (!PageAnon(page)) in gup_must_unshare()
/Linux-v6.1/arch/csky/abiv1/inc/abi/
Dcacheflush.h34 if (PageAnon(page)) in flush_anon_page()
/Linux-v6.1/fs/proc/
Dpage.c133 if (PageAnon(page)) in stable_page_flags()
157 if (PageLRU(head) || PageAnon(head)) in stable_page_flags()
Dtask_mmu.c423 if (PageAnon(page)) in smaps_page_accumulate()
458 if (PageAnon(page)) { in smaps_account()
594 if (PageAnon(page)) in smaps_pmd_entry()
1450 if (page && !PageAnon(page)) in pte_to_pagemap_entry()
1581 if (!PageAnon(page)) in pagemap_hugetlb_range()
1802 if (PageAnon(page)) in gather_stats()
/Linux-v6.1/arch/sh/include/asm/
Dcacheflush.h63 if (boot_cpu_data.dcache.n_aliases && PageAnon(page)) in flush_anon_page()
/Linux-v6.1/arch/mips/include/asm/
Dcacheflush.h72 if (cpu_has_dc_aliases && PageAnon(page)) in flush_anon_page()
/Linux-v6.1/arch/arm/include/asm/
Dcacheflush.h312 if (PageAnon(page)) in flush_anon_page()
/Linux-v6.1/kernel/futex/
Dcore.c341 if (PageAnon(page)) { in get_futex_key()
/Linux-v6.1/arch/parisc/kernel/
Dcache.c723 if (!PageAnon(page)) in flush_anon_page()
/Linux-v6.1/kernel/events/
Duprobes.c503 if (!is_register && !PageAnon(old_page)) in uprobe_write_opcode()
523 VM_BUG_ON_PAGE(!PageAnon(old_page), old_page); in uprobe_write_opcode()

12