Home
last modified time | relevance | path

Searched refs:AS_MM_ALL_LOCKS (Results 1 – 3 of 3) sorted by relevance

/linux/mm/
H A Dvma.c2107 if (!test_bit(AS_MM_ALL_LOCKS, &mapping->flags)) { in vm_lock_mapping()
2109 * AS_MM_ALL_LOCKS can't change from under us because in vm_lock_mapping()
2113 * even if AS_MM_ALL_LOCKS is stable thanks to the in vm_lock_mapping()
2117 if (test_and_set_bit(AS_MM_ALL_LOCKS, &mapping->flags)) in vm_lock_mapping()
2140 * The LSB in anon_vma->rb_root.rb_node and the AS_MM_ALL_LOCKS bitflag in
2241 if (test_bit(AS_MM_ALL_LOCKS, &mapping->flags)) { in vm_unlock_mapping()
2243 * AS_MM_ALL_LOCKS can't change to 0 from under us in vm_unlock_mapping()
2247 if (!test_and_clear_bit(AS_MM_ALL_LOCKS, in vm_unlock_mapping()
/linux/tools/testing/vma/
H A Dvma_internal.h143 #define AS_MM_ALL_LOCKS 2 macro
/linux/include/linux/
H A Dpagemap.h204 AS_MM_ALL_LOCKS = 2, /* under mm_take_all_locks() */ enumerator