Lines Matching refs:new
667 struct dentry *new) in ovl_link() argument
680 err = ovl_copy_up(new->d_parent); in ovl_link()
697 err = ovl_create_or_link(new, inode, in ovl_link()
1024 struct inode *newdir, struct dentry *new, in ovl_rename() argument
1039 bool new_is_dir = d_is_dir(new); in ovl_rename()
1055 if (!overwrite && !ovl_can_move(new)) in ovl_rename()
1058 if (overwrite && new_is_dir && !ovl_pure_upper(new)) { in ovl_rename()
1059 err = ovl_check_empty_dir(new, &list); in ovl_rename()
1066 if (!ovl_dentry_is_whiteout(new)) { in ovl_rename()
1073 } else if (is_dir && ovl_dentry_is_whiteout(new)) { in ovl_rename()
1087 err = ovl_copy_up(new->d_parent); in ovl_rename()
1091 err = ovl_copy_up(new); in ovl_rename()
1094 } else if (d_inode(new)) { in ovl_rename()
1095 err = ovl_nlink_start(new); in ovl_rename()
1105 opaquedir = ovl_clear_empty(new, &list); in ovl_rename()
1114 new_upperdir = ovl_dentry_upper(new->d_parent); in ovl_rename()
1124 err = ovl_set_impure(new->d_parent, new_upperdir); in ovl_rename()
1128 if (!overwrite && ovl_type_origin(new)) { in ovl_rename()
1147 newdentry = lookup_one_len(new->d_name.name, new_upperdir, in ovl_rename()
1148 new->d_name.len); in ovl_rename()
1154 new_opaque = ovl_dentry_is_opaque(new); in ovl_rename()
1157 if (d_inode(new) && ovl_dentry_upper(new)) { in ovl_rename()
1162 if (!ovl_matches_upper(new, newdentry)) in ovl_rename()
1182 else if (is_dir && !old_opaque && ovl_type_merge(new->d_parent)) in ovl_rename()
1187 if (!overwrite && ovl_type_merge_or_lower(new)) in ovl_rename()
1188 err = ovl_set_redirect(new, samedir); in ovl_rename()
1191 err = ovl_set_opaque_xerr(new, newdentry, -EXDEV); in ovl_rename()
1203 if (overwrite && d_inode(new)) { in ovl_rename()
1205 clear_nlink(d_inode(new)); in ovl_rename()
1207 drop_nlink(d_inode(new)); in ovl_rename()
1211 (!overwrite && ovl_type_origin(new))); in ovl_rename()
1212 ovl_dir_modified(new->d_parent, ovl_type_origin(old) || in ovl_rename()
1213 (d_inode(new) && ovl_type_origin(new))); in ovl_rename()
1217 if (d_inode(new) && ovl_dentry_upper(new)) in ovl_rename()
1218 ovl_copyattr(d_inode(newdentry), d_inode(new)); in ovl_rename()
1229 ovl_nlink_end(new); in ovl_rename()