Home
last modified time | relevance | path

Searched refs:i_mmap_rwsem (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dfs.h462 struct rw_semaphore i_mmap_rwsem; member
494 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()
/kernel/linux/linux-5.10/lib/
Dtest_lockup.c530 lock_rwsem_ptr = (unsigned long)&test_file->f_mapping->i_mmap_rwsem; in test_lockup_init()
/kernel/linux/linux-5.10/mm/
Dpagewalk.c528 lockdep_assert_held(&mapping->i_mmap_rwsem); in walk_page_mapping()
Dmmap.c3615 down_write_nest_lock(&mapping->i_mmap_rwsem, &mm->mmap_lock); in vm_lock_mapping()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dothers.patch532 - * could defer the flush until now, since by holding i_mmap_rwsem we
534 - * do the flushing before we return, as otherwise i_mmap_rwsem will be
/kernel/linux/linux-5.10/fs/hugetlbfs/
Dinode.c846 lockdep_set_class(&inode->i_mapping->i_mmap_rwsem, in hugetlbfs_get_inode()
/kernel/linux/linux-5.10/fs/
Dinode.c372 init_rwsem(&mapping->i_mmap_rwsem); in __address_space_init_once()