Home
last modified time | relevance | path

Searched refs:old_is_dir (Results 1 – 4 of 4) sorted by relevance

/linux/fs/ext2/
H A Dnamei.c328 bool old_is_dir = S_ISDIR(old_inode->i_mode); in ext2_rename() local
346 if (old_is_dir && old_dir != new_dir) { in ext2_rename()
358 if (old_is_dir && !ext2_empty_dir(new_inode)) in ext2_rename()
372 if (old_is_dir) in ext2_rename()
379 if (old_is_dir) in ext2_rename()
391 if (!err && old_is_dir) { in ext2_rename()
/linux/fs/f2fs/
H A Dnamei.c898 bool old_is_dir = S_ISDIR(old_inode->i_mode); in f2fs_rename() local
960 if (old_is_dir && old_dir != new_dir) { in f2fs_rename()
972 if (old_is_dir && !f2fs_empty_dir(new_inode)) in f2fs_rename()
997 if (old_is_dir) in f2fs_rename()
1017 if (old_is_dir) in f2fs_rename()
1022 if (!old_is_dir || whiteout) in f2fs_rename()
1050 if (old_is_dir) in f2fs_rename()
/linux/fs/
H A Dlibfs.c829 bool old_is_dir = d_is_dir(old_dentry); in simple_rename_exchange() local
832 if (old_dir != new_dir && old_is_dir != new_is_dir) { in simple_rename_exchange()
833 if (old_is_dir) { in simple_rename_exchange()
/linux/security/selinux/
H A Dhooks.c1897 int old_is_dir, new_is_dir; in may_rename() local
1902 old_is_dir = d_is_dir(old_dentry); in may_rename()
1916 if (old_is_dir && new_dir != old_dir) { in may_rename()