Searched refs:tond (Results 1 – 4 of 4) sorted by relevance
/openbsd/regress/usr.bin/diff/ |
H A D | t9.1 | 1699 struct nameidata fromnd, tond; 1707 NDINIT(&tond, RENAME, LOCKPARENT | LOCKLEAF | NOCACHE | SAVESTART, 1709 if (error = namei(&tond)) { 1715 tdvp = tond.ni_dvp; 1716 tvp = tond.ni_vp; 1734 fromnd.ni_cnd.cn_namelen == tond.ni_cnd.cn_namelen && 1735 !bcmp(fromnd.ni_cnd.cn_nameptr, tond.ni_cnd.cn_nameptr, 1746 tond.ni_dvp, tond.ni_vp, &tond.ni_cnd); 1748 VOP_ABORTOP(tond.ni_dvp, &tond.ni_cnd); 1759 vrele(tond.ni_startdir); [all …]
|
H A D | t9.2 | 2305 struct nameidata fromnd, tond; 2322 NDINIT(&tond, RENAME, flags, 2324 if ((error = namei(&tond)) != 0) { 2330 tdvp = tond.ni_dvp; 2331 tvp = tond.ni_vp; 2359 tond.ni_dvp, tond.ni_vp, &tond.ni_cnd); 2361 VOP_ABORTOP(tond.ni_dvp, &tond.ni_cnd); 2372 vrele(tond.ni_startdir); 2373 FREE(tond.ni_cnd.cn_pnbuf, M_NAMEI);
|
/openbsd/sys/kern/ |
H A D | vfs_syscalls.c | 2971 struct nameidata fromnd, tond; in dorenameat() 2990 NDINITAT(&tond, RENAME, flags, UIO_USERSPACE, tofd, to, p); in dorenameat() 2991 tond.ni_pledge = PLEDGE_CPATH; in dorenameat() 2992 tond.ni_unveil = UNVEIL_CREATE; in dorenameat() 2993 if ((error = namei(&tond)) != 0) { in dorenameat() 2999 tdvp = tond.ni_dvp; in dorenameat() 3000 tvp = tond.ni_vp; in dorenameat() 3024 tond.ni_dvp, tond.ni_vp, &tond in dorenameat() 2972 struct nameidata fromnd, tond; dorenameat() local [all...] |
/openbsd/sys/nfs/ |
H A D | nfs_serv.c | 1603 struct nameidata fromnd, tond; in nfsrv_rename() local 1684 tond.ni_cnd.cn_cred = cred; in nfsrv_rename() 1685 error = nfs_namei(&tond, tfhp, len2, slp, nam, &info.nmi_md, in nfsrv_rename() 1702 tdvp = tond.ni_dvp; in nfsrv_rename() 1703 tvp = tond.ni_vp; in nfsrv_rename() 1733 fromnd.ni_cnd.cn_namelen == tond.ni_cnd.cn_namelen && in nfsrv_rename() 1734 !bcmp(fromnd.ni_cnd.cn_nameptr, tond.ni_cnd.cn_nameptr, in nfsrv_rename() 1743 tond.ni_dvp, tond.ni_vp, &tond.ni_cnd); in nfsrv_rename() 1745 VOP_ABORTOP(tond.ni_dvp, &tond.ni_cnd); in nfsrv_rename() 1758 vrele(tond.ni_startdir); in nfsrv_rename() [all …]
|