Searched refs:i_sem (Results 1 – 7 of 7) sorted by relevance
1067 f2fs_down_write(&F2FS_I(new_inode)->i_sem); in f2fs_rename()1071 f2fs_up_write(&F2FS_I(new_inode)->i_sem); in f2fs_rename()1092 f2fs_down_write(&F2FS_I(old_inode)->i_sem); in f2fs_rename()1098 f2fs_up_write(&F2FS_I(old_inode)->i_sem); in f2fs_rename()1254 f2fs_down_write(&F2FS_I(old_inode)->i_sem); in f2fs_cross_rename()1260 f2fs_up_write(&F2FS_I(old_inode)->i_sem); in f2fs_cross_rename()1264 f2fs_down_write(&F2FS_I(old_dir)->i_sem); in f2fs_cross_rename()1266 f2fs_up_write(&F2FS_I(old_dir)->i_sem); in f2fs_cross_rename()1273 f2fs_down_write(&F2FS_I(new_inode)->i_sem); in f2fs_cross_rename()1279 f2fs_up_write(&F2FS_I(new_inode)->i_sem); in f2fs_cross_rename()[all …]
739 f2fs_down_write(&F2FS_I(inode)->i_sem); in f2fs_add_regular_entry()766 f2fs_up_write(&F2FS_I(inode)->i_sem); in f2fs_add_regular_entry()839 f2fs_down_write(&F2FS_I(inode)->i_sem); in f2fs_do_tmpfile()850 f2fs_up_write(&F2FS_I(inode)->i_sem); in f2fs_do_tmpfile()858 f2fs_down_write(&F2FS_I(inode)->i_sem); in f2fs_drop_nlink()869 f2fs_up_write(&F2FS_I(inode)->i_sem); in f2fs_drop_nlink()
244 f2fs_down_write(&fi->i_sem); in try_to_fix_pino()250 f2fs_up_write(&fi->i_sem); in try_to_fix_pino()325 f2fs_down_read(&F2FS_I(inode)->i_sem); in f2fs_do_sync_file()327 f2fs_up_read(&F2FS_I(inode)->i_sem); in f2fs_do_sync_file()553 f2fs_down_read(&F2FS_I(inode)->i_sem); in f2fs_file_mmap()555 f2fs_up_read(&F2FS_I(inode)->i_sem); in f2fs_file_mmap()1999 f2fs_down_write(&fi->i_sem); in f2fs_setflags_common()2003 f2fs_up_write(&fi->i_sem); in f2fs_setflags_common()2007 f2fs_up_write(&fi->i_sem); in f2fs_setflags_common()4137 f2fs_down_write(&F2FS_I(inode)->i_sem); in f2fs_ioc_set_compress_option()[all …]
664 f2fs_down_write_nested(&F2FS_I(inode)->i_sem, in f2fs_add_inline_entry()694 f2fs_up_write(&F2FS_I(inode)->i_sem); in f2fs_add_inline_entry()
824 struct f2fs_rwsem i_sem; /* protect fi info */ member4434 f2fs_down_write(&fi->i_sem); in f2fs_disable_compressed_file()4437 f2fs_up_write(&fi->i_sem); in f2fs_disable_compressed_file()4442 f2fs_up_write(&fi->i_sem); in f2fs_disable_compressed_file()4451 f2fs_up_write(&fi->i_sem); in f2fs_disable_compressed_file()
1410 init_f2fs_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