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

12345

/freebsd-10.1-release/bin/sh/
H A Dvar.c158 struct var **vpp; local
162 if (find_var(ip->text, &vpp, &vp->name_len) != NULL)
164 vp->next = *vpp;
165 *vpp = vp;
173 if (find_var("PS1", &vpp, &vps1.name_len) == NULL) {
174 vps1.next = *vpp;
175 *vpp = &vps1;
319 struct var *vp, **vpp; local
326 vp = find_var(s, &vpp, &nlen);
380 vp->next = *vpp;
543 struct var **vpp; local
588 struct var **vpp; local
644 struct var **vpp; local
745 struct var **vpp; local
866 struct var **vpp; local
924 struct var *vp, **vpp; local
[all...]
/freebsd-10.1-release/sys/fs/pseudofs/
H A Dpseudofs_vncache.c111 pfs_vncache_alloc(struct mount *mp, struct vnode **vpp, argument
132 *vpp = vp;
153 error = getnewvnode("pseudofs", mp, &pfs_vnodeops, vpp);
160 (*vpp)->v_data = pvd;
163 (*vpp)->v_vflag = VV_ROOT;
172 (*vpp)->v_type = VDIR;
175 (*vpp)->v_type = VREG;
178 (*vpp)->v_type = VLNK;
190 (*vpp)->v_vflag |= VV_PROCDEP;
191 pvd->pvd_vnode = *vpp;
[all...]
/freebsd-10.1-release/sys/fs/fuse/
H A Dfuse_node.c177 struct vnode **vpp)
188 *vpp = NULL;
189 err = vfs_hash_get(mp, fuse_vnode_hash(nodeid), LK_EXCLUSIVE, td, vpp,
194 if (*vpp) {
195 MPASS((*vpp)->v_type == vtyp && (*vpp)->v_data != NULL);
200 err = getnewvnode("fuse", mp, &fuse_vnops, vpp);
205 lockmgr((*vpp)->v_vnlock, LK_EXCLUSIVE, NULL);
206 fuse_vnode_init(*vpp, fvdat, nodeid, vtyp);
207 err = insmntque(*vpp, m
173 fuse_vnode_alloc(struct mount *mp, struct thread *td, uint64_t nodeid, enum vtype vtyp, struct vnode **vpp) argument
229 fuse_vnode_get(struct mount *mp, uint64_t nodeid, struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, enum vtype vtyp) argument
[all...]
H A Dfuse_vfsops.c438 fuse_vfsop_root(struct mount *mp, int lkflags, struct vnode **vpp) argument
446 *vpp = data->vroot;
448 err = fuse_vnode_get(mp, FUSE_ROOT_ID, NULL, vpp, NULL, VDIR);
451 MPASS(data->vroot == NULL || data->vroot == *vpp);
454 data->vroot = *vpp;
456 vref(*vpp);
457 } else if (data->vroot != *vpp) {
460 VOP_UNLOCK(*vpp, 0);
461 vrele(*vpp);
462 vrecycle(*vpp);
[all...]
H A Dfuse_node.h116 struct vnode **vpp,
/freebsd-10.1-release/sys/ufs/ufs/
H A Dufs_vfsops.c69 ufs_root(mp, flags, vpp)
72 struct vnode **vpp;
80 *vpp = nvp;
211 ufs_fhtovp(mp, ufhp, flags, vpp)
215 struct vnode **vpp;
223 *vpp = NULLVP;
230 *vpp = NULLVP;
233 *vpp = nvp;
234 vnode_create_vobject(*vpp, DIP(ip, i_size), curthread);
/freebsd-10.1-release/sys/fs/nullfs/
H A Dnull_vfsops.c262 nullfs_root(mp, flags, vpp)
265 struct vnode **vpp;
281 *vpp = vp;
339 nullfs_vget(mp, ino, flags, vpp)
343 struct vnode **vpp;
350 error = VFS_VGET(MOUNTTONULLMOUNT(mp)->nullm_vfs, ino, flags, vpp);
353 return (null_nodeget(mp, *vpp, vpp));
357 nullfs_fhtovp(mp, fidp, flags, vpp)
361 struct vnode **vpp;
[all...]
H A Dnull_subr.c198 null_nodeget(mp, lowervp, vpp)
201 struct vnode **vpp;
211 *vpp = null_hashget(mp, lowervp);
212 if (*vpp != NULL) {
261 *vpp = null_hashins(mp, xp);
262 if (*vpp != NULL) {
267 *vpp = vp;
H A Dnull.h68 int null_nodeget(struct mount *mp, struct vnode *target, struct vnode **vpp);
/freebsd-10.1-release/sys/kern/
H A Dvfs_hash.c72 vfs_hash_get(const struct mount *mp, u_int hash, int flags, struct thread *td, struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) argument
93 *vpp = vp;
98 *vpp = NULL;
114 vfs_hash_insert(struct vnode *vp, u_int hash, int flags, struct thread *td, struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) argument
119 *vpp = NULL;
140 *vpp = vp2;
H A Dvfs_cache.c459 * succeeds, the vnode is returned in *vpp, and a status of -1 is
466 * vpp is locked and ref'd on return. If we're looking up DOTDOT, dvp is
472 cache_lookup(dvp, vpp, cnp, tsp, ticksp)
474 struct vnode **vpp;
496 *vpp = dvp;
501 *vpp, 0, 0);
526 *vpp = ncp->nc_vp;
528 *vpp = ncp->nc_dvp;
530 if (*vpp == NULL)
533 dvp, cnp->cn_nameptr, *vpp);
1019 struct vnode **vpp = ap->a_vpp; local
[all...]
/freebsd-10.1-release/sys/fs/smbfs/
H A Dsmbfs_node.c103 struct smbfattr *fap, struct vnode **vpp)
127 *vpp = vp;
139 vpp, smbfs_vnode_cmp, &sc);
142 if (*vpp) {
143 np = VTOSMB(*vpp);
145 (void)VOP_GETATTR(*vpp, &vattr, td->td_ucred);
152 if (((*vpp)->v_type == VDIR &&
154 ((*vpp)->v_type == VREG &&
156 vgone(*vpp);
157 vput(*vpp);
101 smbfs_node_alloc(struct mount *mp, struct vnode *dvp, const char *dirnm, int dirlen, const char *name, int nmlen, char sep, struct smbfattr *fap, struct vnode **vpp) argument
228 smbfs_nget(struct mount *mp, struct vnode *dvp, const char *name, int nmlen, struct smbfattr *fap, struct vnode **vpp) argument
[all...]
/freebsd-10.1-release/sys/fs/cd9660/
H A Dcd9660_lookup.c61 struct vnode **vpp)
66 return (cd9660_vget_internal(mp, dd_arg->i_ino, lkflags, vpp,
135 struct vnode **vpp = ap->a_vpp; local
142 *vpp = NULL;
332 cache_enter(vdp, *vpp, cnp);
396 *vpp = tdp;
410 *vpp = vdp;
418 *vpp = tdp;
425 cache_enter(vdp, *vpp, cnp);
60 cd9660_ino_alloc(struct mount *mp, void *arg, int lkflags, struct vnode **vpp) argument
H A Dcd9660_vfsops.c541 cd9660_root(mp, flags, vpp)
544 struct vnode **vpp;
555 return (cd9660_vget_internal(mp, ino, flags, vpp,
593 cd9660_fhtovp(mp, fhp, flags, vpp)
597 struct vnode **vpp;
612 *vpp = NULLVP;
618 *vpp = NULLVP;
621 *vpp = nvp;
622 vnode_create_vobject(*vpp, ip->i_size, curthread);
627 cd9660_vget(mp, ino, flags, vpp)
[all...]
/freebsd-10.1-release/sys/fs/fdescfs/
H A Dfdesc_vnops.c149 fdesc_allocvp(ftype, fd_fd, ix, mp, vpp)
154 struct vnode **vpp;
185 *vpp = vp;
206 *vpp = NULLVP;
221 *vpp = NULLVP;
238 *vpp = vp2;
246 *vpp = vp;
262 struct vnode **vpp = ap->a_vpp; local
280 *vpp = dvp;
352 *vpp
[all...]
H A Dfdesc_vfsops.c160 fdesc_root(mp, flags, vpp)
163 struct vnode **vpp;
172 *vpp = vp;
/freebsd-10.1-release/sys/cddl/compat/opensolaris/sys/
H A Dvnode.h90 #define VOP_REALVP(vp, vpp, ct) (*(vpp) = (vp), 0)
161 vnode_t **vpp, enum create crwhy, mode_t umask, struct vnode *startvp,
203 *vpp = nd.ni_vp;
210 vnode_t **vpp, enum create crwhy, mode_t umask)
213 return (vn_openat(pnamep, seg, filemode, createmode, vpp, crwhy,
216 #define vn_open(pnamep, seg, filemode, createmode, vpp, crwhy, umask) \
217 zfs_vn_open((pnamep), (seg), (filemode), (createmode), (vpp), (crwhy), (umask))
160 vn_openat(char *pnamep, enum uio_seg seg, int filemode, int createmode, vnode_t **vpp, enum create crwhy, mode_t umask, struct vnode *startvp, int fd) argument
209 zfs_vn_open(char *pnamep, enum uio_seg seg, int filemode, int createmode, vnode_t **vpp, enum create crwhy, mode_t umask) argument
/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_ctldir.c523 zfsctl_root_lookup(vnode_t *dvp, char *nm, vnode_t **vpp, pathname_t *pnp, argument
539 err = VFS_ROOT(dvp->v_vfsp, LK_EXCLUSIVE, vpp);
541 VOP_UNLOCK(*vpp, 0);
543 err = gfs_vop_lookup(dvp, nm, vpp, pnp, flags, rdir,
600 vnode_t **vpp = ap->a_vpp; local
613 err = zfsctl_root_lookup(dvp, nm, vpp, NULL, 0, NULL, cr, NULL, NULL, NULL);
615 vn_lock(*vpp, LK_EXCLUSIVE | LK_RETRY);
878 zfsctl_snapdir_mkdir(vnode_t *dvp, char *dirname, vattr_t *vap, vnode_t **vpp, argument
892 *vpp = NULL;
902 err = lookupnameat(dirname, seg, follow, NULL, vpp, dv
939 vnode_t **vpp = ap->a_vpp; local
1120 vnode_t **vpp = ap->a_vpp; local
1510 zfsctl_traverse_begin(vnode_t **vpp, int lktype) argument
1574 vnode_t **vpp = ap->a_vpp; local
[all...]
/freebsd-10.1-release/sys/fs/ext2fs/
H A Dext2_vfsops.c898 ext2_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) argument
911 error = vfs_hash_get(mp, ino, flags, td, vpp, NULL, NULL);
912 if (error || *vpp != NULL)
921 *vpp = NULL;
935 *vpp = NULL;
938 error = vfs_hash_insert(vp, ino, flags, td, vpp, NULL, NULL);
939 if (error || *vpp != NULL)
953 *vpp = NULL;
988 *vpp = NULL;
1005 *vpp
1020 ext2_fhtovp(struct mount *mp, struct fid *fhp, int flags, struct vnode **vpp) argument
1105 ext2_root(struct mount *mp, int flags, struct vnode **vpp) argument
[all...]
/freebsd-10.1-release/sys/fs/msdosfs/
H A Dmsdosfs_lookup.c64 static int msdosfs_lookup_(struct vnode *vdp, struct vnode **vpp,
112 msdosfs_lookup_(struct vnode *vdp, struct vnode **vpp, argument
155 if (vpp != NULL)
156 *vpp = NULL;
420 cache_enter(vdp, *vpp, cnp);
497 *vpp = vdp;
503 *vpp = DETOV(tdp);
530 *vpp = DETOV(tdp);
551 &dd_arg, cnp->cn_lkflags, vpp);
553 *vpp
[all...]
/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzfs_ctldir.h56 int zfsctl_root_lookup(vnode_t *dvp, char *nm, vnode_t **vpp, pathname_t *pnp,
/freebsd-10.1-release/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_vfs.c115 mount_snapshot(kthread_t *td, vnode_t **vpp, const char *fstype, char *fspath, argument
136 vp = *vpp;
201 *vpp = NULL;
234 *vpp = mvp;
/freebsd-10.1-release/sys/fs/autofs/
H A Dautofs_vnops.c201 struct vnode **vpp)
205 return (autofs_node_vn(arg, mp, vpp));
211 struct vnode *dvp, *newvp, **vpp; local
219 vpp = ap->a_vpp;
235 anp->an_parent, 0, vpp);
246 *vpp = dvp;
296 error = autofs_node_vn(child, mp, vpp);
583 autofs_node_vn(struct autofs_node *anp, struct mount *mp, struct vnode **vpp) argument
611 *vpp = vp;
646 *vpp
200 autofs_vget_callback(struct mount *mp, void *arg, int lkflags __unused, struct vnode **vpp) argument
[all...]
/freebsd-10.1-release/sys/fs/tmpfs/
H A Dtmpfs_vnops.c82 struct vnode **vpp = v->a_vpp; local
89 *vpp = NULLVP;
108 dnode->tn_dir.tn_parent, cnp->cn_lkflags, vpp);
113 *vpp = dvp;
173 cnp->cn_lkflags, vpp);
179 VOP_ACCESS(*vpp, VADMIN, cnp->cn_cred, cnp->cn_thread)) {
181 vput(*vpp);
182 *vpp = NULL;
188 cnp->cn_lkflags, vpp);
199 cache_enter(dvp, *vpp, cn
213 struct vnode **vpp = v->a_vpp; local
226 struct vnode **vpp = v->a_vpp; local
1025 struct vnode **vpp = v->a_vpp; local
1131 struct vnode **vpp = v->a_vpp; local
[all...]
/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/common/fs/
H A Dgfs.c436 gfs_lookup_dot(vnode_t **vpp, vnode_t *dvp, vnode_t *pvp, const char *nm) argument
440 *vpp = dvp;
446 *vpp = dvp;
449 *vpp = pvp;
451 vn_lock(*vpp, LK_EXCLUSIVE | LK_RETRY);
743 * int gfs_lookup_cb(vnode_t *pvp, const char *nm, vnode_t **vpp, cred_t *cr,
748 * vpp - pointer to resulting vnode
764 const char *nm, vnode_t *dvp, vnode_t **vpp, cred_t *cr, int flags,
779 ret = callback(dvp, nm, vpp, &ino, cr, flags, direntflags, realpnp);
787 fp = (gfs_file_t *)((*vpp)
763 gfs_dir_lookup_dynamic(gfs_lookup_cb callback, gfs_dir_t *dp, const char *nm, vnode_t *dvp, vnode_t **vpp, cred_t *cr, int flags, int *direntflags, pathname_t *realpnp) argument
816 gfs_dir_lookup_static(int (*compare)(const char *, const char *), gfs_dir_t *dp, const char *nm, vnode_t *dvp, int *idx, vnode_t **vpp, pathname_t *rpnp) argument
908 gfs_dir_lookup(vnode_t *dvp, const char *nm, vnode_t **vpp, cred_t *cr, int flags, int *direntflags, pathname_t *realpnp) argument
1083 gfs_vop_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...]

Completed in 160 milliseconds

12345