Searched refs:i_sem (Results 1 – 9 of 9) sorted by relevance
933 down_write(&F2FS_I(new_inode)->i_sem); in f2fs_rename()937 up_write(&F2FS_I(new_inode)->i_sem); in f2fs_rename()980 down_write(&F2FS_I(old_inode)->i_sem); in f2fs_rename()985 up_write(&F2FS_I(old_inode)->i_sem); in f2fs_rename()1143 down_write(&F2FS_I(old_inode)->i_sem); in f2fs_cross_rename()1145 up_write(&F2FS_I(old_inode)->i_sem); in f2fs_cross_rename()1149 down_write(&F2FS_I(old_dir)->i_sem); in f2fs_cross_rename()1151 up_write(&F2FS_I(old_dir)->i_sem); in f2fs_cross_rename()1158 down_write(&F2FS_I(new_inode)->i_sem); in f2fs_cross_rename()1160 up_write(&F2FS_I(new_inode)->i_sem); in f2fs_cross_rename()[all …]
669 down_write(&F2FS_I(inode)->i_sem); in f2fs_add_regular_entry()696 up_write(&F2FS_I(inode)->i_sem); in f2fs_add_regular_entry()767 down_write(&F2FS_I(inode)->i_sem); in f2fs_do_tmpfile()778 up_write(&F2FS_I(inode)->i_sem); in f2fs_do_tmpfile()786 down_write(&F2FS_I(inode)->i_sem); in f2fs_drop_nlink()797 up_write(&F2FS_I(inode)->i_sem); in f2fs_drop_nlink()
573 down_write(&F2FS_I(inode)->i_sem); in f2fs_add_inline_entry()603 up_write(&F2FS_I(inode)->i_sem); in f2fs_add_inline_entry()
750 down_write(&F2FS_I(inode)->i_sem); in f2fs_setxattr()754 up_write(&F2FS_I(inode)->i_sem); in f2fs_setxattr()
197 down_write(&fi->i_sem); in try_to_fix_pino()203 up_write(&fi->i_sem); in try_to_fix_pino()267 down_read(&F2FS_I(inode)->i_sem); in f2fs_do_sync_file()269 up_read(&F2FS_I(inode)->i_sem); in f2fs_do_sync_file()856 down_write(&F2FS_I(inode)->i_sem); in f2fs_setattr()859 up_write(&F2FS_I(inode)->i_sem); in f2fs_setattr()
682 struct rw_semaphore i_sem; /* protect fi info */ member2734 down_read(&F2FS_I(inode)->i_sem); in f2fs_skip_inode_update()2736 up_read(&F2FS_I(inode)->i_sem); in f2fs_skip_inode_update()
2192 down_write(&F2FS_I(inode)->i_sem); in __write_data_page()2195 up_write(&F2FS_I(inode)->i_sem); in __write_data_page()
895 init_rwsem(&fi->i_sem); in f2fs_alloc_inode()
43 This is the JFFS2-internal equivalent of the inode mutex i->i_sem.48 The reason that the i_sem itself isn't used for this purpose is to49 avoid deadlocks with garbage collection -- the VFS will lock the i_sem53 VFS. If the garbage collection code were to attempt to lock the i_sem55 lead to deadlock, unless we played games with unlocking the i_sem