Home
last modified time | relevance | path

Searched refs:startvp (Results 1 – 20 of 20) sorted by relevance

/titanic_44/usr/src/uts/common/syscall/
H A Dopen.c68 vnode_t *startvp; in copen() local
91 startvp = NULL; in copen()
103 startvp = NULL; in copen()
107 startvp = startfp->f_vnode; in copen()
108 VN_HOLD(startvp); in copen()
117 if (auditing && startvp != NULL) in copen()
120 NULLVPP, &vp, startvp)) in copen()
122 if (startvp != NULL) in copen()
123 VN_RELE(startvp); in copen()
125 startvp = vp; in copen()
[all …]
H A Dutime.c55 vnode_t *startvp, *vp; in cfutimesat() local
70 startvp = NULL; in cfutimesat()
78 startvp = fp->f_vnode; in cfutimesat()
79 VN_HOLD(startvp); in cfutimesat()
82 startvp = NULL; in cfutimesat()
87 if (AU_AUDITING() && startvp != NULL) in cfutimesat()
90 follow, NULLVPP, &vp, startvp)) != 0) { in cfutimesat()
91 if (startvp != NULL) in cfutimesat()
92 VN_RELE(startvp); in cfutimesat()
96 vp = startvp; in cfutimesat()
[all …]
H A Dunlink.c53 vnode_t *startvp; in unlinkat() local
58 if ((error = fgetstartvp(fd, name, &startvp)) != 0) in unlinkat()
60 if (AU_AUDITING() && startvp != NULL) in unlinkat()
63 error = vn_removeat(startvp, name, UIO_USERSPACE, in unlinkat()
65 if (startvp != NULL) in unlinkat()
66 VN_RELE(startvp); in unlinkat()
H A Daccess.c61 caccess(char *fname, int fmode, vnode_t *startvp) in caccess() argument
94 startvp, tmpcr)) { in caccess()
122 vnode_t *startvp; in faccessat() local
130 if ((error = fgetstartvp(fd, fname, &startvp)) != 0) in faccessat()
132 if (AU_AUDITING() && startvp != NULL) in faccessat()
140 error = caccess(fname, fmode, startvp); in faccessat()
141 if (startvp != NULL) in faccessat()
142 VN_RELE(startvp); in faccessat()
H A Dmkdir.c54 vnode_t *startvp; in mkdirat() local
65 if ((error = fgetstartvp(fd, dname, &startvp)) != 0) in mkdirat()
67 if (AU_AUDITING() && startvp != NULL) in mkdirat()
71 CRMKDIR, 0, PTOU(curproc)->u_cmask, startvp); in mkdirat()
72 if (startvp != NULL) in mkdirat()
73 VN_RELE(startvp); in mkdirat()
H A Dmknod.c61 vnode_t *startvp; in mknodat() local
95 if ((error = fgetstartvp(fd, fname, &startvp)) != 0) in mknodat()
97 if (AU_AUDITING() && startvp != NULL) in mknodat()
102 why, 0, PTOU(curproc)->u_cmask, startvp); in mknodat()
103 if (startvp != NULL) in mknodat()
104 VN_RELE(startvp); in mknodat()
H A Dsymlink.c58 vnode_t *startvp; in symlinkat() local
70 if ((error = fgetstartvp(dfd, linkname, &startvp)) != 0) in symlinkat()
76 if (auditing && startvp != NULL) in symlinkat()
78 if (error = lookuppnat(&lpn, NULL, NO_FOLLOW, &dvp, NULLVPP, startvp)) { in symlinkat()
107 if (startvp != NULL) in symlinkat()
108 VN_RELE(startvp); in symlinkat()
H A Dreadlink.c56 vnode_t *startvp; in readlinkat() local
69 if ((error = fgetstartvp(dfd, name, &startvp)) != 0) in readlinkat()
73 if (AU_AUDITING() && startvp != NULL) in readlinkat()
76 NULLVPP, &vp, startvp)) { in readlinkat()
111 if (startvp != NULL) in readlinkat()
112 VN_RELE(startvp); in readlinkat()
H A Dstat.c67 vnode_t *startvp; in cstatat_getvp() local
80 startvp = NULL; in cstatat_getvp()
92 startvp = fp->f_vnode; in cstatat_getvp()
95 VN_HOLD(startvp); in cstatat_getvp()
98 startvp = NULL; in cstatat_getvp()
105 if (AU_AUDITING() && startvp != NULL) in cstatat_getvp()
110 vp, startvp)) { in cstatat_getvp()
114 if (startvp != NULL) in cstatat_getvp()
115 VN_RELE(startvp); in cstatat_getvp()
119 if (startvp != NULL) in cstatat_getvp()
[all …]
/titanic_44/usr/src/uts/common/os/
H A Dcore.c120 vnode_t *startvp, *rootvp; in remove_core_file() local
130 startvp = (fp[0] == '/' ? rootvp : PTOU(curproc)->u_cdir); in remove_core_file()
132 startvp = curproc->p_zone->zone_rootvp; in remove_core_file()
136 startvp = rootdir; in remove_core_file()
139 VN_HOLD(startvp); in remove_core_file()
143 startvp, CRED())) != 0) { in remove_core_file()
204 vnode_t *startvp, *rootvp; in create_core_file() local
222 startvp = rootvp = curproc->p_zone->zone_rootvp; in create_core_file()
224 startvp = rootvp = rootdir; in create_core_file()
230 VN_HOLD(startvp); in create_core_file()
[all …]
H A Dfio.c1490 vnode_t *startvp; in fgetstartvp() local
1501 startvp = NULL; in fgetstartvp()
1512 startvp = NULL; in fgetstartvp()
1520 startvp = startfp->f_vnode; in fgetstartvp()
1521 VN_HOLD(startvp); in fgetstartvp()
1525 *startvpp = startvp; in fgetstartvp()
1536 vnode_t *startvp; in fsetattrat() local
1546 if ((error = fgetstartvp(fd, path, &startvp)) != 0) in fsetattrat()
1548 if (AU_AUDITING() && startvp != NULL) in fsetattrat()
1558 NULLVPP, &vp, startvp)) { in fsetattrat()
[all …]
/titanic_44/usr/src/uts/common/fs/
H A Dlookup.c88 vnode_t *startvp, /* start path search from vp */ in lookupnameatcred() argument
98 dirvpp, compvpp, startvp, cr); in lookupnameatcred()
107 dirvpp, compvpp, startvp, cr); in lookupnameatcred()
116 vnode_t **dirvpp, vnode_t **compvpp, vnode_t *startvp) in lookupnameat() argument
119 startvp, CRED())); in lookupnameat()
144 vnode_t *startvp, /* start search from this vp */ in lookuppnatcred() argument
163 vp = (startvp == NULL) ? PTOU(p)->u_cdir : startvp; in lookuppnatcred()
185 vnode_t *startvp) in lookuppnat() argument
187 return (lookuppnatcred(pnp, rpnp, followlink, dirvpp, compvpp, startvp, in lookuppnat()
228 vnode_t *startvp; in lookuppnvp() local
[all …]
H A Dvnode.c948 struct vnode *startvp, in vn_openat() argument
1003 (filemode & ~(FTRUNC|FEXCL)), umask, startvp)) in vn_openat()
1010 NULLVPP, &vp, startvp)) { in vn_openat()
1301 struct vnode *startvp) in vn_createat() argument
1346 (excl == EXCL) ? NULLVPP : vpp, startvp); in vn_createat()
1783 vn_removeat(vnode_t *startvp, char *fnamep, enum uio_seg seg, enum rm dirflag) in vn_removeat() argument
1800 if (error = lookuppnat(&pn, NULL, NO_FOLLOW, &dvp, &vp, startvp)) { in vn_removeat()
2933 vn_setpath(vnode_t *rootvp, struct vnode *startvp, struct vnode *vp, in vn_setpath() argument
2946 base = startvp; in vn_setpath()
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_lookup.c94 vnode_t *startvp; in lookuppnvp() local
120 startvp = vp; in lookuppnvp()
478 (VN_CMP(vp, rootvp) || (vp->v_flag & VROOT) || vp == startvp)) in lookuppnvp()
/titanic_44/usr/src/uts/common/fs/zut/
H A Dzut.c45 zut_open_dir(char *path, vnode_t *startvp, cred_t *cr, int flags, in zut_open_dir() argument
67 vp = (startvp == NULL) ? PTOU(p)->u_cdir : startvp; in zut_open_dir()
/titanic_44/usr/src/uts/common/fs/smbsrv/
H A Dsmb_pathname.c612 smb_lookuppathvptovp(smb_request_t *sr, char *path, vnode_t *startvp, in smb_lookuppathvptovp() argument
625 VN_HOLD(startvp); in smb_lookuppathvptovp()
631 rootvp, startvp, zone_kcred()) != 0) { in smb_lookuppathvptovp()
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/sys/
H A Dvnode.h1239 mode_t umask, struct vnode *startvp, int fd);
1245 enum create why, int flag, mode_t umask, struct vnode *startvp);
1262 int vn_removeat(vnode_t *startvp, char *fnamep, enum uio_seg seg,
1283 void vn_setpath(vnode_t *rootvp, struct vnode *startvp, struct vnode *vp,
/titanic_44/usr/src/uts/common/sys/
H A Dvnode.h1244 mode_t umask, struct vnode *startvp, int fd);
1250 enum create why, int flag, mode_t umask, struct vnode *startvp);
1265 int vn_removeat(vnode_t *startvp, char *fnamep, enum uio_seg seg,
1282 void vn_setpath(vnode_t *rootvp, struct vnode *startvp, struct vnode *vp,
/titanic_44/usr/src/lib/libzpool/common/
H A Dkernel.c484 int x3, vnode_t *startvp, int fd) in vn_openat() argument
489 ASSERT(startvp == rootdir); in vn_openat()
/titanic_44/usr/src/uts/common/c2/
H A Daudit_event.c1679 vnode_t *startvp; in auf_mknodat() local
1699 fgetstartvp(fd, pnamep, &startvp) != 0) in auf_mknodat()
1703 startvp); in auf_mknodat()
1706 if (startvp != NULL) in auf_mknodat()
1707 VN_RELE(startvp); in auf_mknodat()