Searched refs:i_mmap_rwsem (Results 1 – 7 of 7) sorted by relevance
487 struct rw_semaphore i_mmap_rwsem; member514 down_write(&mapping->i_mmap_rwsem); in i_mmap_lock_write()519 return down_write_trylock(&mapping->i_mmap_rwsem); in i_mmap_trylock_write()524 up_write(&mapping->i_mmap_rwsem); in i_mmap_unlock_write()529 return down_read_trylock(&mapping->i_mmap_rwsem); in i_mmap_trylock_read()534 down_read(&mapping->i_mmap_rwsem); in i_mmap_lock_read()539 up_read(&mapping->i_mmap_rwsem); in i_mmap_unlock_read()544 lockdep_assert_held(&mapping->i_mmap_rwsem); in i_mmap_assert_locked()549 lockdep_assert_held_write(&mapping->i_mmap_rwsem); in i_mmap_assert_write_locked()
1291 &vma->vm_file->f_mapping->i_mmap_rwsem)); in hugetlb_walk()
551 lock_rwsem_ptr = (unsigned long)&test_file->f_mapping->i_mmap_rwsem; in test_lockup_init()
646 lockdep_assert_held(&mapping->i_mmap_rwsem); in walk_page_mapping()
3636 down_write_nest_lock(&mapping->i_mmap_rwsem, &mm->mmap_lock); in vm_lock_mapping()
1035 lockdep_set_class(&inode->i_mapping->i_mmap_rwsem, in hugetlbfs_get_inode()
400 init_rwsem(&mapping->i_mmap_rwsem); in __address_space_init_once()