Searched refs:vpp (Results 1 - 25 of 136) sorted by relevance

123456

/illumos-gate/usr/src/uts/common/vm/
H A Dvpage.h64 * WARNING: VPP_SETADVICE(vpp, x) evaluates vpp twice, and VPP_PLOCK(vpp)
74 #define VPP_PROT(vpp) ((vpp)->nvp_prot)
75 #define VPP_ADVICE(vpp) ((vpp)->nvp_advice & VP_ADVICE_MASK)
76 #define VPP_ISPPLOCK(vpp) \
77 ((uchar_t)((vpp)->nvp_advice & VP_PPLOCK_MASK))
78 #define VPP_ISSWAPRES(vpp) \
[all...]
/illumos-gate/usr/src/uts/common/fs/lofs/
H A Dlofs_vnops.c50 lo_open(vnode_t **vpp, int flag, struct cred *cr, caller_context_t *ct) argument
52 vnode_t *vp = *vpp;
76 *vpp = makelonode(rvp, vtoli(oldvp->v_vfsp), 0);
77 if ((*vpp)->v_type == VDIR) {
81 (vtol(*vpp))->lo_looping |= (vtol(oldvp))->lo_looping;
83 if (IS_DEVVP(*vpp)) {
86 svp = specvp(*vpp, (*vpp)->v_rdev, (*vpp)->v_type, cr);
87 VN_RELE(*vpp);
291 lo_lookup( vnode_t *dvp, char *nm, vnode_t **vpp, struct pathname *pnp, int flags, vnode_t *rdir, struct cred *cr, caller_context_t *ct, int *direntflags, pathname_t *realpnp) argument
663 lo_create( vnode_t *dvp, char *nm, struct vattr *va, enum vcexcl exclusive, int mode, vnode_t **vpp, struct cred *cr, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument
902 lo_mkdir( vnode_t *dvp, char *nm, struct vattr *va, vnode_t **vpp, struct cred *cr, caller_context_t *ct, int flags, vsecattr_t *vsecp) argument
924 lo_realvp(vnode_t *vp, vnode_t **vpp, caller_context_t *ct) argument
[all...]
H A Dlofs_vfsops.c455 lo_root(struct vfs *vfsp, struct vnode **vpp) argument
457 *vpp = vtoli(vfsp)->li_rootvp;
459 lo_dprint(4, "lo_root(0x%p) = %p\n", vfsp, *vpp);
466 if (IS_DEVVP(*vpp)) {
469 svp = specvp(*vpp, (*vpp)->v_rdev, (*vpp)->v_type, kcred);
472 *vpp = svp;
474 VN_HOLD(*vpp);
525 lo_vget(struct vfs *vfsp, struct vnode **vpp, struc argument
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_shadow.c83 * directory file handle and name. May replace *vpp with a held reference
89 sv_activate(vnode_t **vpp, vnode_t *dvp, nfs4_fname_t **namepp, int newnode) argument
94 rnode4_t *rp = VTOR4(*vpp);
95 svp = VTOSV(*vpp);
123 } else if ((*vpp)->v_type == VREG && !((*vpp)->v_flag & VROOT)) {
124 resvp = sv_find(*vpp, dvp, namepp);
126 VN_RELE(*vpp);
127 *vpp = resvp;
346 sv_exchange(vnode_t **vpp) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_latest.c125 ctfs_latest_open(vnode_t **vpp, int flag, cred_t *cr, caller_context_t *ct) argument
132 if (nvp = ctfs_latest_nested_open(*vpp, cr)) {
133 VN_RELE(*vpp);
134 *vpp = nvp;
135 return (VOP_OPEN(vpp, flag, cr, ct));
H A Dctfs_tdir.c138 ctfs_tdir_do_lookup(vnode_t *vp, const char *nm, vnode_t **vpp, ino64_t *inop, argument
153 *vpp = ctfs_create_cdirnode(vp, ct);
154 *inop = gfs_file_inode(*vpp);
/illumos-gate/usr/src/ucbhead/sys/
H A Dvfs.h159 #define VFS_ROOT(vfsp, vpp) (*(vfsp)->vfs_op->vfs_root)(vfsp, vpp)
162 #define VFS_VGET(vfsp, vpp, fidp) \
163 (*(vfsp)->vfs_op->vfs_vget)(vfsp, vpp, fidp)
166 #define VFS_SWAPVP(vfsp, vpp, nm) \
167 (*(vfsp)->vfs_op->vfs_swapvp)(vfsp, vpp, nm)
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dpriocntl.c129 pc_vaparm_t *vpp = &vp->pc_parms[0]; local
133 (key = va_arg(valist, int)) != PC_KY_NULL; vpp++) {
137 vpp->pc_key = key;
138 vpp->pc_parm = va_arg(valist, uintptr_t);
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_snap.c235 vnode_t **vpp; local
238 vpp = (vnode_t **)kmem_zalloc((count + 1) * sizeof (vnode_t *),
240 *vppp = vpp;
251 *vpp = fp->f_vnode;
256 if ((*vpp)->v_vfsp == ufsvfsp->vfs_vfs) {
261 vpp++;
269 vnode_t **vpp; local
271 vpp = *bvppp;
272 while (*vpp) {
273 VN_RELE(*vpp);
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dchdir.c167 vnode_t **vpp; local
212 vpp = &PTOU(pp)->u_rdir;
214 vpp = &PTOU(pp)->u_cdir;
219 audit_chdirec(vp, vpp);
227 if (!ischroot && *vpp != NULL && vp != NULL && VN_CMP(*vpp, vp))
230 oldvp = *vpp;
231 *vpp = vp;
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_ptsops.c291 devpts_lookup(struct vnode *dvp, char *nm, struct vnode **vpp, argument
300 error = devname_lookup_func(sdvp, nm, vpp, cred, devpts_create_rvp,
304 switch ((*vpp)->v_type) {
306 dv = VTOSDEV(VTOS(*vpp)->s_realvp);
310 dv = VTOSDEV(*vpp);
314 "type: %p: %d", (void *)(*vpp), (*vpp)->v_type);
332 int mode, struct vnode **vpp, struct cred *cred, int flag,
338 *vpp = NULL;
353 *vpp
331 devpts_create(struct vnode *dvp, char *nm, struct vattr *vap, vcexcl_t excl, int mode, struct vnode **vpp, struct cred *cred, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument
[all...]
H A Dsdev_ipnetops.c105 devipnet_lookup(struct vnode *dvp, char *nm, struct vnode **vpp, argument
114 error = devname_lookup_func(sdvp, nm, vpp, cred, devipnet_create_rvp,
118 switch ((*vpp)->v_type) {
120 dv = VTOSDEV(VTOS(*vpp)->s_realvp);
124 dv = VTOSDEV(*vpp);
128 "type: %p: %d", (void *)(*vpp), (*vpp)->v_type);
H A Dsdev_vtops.c184 devvt_lookup(struct vnode *dvp, char *nm, struct vnode **vpp, argument
202 error = devname_lookup_func(sdvp, nm, vpp, cred,
209 switch ((*vpp)->v_type) {
211 dv = VTOSDEV(VTOS(*vpp)->s_realvp);
216 dv = VTOSDEV(*vpp);
220 "type: %p: %d", (void *)(*vpp), (*vpp)->v_type);
452 int mode, struct vnode **vpp, struct cred *cred, int flag,
458 *vpp = NULL;
477 *vpp
451 devvt_create(struct vnode *dvp, char *nm, struct vattr *vap, vcexcl_t excl, int mode, struct vnode **vpp, struct cred *cred, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument
[all...]
H A Dsdev_netops.c112 devnet_lookup(struct vnode *dvp, char *nm, struct vnode **vpp, argument
131 *vpp = SDEVTOV(ddv);
132 VN_HOLD(*vpp);
140 *vpp = SDEVTOV(ddv->sdev_dotdot);
141 VN_HOLD(*vpp);
193 return (sdev_to_vp(dv, vpp));
201 *vpp = NULL;
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dhsfs_impl.h51 struct vnode **vpp);
54 struct vnode **vpp, struct cred *cred);
/illumos-gate/usr/src/uts/common/fs/doorfs/
H A Ddoor_vnops.c41 static int door_open(struct vnode **vpp, int flag, struct cred *cr,
51 static int door_realvp(vnode_t *vp, vnode_t **vpp, caller_context_t *ct);
75 door_open(struct vnode **vpp, int flag, struct cred *cr, caller_context_t *ct) argument
84 door_node_t *dp = VTOD((*vpp));
251 door_realvp(vnode_t *vp, vnode_t **vpp, caller_context_t *ct) argument
253 *vpp = vp;
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_ctldir.c286 zfsctl_common_open(vnode_t **vpp, int flags, cred_t *cr, caller_context_t *ct) argument
299 zfsctl_common_close(vnode_t *vpp, int flags, int count, offset_t off, argument
451 zfsctl_root_lookup(vnode_t *dvp, char *nm, vnode_t **vpp, pathname_t *pnp, argument
467 err = VFS_ROOT(dvp->v_vfsp, vpp);
469 err = gfs_vop_lookup(dvp, nm, vpp, pnp, flags, rdir,
741 zfsctl_snapdir_mkdir(vnode_t *dvp, char *dirname, vattr_t *vap, vnode_t **vpp, argument
755 *vpp = NULL;
765 err = lookupnameat(dirname, seg, follow, NULL, vpp, dvp);
778 zfsctl_snapdir_lookup(vnode_t *dvp, char *nm, vnode_t **vpp, pathname_t *pnp, argument
814 if (gfs_lookup_dot(vpp, dv
951 zfsctl_shares_lookup(vnode_t *dvp, char *nm, vnode_t **vpp, pathname_t *pnp, int flags, vnode_t *rdir, cred_t *cr, caller_context_t *ct, int *direntflags, pathname_t *realpnp) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/fd/
H A Dfdops.c82 fdopen(vnode_t **vpp, int mode, cred_t *cr, caller_context_t *ct) argument
84 if ((*vpp)->v_type != VDIR) {
85 mutex_enter(&(*vpp)->v_lock);
86 (*vpp)->v_flag |= VDUP;
87 mutex_exit(&(*vpp)->v_lock);
204 fdlookup(vnode_t *dp, char *comp, vnode_t **vpp, pathname_t *pnp, argument
210 *vpp = dp;
213 return (fdget(dp, comp, vpp));
219 int mode, vnode_t **vpp, cred_t *cr, int flag, caller_context_t *ct,
222 return (fdget(dvp, comp, vpp));
218 fdcreate(vnode_t *dvp, char *comp, vattr_t *vap, enum vcexcl excl, int mode, vnode_t **vpp, cred_t *cr, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument
337 fdget(struct vnode *dvp, char *comp, struct vnode **vpp) argument
433 fdroot(vfs_t *vfsp, vnode_t **vpp) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/
H A Dxattr.c139 xattr_file_open(vnode_t **vpp, int flags, cred_t *cr, caller_context_t *ct) argument
141 xattr_file_t *np = (*vpp)->v_data;
1021 xattr_dir_open(vnode_t **vpp, int flags, cred_t *cr, caller_context_t *ct) argument
1035 error = xattr_dir_realdir(*vpp, &realvp, LOOKUP_XATTR, cr, ct);
1193 int mode, vnode_t **vpp, cred_t *cr, int flag, caller_context_t *ct,
1199 *vpp = NULL;
1205 return (gfs_dir_lookup(dvp, name, vpp, cr, 0, NULL, NULL));
1211 error = VOP_CREATE(pvp, name, vap, excl, mode, vpp, cr, flag,
1528 xattr_lookup_cb(vnode_t *vp, const char *nm, vnode_t **vpp, ino64_t *inop, argument
1535 *vpp
1192 xattr_dir_create(vnode_t *dvp, char *name, vattr_t *vap, vcexcl_t excl, int mode, vnode_t **vpp, cred_t *cr, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument
1585 xattr_dir_lookup(vnode_t *dvp, vnode_t **vpp, int flags, cred_t *cr) argument
1691 xattr_dir_vget(vfs_t *vfsp, vnode_t **vpp, fid_t *fidp) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/namefs/
H A Dnamevno.c77 nm_open(vnode_t **vpp, int flag, cred_t *crp, caller_context_t *ct) argument
79 struct namenode *nodep = VTONM(*vpp);
121 newvp->v_flag = ((*vpp)->v_flag | VNOMAP | VNOSWAP) & ~VROOT;
122 vn_setops(newvp, vn_getops(*vpp));
151 VN_RELE(*vpp);
152 *vpp = NMTOV(newnamep);
359 int mode, vnode_t **vpp, cred_t *cr, int flag,
443 * Return the vnode representing the file descriptor in vpp.
446 nm_realvp(vnode_t *vp, vnode_t **vpp, caller_context_t *ct) argument
453 *vpp
358 nm_create(vnode_t *dvp, char *name, vattr_t *vap, enum vcexcl excl, int mode, vnode_t **vpp, cred_t *cr, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_vfs.c234 objfs_root(vfs_t *vfsp, vnode_t **vpp) argument
238 *vpp = data->objfs_vfs_root;
239 VN_HOLD(*vpp);
/illumos-gate/usr/src/uts/common/fs/sharefs/
H A Dsharefs_vfsops.c266 sharefs_root(vfs_t *vfsp, vnode_t **vpp) argument
270 *vpp = data->sharefs_vfs_root;
271 VN_HOLD(*vpp);
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_node.c159 struct smbfattr *fap, vnode_t **vpp)
167 *vpp = NULL;
199 *vpp = vp;
158 smbfs_nget(vnode_t *dvp, const char *name, int nmlen, struct smbfattr *fap, vnode_t **vpp) argument
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_vnops.c123 auto_open(vnode_t **vpp, int flag, cred_t *cred, caller_context_t *ct) argument
128 AUTOFS_DPRINT((4, "auto_open: *vpp=%p\n", (void *)*vpp));
130 error = auto_trigger_mount(*vpp, cred, &newvp);
138 VN_RELE(*vpp);
139 *vpp = newvp;
140 error = VOP_ACCESS(*vpp, VREAD, 0, cred, ct);
142 error = VOP_OPEN(vpp, flag, cred, ct);
146 AUTOFS_DPRINT((5, "auto_open: *vpp=%p error=%d\n", (void *)*vpp,
353 auto_lookup( vnode_t *dvp, char *nm, vnode_t **vpp, pathname_t *pnp, int flags, vnode_t *rdir, cred_t *cred, caller_context_t *ct, int *direntflags, pathname_t *realpnp) argument
663 auto_create( vnode_t *dvp, char *nm, vattr_t *va, vcexcl_t excl, int mode, vnode_t **vpp, cred_t *cred, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument
863 auto_mkdir( vnode_t *dvp, char *nm, vattr_t *va, vnode_t **vpp, cred_t *cred, caller_context_t *ct, int flags, vsecattr_t *vsecp) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzfs_ctldir.h57 int zfsctl_root_lookup(vnode_t *dvp, char *nm, vnode_t **vpp, pathname_t *pnp,

Completed in 91 milliseconds

123456