Lines Matching refs:rwsem
30 * anon_vma->rwsem
44 * anon_vma->rwsem,mapping->i_mmap_rwsem (memory_failure, collect_procs_anon)
132 if (rwsem_is_locked(&anon_vma->root->rwsem)) {
177 * and that may actually touch the rwsem even in the newly
248 up_write(&root->rwsem);
250 down_write(&root->rwsem);
258 up_write(&root->rwsem);
369 * The root anon_vma's rwsem is the lock actually used when we
437 * needing to write-acquire the anon_vma->root->rwsem.
455 init_rwsem(&anon_vma->rwsem);
560 if (down_read_trylock(&root_anon_vma->rwsem)) {
567 up_read(&root_anon_vma->rwsem);
578 up_read(&root_anon_vma->rwsem);