Searched refs:i_sem (Results 1 – 7 of 7) sorted by relevance
1052 f2fs_down_write(&F2FS_I(new_inode)->i_sem); in f2fs_rename()1056 f2fs_up_write(&F2FS_I(new_inode)->i_sem); in f2fs_rename()1077 f2fs_down_write(&F2FS_I(old_inode)->i_sem); in f2fs_rename()1083 f2fs_up_write(&F2FS_I(old_inode)->i_sem); in f2fs_rename()1242 f2fs_down_write(&F2FS_I(old_inode)->i_sem); in f2fs_cross_rename()1248 f2fs_up_write(&F2FS_I(old_inode)->i_sem); in f2fs_cross_rename()1252 f2fs_down_write(&F2FS_I(old_dir)->i_sem); in f2fs_cross_rename()1254 f2fs_up_write(&F2FS_I(old_dir)->i_sem); in f2fs_cross_rename()1261 f2fs_down_write(&F2FS_I(new_inode)->i_sem); in f2fs_cross_rename()1267 f2fs_up_write(&F2FS_I(new_inode)->i_sem); in f2fs_cross_rename()[all …]
770 f2fs_down_write(&F2FS_I(inode)->i_sem); in f2fs_add_regular_entry()797 f2fs_up_write(&F2FS_I(inode)->i_sem); in f2fs_add_regular_entry()862 f2fs_down_write(&F2FS_I(inode)->i_sem); in f2fs_do_tmpfile()873 f2fs_up_write(&F2FS_I(inode)->i_sem); in f2fs_do_tmpfile()881 f2fs_down_write(&F2FS_I(inode)->i_sem); in f2fs_drop_nlink()892 f2fs_up_write(&F2FS_I(inode)->i_sem); in f2fs_drop_nlink()
646 f2fs_down_write(&F2FS_I(inode)->i_sem); in f2fs_add_inline_entry()675 f2fs_up_write(&F2FS_I(inode)->i_sem); in f2fs_add_inline_entry()
240 f2fs_down_write(&fi->i_sem); in try_to_fix_pino()246 f2fs_up_write(&fi->i_sem); in try_to_fix_pino()321 f2fs_down_read(&F2FS_I(inode)->i_sem); in f2fs_do_sync_file()323 f2fs_up_read(&F2FS_I(inode)->i_sem); in f2fs_do_sync_file()
783 struct f2fs_rwsem i_sem; /* protect fi info */ member
1375 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