Lines Matching refs:fromnd
4633 struct nameidata fromnd, tond;
4643 NDINIT(&fromnd, LOOKUP, SAVESTART | AUDITVNPATH1,
4645 if ((error = namei(&fromnd)))
4647 fvp = fromnd.ni_vp;
4697 if (fromnd.ni_startdir)
4698 vnode_put(fromnd.ni_startdir);
4699 nameidone(&fromnd);
4717 struct nameidata fromnd, tond;
4738 NDINIT(&fromnd, DELETE, WANTPARENT | AUDITVNPATH1, UIO_USERSPACE, uap->from, ctx);
4740 if ( (error = namei(&fromnd)) )
4742 fdvp = fromnd.ni_dvp;
4743 fvp = fromnd.ni_vp;
4746 error = mac_vnode_check_rename_from(ctx, fdvp, fvp, &fromnd.ni_cnd);
4925 (fromnd.ni_cnd.cn_namelen == 1 && fromnd.ni_cnd.cn_nameptr[0] == '.') ||
4926 ((fromnd.ni_cnd.cn_flags | tond.ni_cnd.cn_flags) & ISDOTDOT)) ) {
4968 if (fromnd.ni_cnd.cn_namelen == tond.ni_cnd.cn_namelen &&
4969 !bcmp(fromnd.ni_cnd.cn_nameptr, tond.ni_cnd.cn_nameptr,
4970 fromnd.ni_cnd.cn_namelen)) {
5022 nameidone(&fromnd);
5074 if ((from_len + 1 + fromnd.ni_cnd.cn_namelen + 1) < MAXPATHLEN) {
5080 strlcpy(&from_name[from_len], fromnd.ni_cnd.cn_nameptr, MAXPATHLEN-from_len);
5081 from_len += fromnd.ni_cnd.cn_namelen + 1;
5106 error = VNOP_RENAME(fdvp, fvp, &fromnd.ni_cnd,
5246 nameidone(&fromnd);