Home
last modified time | relevance | path

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

/linux-6.1.9/fs/overlayfs/
Ddir.c1110 bool new_is_dir = d_is_dir(new); in ovl_rename() local
1130 if (overwrite && new_is_dir && !ovl_pure_upper(new)) { in ovl_rename()
1265 else if (!overwrite && new_is_dir && !new_opaque && in ovl_rename()
1280 if (new_is_dir) in ovl_rename()
/linux-6.1.9/fs/
Dnamei.c4693 bool new_is_dir = false; in vfs_rename() local
4707 new_is_dir = d_is_dir(new_dentry); in vfs_rename()
4714 new_dentry, new_is_dir); in vfs_rename()
4733 if ((flags & RENAME_EXCHANGE) && new_is_dir) { in vfs_rename()
4763 if (is_dir && !new_is_dir && new_dir->i_nlink >= max_links) in vfs_rename()
4765 if ((flags & RENAME_EXCHANGE) && !is_dir && new_is_dir && in vfs_rename()
4774 if (target && !new_is_dir) { in vfs_rename()
4809 new_is_dir, NULL, new_dentry); in vfs_rename()
Dlibfs.c456 bool new_is_dir = d_is_dir(new_dentry); in simple_rename_exchange() local
458 if (old_dir != new_dir && old_is_dir != new_is_dir) { in simple_rename_exchange()
/linux-6.1.9/security/selinux/
Dhooks.c1860 int old_is_dir, new_is_dir; in may_rename() local
1899 new_is_dir = d_is_dir(new_dentry); in may_rename()
1903 (new_is_dir ? DIR__RMDIR : FILE__UNLINK), &ad); in may_rename()