Home
last modified time | relevance | path

Searched refs:i_mmap_sem (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/fs/ext4/
Dtruncate.h18 down_write(&EXT4_I(inode)->i_mmap_sem); in ext4_truncate_failed_write()
21 up_write(&EXT4_I(inode)->i_mmap_sem); in ext4_truncate_failed_write()
Dfile.c719 down_read(&EXT4_I(inode)->i_mmap_sem); in ext4_dax_huge_fault()
724 up_read(&EXT4_I(inode)->i_mmap_sem); in ext4_dax_huge_fault()
729 down_read(&EXT4_I(inode)->i_mmap_sem); in ext4_dax_huge_fault()
741 up_read(&EXT4_I(inode)->i_mmap_sem); in ext4_dax_huge_fault()
744 up_read(&EXT4_I(inode)->i_mmap_sem); in ext4_dax_huge_fault()
Dinode.c3970 up_write(&ei->i_mmap_sem); in ext4_wait_dax_page()
3972 down_write(&ei->i_mmap_sem); in ext4_wait_dax_page()
3981 if (WARN_ON_ONCE(!rwsem_is_locked(&ei->i_mmap_sem))) in ext4_break_layouts()
4081 down_write(&EXT4_I(inode)->i_mmap_sem); in ext4_punch_hole()
4154 up_write(&EXT4_I(inode)->i_mmap_sem); in ext4_punch_hole()
5491 down_write(&EXT4_I(inode)->i_mmap_sem); in ext4_setattr()
5495 up_write(&EXT4_I(inode)->i_mmap_sem); in ext4_setattr()
5573 up_write(&EXT4_I(inode)->i_mmap_sem); in ext4_setattr()
6072 down_write(&EXT4_I(inode)->i_mmap_sem); in ext4_change_inode_journal_flag()
6075 up_write(&EXT4_I(inode)->i_mmap_sem); in ext4_change_inode_journal_flag()
[all …]
Dioctl.c148 down_write(&EXT4_I(inode)->i_mmap_sem); in swap_inode_boot_loader()
256 up_write(&EXT4_I(inode)->i_mmap_sem); in swap_inode_boot_loader()
Dextents.c4615 down_write(&EXT4_I(inode)->i_mmap_sem); in ext4_zero_range()
4619 up_write(&EXT4_I(inode)->i_mmap_sem); in ext4_zero_range()
4625 up_write(&EXT4_I(inode)->i_mmap_sem); in ext4_zero_range()
4634 up_write(&EXT4_I(inode)->i_mmap_sem); in ext4_zero_range()
5338 down_write(&EXT4_I(inode)->i_mmap_sem); in ext4_collapse_range()
5414 up_write(&EXT4_I(inode)->i_mmap_sem); in ext4_collapse_range()
5494 down_write(&EXT4_I(inode)->i_mmap_sem); in ext4_insert_range()
5595 up_write(&EXT4_I(inode)->i_mmap_sem); in ext4_insert_range()
Dext4.h1082 struct rw_semaphore i_mmap_sem; member
Dsuper.c1368 init_rwsem(&ei->i_mmap_sem); in init_once()
/kernel/linux/linux-5.10/fs/fuse/
Ddax.c664 up_write(&fi->i_mmap_sem); in fuse_wait_dax_page()
666 down_write(&fi->i_mmap_sem); in fuse_wait_dax_page()
815 down_read(&get_fuse_inode(inode)->i_mmap_sem); in __fuse_dax_fault()
820 up_read(&get_fuse_inode(inode)->i_mmap_sem); in __fuse_dax_fault()
826 up_read(&get_fuse_inode(inode)->i_mmap_sem); in __fuse_dax_fault()
962 down_write(&fi->i_mmap_sem); in inode_inline_reclaim_one_dmap()
1023 up_write(&fi->i_mmap_sem); in inode_inline_reclaim_one_dmap()
1124 down_write(&fi->i_mmap_sem); in lookup_and_reclaim_dmap()
1136 up_write(&fi->i_mmap_sem); in lookup_and_reclaim_dmap()
Ddir.c1642 down_write(&fi->i_mmap_sem); in fuse_do_setattr()
1646 up_write(&fi->i_mmap_sem); in fuse_do_setattr()
1752 up_write(&fi->i_mmap_sem); in fuse_do_setattr()
1763 up_write(&fi->i_mmap_sem); in fuse_do_setattr()
Dfuse_i.h157 struct rw_semaphore i_mmap_sem; member
Dfile.c245 down_write(&get_fuse_inode(inode)->i_mmap_sem); in fuse_open_common()
257 up_write(&get_fuse_inode(inode)->i_mmap_sem); in fuse_open_common()
3290 down_write(&fi->i_mmap_sem); in fuse_file_fallocate()
3349 up_write(&fi->i_mmap_sem); in fuse_file_fallocate()
Dinode.c88 init_rwsem(&fi->i_mmap_sem); in fuse_alloc_inode()
/kernel/linux/linux-5.10/fs/f2fs/
Dfile.c41 down_read(&F2FS_I(inode)->i_mmap_sem); in f2fs_filemap_fault()
43 up_read(&F2FS_I(inode)->i_mmap_sem); in f2fs_filemap_fault()
101 down_read(&F2FS_I(inode)->i_mmap_sem); in f2fs_vm_page_mkwrite()
160 up_read(&F2FS_I(inode)->i_mmap_sem); in f2fs_vm_page_mkwrite()
942 down_write(&F2FS_I(inode)->i_mmap_sem); in f2fs_setattr()
952 up_write(&F2FS_I(inode)->i_mmap_sem); in f2fs_setattr()
1092 down_write(&F2FS_I(inode)->i_mmap_sem); in punch_hole()
1100 up_write(&F2FS_I(inode)->i_mmap_sem); in punch_hole()
1335 down_write(&F2FS_I(inode)->i_mmap_sem); in f2fs_do_collapse()
1343 up_write(&F2FS_I(inode)->i_mmap_sem); in f2fs_do_collapse()
[all …]
Ddata.c3327 down_write(&F2FS_I(inode)->i_mmap_sem); in f2fs_write_failed()
3332 up_write(&F2FS_I(inode)->i_mmap_sem); in f2fs_write_failed()
Dsuper.c1113 init_rwsem(&fi->i_mmap_sem); in f2fs_alloc_inode()
Df2fs.h747 struct rw_semaphore i_mmap_sem; member
/kernel/linux/linux-5.10/fs/zonefs/
Dzonefs.h78 struct rw_semaphore i_mmap_sem; member
Dsuper.c514 down_write(&zi->i_mmap_sem); in zonefs_file_truncate()
552 up_write(&zi->i_mmap_sem); in zonefs_file_truncate()
631 down_read(&zi->i_mmap_sem); in zonefs_filemap_fault()
633 up_read(&zi->i_mmap_sem); in zonefs_filemap_fault()
658 down_read(&zi->i_mmap_sem); in zonefs_filemap_page_mkwrite()
660 up_read(&zi->i_mmap_sem); in zonefs_filemap_page_mkwrite()
1226 init_rwsem(&zi->i_mmap_sem); in zonefs_alloc_inode()