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

12345

/freebsd-11-stable/bin/sh/
H A Dvar.c160 struct var **vpp; local
164 if (find_var(ip->text, &vpp, &vp->name_len) != NULL)
166 vp->next = *vpp;
167 *vpp = vp;
175 if (find_var("PS1", &vpp, &vps1.name_len) == NULL) {
176 vps1.next = *vpp;
177 *vpp = &vps1;
321 struct var *vp, **vpp; local
328 vp = find_var(s, &vpp, &nlen);
382 vp->next = *vpp;
549 struct var **vpp; local
594 struct var **vpp; local
650 struct var **vpp; local
751 struct var **vpp; local
884 struct var **vpp; local
942 struct var *vp, **vpp; local
[all...]
/freebsd-11-stable/sys/fs/pseudofs/
H A Dpseudofs_vncache.c113 pfs_vncache_alloc(struct mount *mp, struct vnode **vpp, argument
134 *vpp = vp;
155 error = getnewvnode("pseudofs", mp, &pfs_vnodeops, vpp);
162 (*vpp)->v_data = pvd;
165 (*vpp)->v_vflag = VV_ROOT;
174 (*vpp)->v_type = VDIR;
177 (*vpp)->v_type = VREG;
180 (*vpp)->v_type = VLNK;
192 (*vpp)->v_vflag |= VV_PROCDEP;
193 pvd->pvd_vnode = *vpp;
[all...]
/freebsd-11-stable/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.c439 fuse_vfsop_root(struct mount *mp, int lkflags, struct vnode **vpp) argument
447 *vpp = data->vroot;
449 err = fuse_vnode_get(mp, FUSE_ROOT_ID, NULL, vpp, NULL, VDIR);
452 MPASS(data->vroot == NULL || data->vroot == *vpp);
455 data->vroot = *vpp;
457 vref(*vpp);
458 } else if (data->vroot != *vpp) {
461 VOP_UNLOCK(*vpp, 0);
462 vrele(*vpp);
463 vrecycle(*vpp);
[all...]
H A Dfuse_node.h117 struct vnode **vpp,
H A Dfuse_vnops.c320 struct vnode **vpp = ap->a_vpp; local
384 err = fuse_vnode_get(mp, feo->nodeid, dvp, vpp, cnp, VREG);
399 ASSERT_VOP_ELOCKED(*vpp, "fuse_vnop_create");
405 fuse_filehandle_init(*vpp, FUFH_RDWR, NULL, x_fh_id);
406 fuse_vnode_open(*vpp, x_open_flags, td);
659 struct vnode **vpp = ap->a_vpp; local
684 *vpp = NULL;
723 err = cache_lookup(dvp, vpp, cnp, NULL, NULL);
854 *vpp = dvp;
860 *vpp
1088 struct vnode **vpp = ap->a_vpp; local
1711 struct vnode **vpp = ap->a_vpp; local
[all...]
/freebsd-11-stable/sys/ufs/ufs/
H A Dufs_vfsops.c69 ufs_root(mp, flags, vpp)
72 struct vnode **vpp;
80 *vpp = nvp;
224 ufs_fhtovp(mp, ufhp, flags, vpp)
228 struct vnode **vpp;
236 *vpp = NULLVP;
243 *vpp = NULLVP;
246 *vpp = nvp;
247 vnode_create_vobject(*vpp, DIP(ip, i_size), curthread);
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_ctldir.c125 uint64_t id, struct vnode **vpp)
132 err = vfs_hash_get(mp, (u_int)id, flags, curthread, vpp,
139 uint64_t id, struct vnode **vpp)
144 err = vfs_hash_insert(vp, (u_int)id, flags, curthread, vpp,
161 struct vnode **vpp)
166 error = sfs_vnode_get(mp, flags, parent_id, id, vpp);
167 if (error != 0 || *vpp != NULL) {
168 KASSERT_IMPLY(error == 0, (*vpp)->v_data != NULL,
176 *vpp = NULL;
186 *vpp
124 sfs_vnode_get(const struct mount *mp, int flags, uint64_t parent_id, uint64_t id, struct vnode **vpp) argument
138 sfs_vnode_insert(struct vnode *vp, int flags, uint64_t parent_id, uint64_t id, struct vnode **vpp) argument
158 sfs_vgetx(struct mount *mp, int flags, uint64_t parent_id, uint64_t id, const char *tag, struct vop_vector *vops, sfs_vnode_setup_fn setup, void *arg, struct vnode **vpp) argument
381 zfsctl_fs_root_vnode(struct mount *mp, void *arg __unused, int flags, struct vnode **vpp) argument
399 zfsctl_root_vnode(struct mount *mp, void *arg __unused, int flags, struct vnode **vpp) argument
412 zfsctl_snapdir_vnode(struct mount *mp, void *arg __unused, int flags, struct vnode **vpp) argument
429 zfsctl_root(zfsvfs_t *zfsvfs, int flags, vnode_t **vpp) argument
629 vnode_t **vpp = ap->a_vpp; local
861 zfsctl_mounted_here(vnode_t **vpp, int flags) argument
922 vnode_t **vpp = ap->a_vpp; local
[all...]
/freebsd-11-stable/sys/kern/
H A Dvfs_hash.c74 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg)
95 *vpp = vp;
100 *vpp = NULL;
108 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg)
125 *vpp = vp;
130 *vpp = NULL;
147 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg)
152 *vpp = NULL;
173 *vpp = vp2;
73 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
107 vfs_hash_ref(const struct mount *mp, u_int hash, struct thread *td, struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) argument
146 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
H A Dvfs_cache.c1089 cache_lookup_dot(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, argument
1094 *vpp = dvp;
1098 SDT_PROBE3(vfs, namecache, lookup, hit, dvp, ".", *vpp);
1103 vrefact(*vpp);
1109 if (ltype != VOP_ISLOCKED(*vpp)) {
1111 vn_lock(*vpp, LK_UPGRADE | LK_RETRY);
1112 if ((*vpp)->v_iflag & VI_DOOMED) {
1114 vrele(*vpp);
1115 *vpp = NULL;
1119 vn_lock(*vpp, LK_DOWNGRAD
1125 cache_lookup_nomakeentry(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, struct timespec *tsp, int *ticksp) argument
1244 cache_lookup(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, struct timespec *tsp, int *ticksp) argument
2097 struct vnode **vpp = ap->a_vpp; local
[all...]
/freebsd-11-stable/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-11-stable/sys/fs/nullfs/
H A Dnull_vfsops.c272 nullfs_root(mp, flags, vpp)
275 struct vnode **vpp;
292 *vpp = vp;
357 nullfs_vget(mp, ino, flags, vpp)
361 struct vnode **vpp;
368 error = VFS_VGET(MOUNTTONULLMOUNT(mp)->nullm_vfs, ino, flags, vpp);
371 return (null_nodeget(mp, *vpp, vpp));
375 nullfs_fhtovp(mp, fidp, flags, vpp)
379 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) {
264 *vpp = null_hashins(mp, xp);
265 if (*vpp != NULL) {
270 *vpp = vp;
H A Dnull.h68 int null_nodeget(struct mount *mp, struct vnode *target, struct vnode **vpp);
/freebsd-11-stable/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.c535 cd9660_root(mp, flags, vpp)
538 struct vnode **vpp;
549 return (cd9660_vget_internal(mp, ino, flags, vpp,
587 cd9660_fhtovp(mp, fhp, flags, vpp)
591 struct vnode **vpp;
606 *vpp = NULLVP;
612 *vpp = NULLVP;
615 *vpp = nvp;
616 vnode_create_vobject(*vpp, ip->i_size, curthread);
621 cd9660_vget(mp, ino, flags, vpp)
[all...]
/freebsd-11-stable/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_vfs.c115 mount_snapshot(kthread_t *td, vnode_t **vpp, const char *fstype, char *fspath, argument
124 ASSERT_VOP_ELOCKED(*vpp, "mount_snapshot");
126 vp = *vpp;
127 *vpp = NULL;
246 *vpp = mvp;
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/
H A Dvnode.h158 vnode_t **vpp, enum create crwhy, mode_t umask, struct vnode *startvp,
189 *vpp = nd.ni_vp;
196 vnode_t **vpp, enum create crwhy, mode_t umask)
199 return (vn_openat(pnamep, seg, filemode, createmode, vpp, crwhy,
202 #define vn_open(pnamep, seg, filemode, createmode, vpp, crwhy, umask) \
203 zfs_vn_open((pnamep), (seg), (filemode), (createmode), (vpp), (crwhy), (umask))
157 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
195 zfs_vn_open(char *pnamep, enum uio_seg seg, int filemode, int createmode, vnode_t **vpp, enum create crwhy, mode_t umask) argument
/freebsd-11-stable/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-11-stable/sys/fs/ext2fs/
H A Dext2_vfsops.c938 ext2_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) argument
950 error = vfs_hash_get(mp, ino, flags, td, vpp, NULL, NULL);
951 if (error || *vpp != NULL)
959 *vpp = NULL;
973 *vpp = NULL;
976 error = vfs_hash_insert(vp, ino, flags, td, vpp, NULL, NULL);
977 if (error || *vpp != NULL)
991 *vpp = NULL;
1026 *vpp = NULL;
1034 *vpp
1049 ext2_fhtovp(struct mount *mp, struct fid *fhp, int flags, struct vnode **vpp) argument
1140 ext2_root(struct mount *mp, int flags, struct vnode **vpp) argument
[all...]
/freebsd-11-stable/sys/fs/tmpfs/
H A Dtmpfs_vnops.c76 tmpfs_lookup1(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp) argument
84 *vpp = NULLVP;
106 pnode, cnp->cn_lkflags, vpp);
112 *vpp = dvp;
182 cnp->cn_lkflags, vpp);
188 cnp->cn_thread) && VOP_ACCESS(*vpp, VADMIN,
191 vput(*vpp);
192 *vpp = NULL;
198 cnp->cn_lkflags, vpp);
211 cache_enter(dvp, *vpp, cn
241 struct vnode **vpp = v->a_vpp; local
258 struct vnode **vpp = v->a_vpp; local
1079 struct vnode **vpp = v->a_vpp; local
1185 struct vnode **vpp = v->a_vpp; local
[all...]
/freebsd-11-stable/sys/fs/autofs/
H A Dautofs_vnops.c204 struct vnode **vpp)
208 return (autofs_node_vn(arg, mp, flags, vpp));
214 struct vnode *dvp, *newvp, **vpp; local
222 vpp = ap->a_vpp;
238 anp->an_parent, cnp->cn_lkflags, vpp);
249 *vpp = dvp;
289 error = autofs_node_vn(child, mp, cnp->cn_lkflags, vpp);
649 struct vnode **vpp)
677 *vpp = vp;
714 *vpp
203 autofs_vget_callback(struct mount *mp, void *arg, int flags, struct vnode **vpp) argument
648 autofs_node_vn(struct autofs_node *anp, struct mount *mp, int flags, struct vnode **vpp) argument
[all...]
/freebsd-11-stable/sys/fs/fdescfs/
H A Dfdesc_vnops.c153 struct vnode **vpp)
184 *vpp = vp;
207 *vpp = NULLVP;
222 *vpp = NULLVP;
239 *vpp = vp2;
247 *vpp = vp;
280 struct vnode **vpp = ap->a_vpp; local
300 *vpp = dvp;
371 *vpp = fvp;
375 *vpp
152 fdesc_allocvp(fdntype ftype, unsigned fd_fd, int ix, struct mount *mp, struct vnode **vpp) argument
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dexec.c412 struct vmap *vp, **vpp;
426 for (vpp = &vmap; *vpp; vpp = &(*vpp)->nxt)
428 *vpp = vp;
410 struct vmap *vp, **vpp; local
/freebsd-11-stable/sys/fs/udf/
H A Dudf_vfsops.c552 udf_root(struct mount *mp, int flags, struct vnode **vpp) argument
561 return (udf_vget(mp, id, flags, vpp));
582 udf_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) argument
594 error = vfs_hash_get(mp, ino, flags, curthread, vpp, NULL, NULL);
595 if (error || *vpp != NULL)
636 error = vfs_hash_insert(vp, ino, flags, td, vpp, NULL, NULL);
637 if (error || *vpp != NULL)
719 *vpp = vp;
727 *vpp = NULL;
732 udf_fhtovp(struct mount *mp, struct fid *fhp, int flags, struct vnode **vpp) argument
[all...]

Completed in 378 milliseconds

12345