Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/syscall/
H A Dopen.c69 vnode_t *startvp; in copen() local
92 startvp = NULL; in copen()
104 startvp = NULL; in copen()
109 VN_HOLD(startvp); in copen()
122 VN_RELE(startvp); in copen()
126 startvp = vp; in copen()
142 startvp = NULL; in copen()
201 VN_RELE(startvp); in copen()
202 startvp = sdvp; in copen()
220 startvp, fd); 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()
91 if (startvp != NULL) in cfutimesat()
92 VN_RELE(startvp); in cfutimesat()
96 vp = startvp; in cfutimesat()
100 if (startvp != NULL) { 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 …]
/illumos-gate/usr/src/uts/common/os/
H A Dcore.c121 vnode_t *startvp, *rootvp; in remove_core_file() local
131 startvp = (fp[0] == '/' ? rootvp : PTOU(curproc)->u_cdir); in remove_core_file()
133 startvp = curproc->p_zone->zone_rootvp; in remove_core_file()
137 startvp = rootdir; in remove_core_file()
140 VN_HOLD(startvp); in remove_core_file()
144 startvp, CRED())) != 0) { in remove_core_file()
205 vnode_t *startvp, *rootvp; in create_core_file() local
223 startvp = rootvp = curproc->p_zone->zone_rootvp; in create_core_file()
225 startvp = rootvp = rootdir; in create_core_file()
231 VN_HOLD(startvp); in create_core_file()
[all …]
H A Dfio.c1509 vnode_t *startvp; in fgetstartvp() local
1520 startvp = NULL; in fgetstartvp()
1531 startvp = NULL; in fgetstartvp()
1540 VN_HOLD(startvp); in fgetstartvp()
1544 *startvpp = startvp; in fgetstartvp()
1555 vnode_t *startvp; in fsetattrat() local
1578 if (startvp != NULL) in fsetattrat()
1579 VN_RELE(startvp); in fsetattrat()
1583 vp = startvp; in fsetattrat()
1596 if (startvp != NULL) in fsetattrat()
[all …]
/illumos-gate/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
228 vnode_t *startvp; in lookuppnvp() local
260 startvp = vp; in lookuppnvp()
[all …]
H A Dvnode.c957 struct vnode *startvp, in vn_openat() argument
1036 (filemode & ~(FTRUNC|FEXCL)), umask, startvp)) in vn_openat()
1043 NULLVPP, &vp, startvp)) { in vn_openat()
1352 struct vnode *startvp) in vn_createat() argument
1397 (excl == EXCL) ? NULLVPP : vpp, startvp); in vn_createat()
1841 vn_removeat(vnode_t *startvp, char *fnamep, enum uio_seg seg, enum rm dirflag) in vn_removeat() argument
1858 if (error = lookuppnat(&pn, NULL, NO_FOLLOW, &dvp, &vp, startvp)) { in vn_removeat()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_pathname.c738 smb_lookuppathvptovp(smb_request_t *sr, char *path, vnode_t *startvp, in smb_lookuppathvptovp() argument
751 VN_HOLD(startvp); in smb_lookuppathvptovp()
757 rootvp, startvp, zone_kcred()) != 0) { in smb_lookuppathvptovp()
/illumos-gate/usr/src/lib/libzpool/common/
H A Dkernel.c171 int x3, vnode_t *startvp, int fd) in vn_openat() argument
176 ASSERT(startvp == rootdir); in vn_openat()
/illumos-gate/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,
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/sys/
H A Dvnode.h1246 mode_t umask, struct vnode *startvp, int fd);
1252 enum create why, int flag, mode_t umask, struct vnode *startvp);
1269 int vn_removeat(vnode_t *startvp, char *fnamep, enum uio_seg seg,
1290 void vn_setpath(vnode_t *rootvp, struct vnode *startvp, struct vnode *vp,
/illumos-gate/usr/src/uts/common/sys/
H A Dvnode.h1326 mode_t umask, struct vnode *startvp, int fd);
1332 enum create why, int flag, mode_t umask, struct vnode *startvp);
1347 int vn_removeat(vnode_t *startvp, char *fnamep, enum uio_seg seg,
1364 void vn_setpath(vnode_t *rootvp, struct vnode *startvp, struct vnode *vp,
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_event.c1683 vnode_t *startvp; in auf_mknodat() local
1703 fgetstartvp(fd, pnamep, &startvp) != 0) in auf_mknodat()
1707 startvp); in auf_mknodat()
1710 if (startvp != NULL) in auf_mknodat()
1711 VN_RELE(startvp); in auf_mknodat()