Home
last modified time | relevance | path

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

/linux-6.12.1/fs/ext2/
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-6.12.1/fs/f2fs/
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-6.12.1/fs/
Dlibfs.c825 bool old_is_dir = d_is_dir(old_dentry); in simple_rename_exchange() local
828 if (old_dir != new_dir && old_is_dir != new_is_dir) { in simple_rename_exchange()
829 if (old_is_dir) { in simple_rename_exchange()
/linux-6.12.1/security/selinux/
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()