Lines Matching defs:tond
4633 struct nameidata fromnd, tond;
4649 NDINIT(&tond, CREATE, LOCKPARENT | LOCKLEAF | NOCACHE | SAVESTART | AUDITVNPATH2 | CN_NBMOUNTLOOK,
4651 if ((error = namei(&tond))) {
4654 tdvp = tond.ni_dvp;
4655 tvp = tond.ni_vp;
4681 error = VNOP_COPYFILE(fvp, tdvp, tvp, &tond.ni_cnd, uap->mode, uap->flags, ctx);
4683 sdvp = tond.ni_startdir;
4688 nameidone(&tond);
4717 struct nameidata fromnd, tond;
4751 NDINIT(&tond, RENAME, WANTPARENT | AUDITVNPATH2 | CN_NBMOUNTLOOK , UIO_USERSPACE, uap->to, ctx);
4753 tond.ni_cnd.cn_flags |= WILLBEDIR;
4755 if ( (error = namei(&tond)) ) {
4763 tdvp = tond.ni_dvp;
4764 tvp = tond.ni_vp;
4768 tdvp, tvp, fdvp == tdvp, &tond.ni_cnd);
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,
5012 nameidone(&tond);
5094 if ((to_len + 1 + tond.ni_cnd.cn_namelen + 1) < MAXPATHLEN) {
5100 strlcpy(&to_name[to_len], tond.ni_cnd.cn_nameptr, MAXPATHLEN-to_len);
5101 to_len += tond.ni_cnd.cn_namelen + 1;
5107 tdvp, tvp, &tond.ni_cnd,
5214 vnode_update_identity(fvp, tdvp, tond.ni_cnd.cn_nameptr, tond.ni_cnd.cn_namelen, tond.ni_cnd.cn_hash, update_flags);
5235 nameidone(&tond);