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

/linux-4.1.27/fs/overlayfs/
H A Ddir.c721 bool new_is_dir = false; ovl_rename2() local
748 new_is_dir = true; ovl_rename2()
752 if (!overwrite && OVL_TYPE_MERGE_OR_LOWER(new_type) && new_is_dir) ovl_rename2()
814 if (overwrite && OVL_TYPE_MERGE_OR_LOWER(new_type) && new_is_dir) { ovl_rename2()
876 if (!overwrite && new_is_dir && old_opaque && !new_opaque) { ovl_rename2()
897 if (!overwrite && new_is_dir && old_opaque && !new_opaque) ovl_rename2()
904 if (!overwrite && new_is_dir && !old_opaque && new_opaque) ovl_rename2()
/linux-4.1.27/fs/
H A Dnamei.c4145 bool new_is_dir = false; vfs_rename() local
4158 new_is_dir = d_is_dir(new_dentry); vfs_rename()
4163 error = may_delete(new_dir, new_dentry, new_is_dir); vfs_rename()
4184 if ((flags & RENAME_EXCHANGE) && new_is_dir) { vfs_rename()
4209 if (is_dir && !new_is_dir && new_dir->i_nlink >= max_links) vfs_rename()
4211 if ((flags & RENAME_EXCHANGE) && !is_dir && new_is_dir && vfs_rename()
4222 if (target && !new_is_dir) { vfs_rename()
4261 new_is_dir, NULL, new_dentry); vfs_rename()
/linux-4.1.27/mm/
H A Dshmem.c2326 bool new_is_dir = d_is_dir(new_dentry); shmem_exchange() local
2328 if (old_dir != new_dir && old_is_dir != new_is_dir) { shmem_exchange()
/linux-4.1.27/security/selinux/
H A Dhooks.c1797 int old_is_dir, new_is_dir; may_rename() local
1832 new_is_dir = d_is_dir(new_dentry); may_rename()
1835 (new_is_dir ? DIR__RMDIR : FILE__UNLINK), &ad); may_rename()

Completed in 245 milliseconds