Home
last modified time | relevance | path

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

/Linux-v6.6/fs/f2fs/
Dnamei.c1056 f2fs_down_write(&F2FS_I(new_inode)->i_sem); in f2fs_rename()
1060 f2fs_up_write(&F2FS_I(new_inode)->i_sem); in f2fs_rename()
1081 f2fs_down_write(&F2FS_I(old_inode)->i_sem); in f2fs_rename()
1087 f2fs_up_write(&F2FS_I(old_inode)->i_sem); in f2fs_rename()
1246 f2fs_down_write(&F2FS_I(old_inode)->i_sem); in f2fs_cross_rename()
1252 f2fs_up_write(&F2FS_I(old_inode)->i_sem); in f2fs_cross_rename()
1256 f2fs_down_write(&F2FS_I(old_dir)->i_sem); in f2fs_cross_rename()
1258 f2fs_up_write(&F2FS_I(old_dir)->i_sem); in f2fs_cross_rename()
1265 f2fs_down_write(&F2FS_I(new_inode)->i_sem); in f2fs_cross_rename()
1271 f2fs_up_write(&F2FS_I(new_inode)->i_sem); in f2fs_cross_rename()
[all …]
Ddir.c739 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()
838 f2fs_down_write(&F2FS_I(inode)->i_sem); in f2fs_do_tmpfile()
849 f2fs_up_write(&F2FS_I(inode)->i_sem); in f2fs_do_tmpfile()
857 f2fs_down_write(&F2FS_I(inode)->i_sem); in f2fs_drop_nlink()
868 f2fs_up_write(&F2FS_I(inode)->i_sem); in f2fs_drop_nlink()
Dinline.c644 f2fs_down_write_nested(&F2FS_I(inode)->i_sem, in f2fs_add_inline_entry()
674 f2fs_up_write(&F2FS_I(inode)->i_sem); in f2fs_add_inline_entry()
Dfile.c236 f2fs_down_write(&fi->i_sem); in try_to_fix_pino()
242 f2fs_up_write(&fi->i_sem); in try_to_fix_pino()
317 f2fs_down_read(&F2FS_I(inode)->i_sem); in f2fs_do_sync_file()
319 f2fs_up_read(&F2FS_I(inode)->i_sem); in f2fs_do_sync_file()
530 f2fs_down_read(&F2FS_I(inode)->i_sem); in f2fs_file_mmap()
532 f2fs_up_read(&F2FS_I(inode)->i_sem); in f2fs_file_mmap()
1928 f2fs_down_write(&F2FS_I(inode)->i_sem); in f2fs_setflags_common()
1932 f2fs_up_write(&F2FS_I(inode)->i_sem); in f2fs_setflags_common()
1936 f2fs_up_write(&F2FS_I(inode)->i_sem); in f2fs_setflags_common()
3994 f2fs_down_write(&F2FS_I(inode)->i_sem); in f2fs_ioc_set_compress_option()
[all …]
Df2fs.h815 struct f2fs_rwsem i_sem; /* protect fi info */ member
Dsuper.c1415 init_f2fs_rwsem(&fi->i_sem); in f2fs_alloc_inode()
/Linux-v6.6/fs/jffs2/
DREADME.Locking43 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 to
49 avoid deadlocks with garbage collection -- the VFS will lock the i_sem
53 VFS. If the garbage collection code were to attempt to lock the i_sem
55 lead to deadlock, unless we played games with unlocking the i_sem