Searched refs:new_is_dir (Results 1 – 4 of 4) sorted by relevance
1110 bool new_is_dir = d_is_dir(new); in ovl_rename() local1130 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()
4693 bool new_is_dir = false; in vfs_rename() local4707 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()
456 bool new_is_dir = d_is_dir(new_dentry); in simple_rename_exchange() local458 if (old_dir != new_dir && old_is_dir != new_is_dir) { in simple_rename_exchange()
1860 int old_is_dir, new_is_dir; in may_rename() local1899 new_is_dir = d_is_dir(new_dentry); in may_rename()1903 (new_is_dir ? DIR__RMDIR : FILE__UNLINK), &ad); in may_rename()