Lines Matching refs:newnd
2625 struct nameidata oldnd, newnd;
2634 error = user_path_parent(newdfd, newname, &newnd, &to);
2639 if (oldnd.path.mnt != newnd.path.mnt)
2647 new_dir = newnd.path.dentry;
2648 if (newnd.last_type != LAST_NORM)
2652 newnd.flags &= ~LOOKUP_PARENT;
2653 newnd.flags |= LOOKUP_RENAME_TARGET;
2670 if (newnd.last.name[newnd.last.len])
2677 new_dentry = lookup_hash(&newnd);
2690 &newnd.path, new_dentry);
2704 path_put(&newnd.path);