Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dfs.h487 struct rw_semaphore i_mmap_rwsem; member
514 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()
Dhugetlb.h1291 &vma->vm_file->f_mapping->i_mmap_rwsem)); in hugetlb_walk()
/linux-6.6.21/lib/
Dtest_lockup.c551 lock_rwsem_ptr = (unsigned long)&test_file->f_mapping->i_mmap_rwsem; in test_lockup_init()
/linux-6.6.21/mm/
Dpagewalk.c646 lockdep_assert_held(&mapping->i_mmap_rwsem); in walk_page_mapping()
Dmmap.c3636 down_write_nest_lock(&mapping->i_mmap_rwsem, &mm->mmap_lock); in vm_lock_mapping()
/linux-6.6.21/fs/hugetlbfs/
Dinode.c1035 lockdep_set_class(&inode->i_mapping->i_mmap_rwsem, in hugetlbfs_get_inode()
/linux-6.6.21/fs/
Dinode.c400 init_rwsem(&mapping->i_mmap_rwsem); in __address_space_init_once()