Searched refs:i_mmap_rwsem (Results 1 – 7 of 7) sorted by relevance
462 struct rw_semaphore i_mmap_rwsem; member494 down_write(&mapping->i_mmap_rwsem); in i_mmap_lock_write()499 return down_write_trylock(&mapping->i_mmap_rwsem); in i_mmap_trylock_write()504 up_write(&mapping->i_mmap_rwsem); in i_mmap_unlock_write()509 down_read(&mapping->i_mmap_rwsem); in i_mmap_lock_read()514 up_read(&mapping->i_mmap_rwsem); in i_mmap_unlock_read()519 lockdep_assert_held(&mapping->i_mmap_rwsem); in i_mmap_assert_locked()524 lockdep_assert_held_write(&mapping->i_mmap_rwsem); in i_mmap_assert_write_locked()
530 lock_rwsem_ptr = (unsigned long)&test_file->f_mapping->i_mmap_rwsem; in test_lockup_init()
528 lockdep_assert_held(&mapping->i_mmap_rwsem); in walk_page_mapping()
3615 down_write_nest_lock(&mapping->i_mmap_rwsem, &mm->mmap_lock); in vm_lock_mapping()
532 - * could defer the flush until now, since by holding i_mmap_rwsem we534 - * do the flushing before we return, as otherwise i_mmap_rwsem will be
846 lockdep_set_class(&inode->i_mapping->i_mmap_rwsem, in hugetlbfs_get_inode()
372 init_rwsem(&mapping->i_mmap_rwsem); in __address_space_init_once()