Home
last modified time | relevance | path

Searched refs:vma_test (Results 1 – 10 of 10) sorted by relevance

/linux/mm/
H A Dvma.c1542 if (vma_test(next, VMA_LOCKED_BIT)) in vms_gather_munmap_vmas()
1545 if (vma_test(next, VMA_ACCOUNT_BIT)) in vms_gather_munmap_vmas()
1584 struct vm_area_struct *vma_mas, *vma_test; in vms_gather_munmap_vmas() local
1589 vma_test = mas_find(&test, vms->vma_count - 1); in vms_gather_munmap_vmas()
1591 BUG_ON(vma_mas != vma_test); in vms_gather_munmap_vmas()
1593 vma_test = mas_next(&test, vms->vma_count - 1); in vms_gather_munmap_vmas()
2174 if (vma_test(vma, VMA_PFNMAP_BIT)) in vma_fs_can_writeback()
2616 vma_test(vma, VMA_MAYWRITE_BIT)); in __mmap_new_file_vma()
2724 if (vma_test(vma, VMA_LOCKED_BIT)) { in __mmap_complete()
3196 if (!mlock_future_ok(mm, vma_test(vma, VMA_LOCKED_BIT), in acct_stack_growth()
[all …]
H A Dmlock.c332 if (!vma_test(vma, VMA_LOCKED_BIT)) in allow_mlock_munlock()
371 if (vma_test(vma, VMA_LOCKED_BIT)) in mlock_pte_range()
396 if (vma_test(vma, VMA_LOCKED_BIT)) in mlock_pte_range()
593 if (vma_test(vma, VMA_LOCKED_BIT)) { in count_mm_mlocked_page_nr()
H A Dmremap.c966 if (vma_test(vma, VMA_MAYSHARE_BIT)) in vrm_set_new_addr()
988 if (!vma_test(vrm->vma, VMA_ACCOUNT_BIT)) in vrm_calc_charge()
1015 if (!vma_test(vrm->vma, VMA_ACCOUNT_BIT)) in vrm_uncharge()
1035 if (vma_test(vma, VMA_LOCKED_BIT)) in vrm_stat_account()
1179 bool accountable_move = vma_test(vma, VMA_ACCOUNT_BIT) && in unmap_source_vma()
1822 if (vma_test(vma, VMA_LOCKED_BIT)) in check_prep_vma()
1833 if (!mlock_future_ok(mm, vma_test(vma, VMA_LOCKED_BIT), vrm->delta)) in check_prep_vma()
H A Dhugetlb.c1156 VM_WARN_ON_ONCE_VMA(vma_test(vma, VMA_MAYSHARE_BIT), vma); in set_vma_resv_map()
1164 VM_WARN_ON_ONCE_VMA(vma_test(vma, VMA_MAYSHARE_BIT), vma); in set_vma_resv_flags()
6700 if (!vma || vma_test(vma, VMA_MAYSHARE_BIT)) { in hugetlb_reserve_pages()
6734 if (vma && !vma_test(vma, VMA_MAYSHARE_BIT) && h_cg) { in hugetlb_reserve_pages()
6771 if (!vma || vma_test(vma, VMA_MAYSHARE_BIT)) { in hugetlb_reserve_pages()
6836 if (!vma || vma_test(vma, VMA_MAYSHARE_BIT)) in hugetlb_reserve_pages()
H A Dhuge_memory.c130 if (vma_test(vma, VMA_PFNMAP_BIT) && has_huge_fault) in vma_file_bypass_thp_tuneables()
4775 if (vma_test(vma, VMA_IO_BIT)) in vma_not_suitable_for_thp_split()
H A Drmap.c930 if (vma_test(vma, VMA_LOCKED_BIT)) { in folio_referenced_one()
H A Duserfaultfd.c2335 VM_WARN_ON_ONCE(!vma_test(vma, VMA_MAYWRITE_BIT)); in userfaultfd_register_range()
/linux/tools/testing/vma/tests/
H A Dvma.c237 ASSERT_TRUE(vma_test(&vma, _flag)); \ in test_vma_flags_test()
244 ASSERT_FALSE(vma_test(&vma, _flag)); \ in test_vma_flags_test()
/linux/tools/testing/vma/include/
H A Ddup.h1065 static __always_inline bool vma_test(const struct vm_area_struct *vma, in vma_test() function
/linux/include/linux/
H A Dmm.h1370 static __always_inline bool vma_test(const struct vm_area_struct *vma, in vma_test() function