Home
last modified time | relevance | path

Searched refs:vpp (Results 1 – 25 of 100) sorted by relevance

1234

/freebsd-12.1/sys/fs/fuse/
H A Dfuse_node.c196 struct vnode **vpp) in fuse_vnode_alloc() argument
207 *vpp = NULL; in fuse_vnode_alloc()
213 if (*vpp) { in fuse_vnode_alloc()
225 *vpp = NULL; in fuse_vnode_alloc()
248 err = insmntque(*vpp, mp); in fuse_vnode_alloc()
253 *vpp = NULL; in fuse_vnode_alloc()
258 VN_LOCK_ASHARE(*vpp); in fuse_vnode_alloc()
265 *vpp = NULL; in fuse_vnode_alloc()
269 *vpp = vp2; in fuse_vnode_alloc()
283 struct vnode **vpp, in fuse_vnode_get() argument
[all …]
H A Dfuse_vfsops.c270 struct vnode **vpp) in fuse_vfsop_fhtovp() argument
282 *vpp = NULLVP; in fuse_vfsop_fhtovp()
288 *vpp = NULLVP; in fuse_vfsop_fhtovp()
291 *vpp = nvp; in fuse_vfsop_fhtovp()
584 fvdat = VTOFUD(*vpp); in fuse_vfsop_vget()
612 *vpp = data->vroot; in fuse_vfsop_root()
622 data->vroot = *vpp; in fuse_vfsop_root()
624 vref(*vpp); in fuse_vfsop_root()
630 vrele(*vpp); in fuse_vfsop_root()
631 vrecycle(*vpp); in fuse_vfsop_root()
[all …]
H A Dfuse_vnops.c608 struct vnode **vpp = ap->a_vpp; in fuse_vnop_create() local
999 *vpp = NULL; in fuse_vnop_lookup()
1040 cache_purge(*vpp); in fuse_vnop_lookup()
1041 if (dvp != *vpp) in fuse_vnop_lookup()
1042 vput(*vpp); in fuse_vnop_lookup()
1044 vrele(*vpp); in fuse_vnop_lookup()
1045 *vpp = NULL; in fuse_vnop_lookup()
1131 *vpp = vp; in fuse_vnop_lookup()
1134 *vpp = dvp; in fuse_vnop_lookup()
1142 *vpp = vp; in fuse_vnop_lookup()
[all …]
H A Dfuse_internal.c127 struct vnode **vpp) in fuse_internal_get_cached_vnode() argument
134 *vpp = NULL; in fuse_internal_get_cached_vnode()
136 error = vfs_hash_get(mp, fuse_vnode_hash(nodeid), flags, td, vpp, in fuse_internal_get_cached_vnode()
145 if (*vpp != NULL) { in fuse_internal_get_cached_vnode()
153 cache_purge(*vpp); in fuse_internal_get_cached_vnode()
154 vput(*vpp); in fuse_internal_get_cached_vnode()
155 *vpp = NULL; in fuse_internal_get_cached_vnode()
474 fuse_internal_mknod(struct vnode *dvp, struct vnode **vpp, in fuse_internal_mknod() argument
764 struct vnode **vpp, in fuse_internal_newentry_core() argument
794 fuse_internal_cache_attrs(*vpp, &feo->attr, feo->attr_valid, in fuse_internal_newentry_core()
[all …]
/freebsd-12.1/bin/sh/
H A Dvar.c171 *vpp = vp; in initvar()
181 *vpp = &vps1; in initvar()
389 *vpp = vp; in setvareq()
559 for (vpp = vartab ; vpp < vartab + VTABSIZE ; vpp++) { in environment()
565 for (vpp = vartab ; vpp < vartab + VTABSIZE ; vpp++) { in environment()
609 for (vpp = vartab; vpp < vartab + VTABSIZE; vpp++) { in showvarscmd()
619 for (vpp = vartab; vpp < vartab + VTABSIZE; vpp++) { in showvarscmd()
695 for (vpp = vartab ; vpp < vartab + VTABSIZE ; vpp++) { in exportcmd()
959 *vppp = vpp; in find_var()
961 for (vp = *vpp ; vp ; vpp = &vp->next, vp = *vpp) { in find_var()
[all …]
/freebsd-12.1/sys/fs/pseudofs/
H A Dpseudofs_vncache.c136 *vpp = vp; in pfs_vncache_alloc()
164 (*vpp)->v_data = pvd; in pfs_vncache_alloc()
176 (*vpp)->v_type = VDIR; in pfs_vncache_alloc()
179 (*vpp)->v_type = VREG; in pfs_vncache_alloc()
182 (*vpp)->v_type = VLNK; in pfs_vncache_alloc()
195 pvd->pvd_vnode = *vpp; in pfs_vncache_alloc()
197 VN_LOCK_AREC(*vpp); in pfs_vncache_alloc()
201 *vpp = NULLVP; in pfs_vncache_alloc()
219 vgone(*vpp); in pfs_vncache_alloc()
220 vput(*vpp); in pfs_vncache_alloc()
[all …]
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_ctldir.c176 *vpp = NULL; in sfs_vgetx()
186 *vpp = NULL; in sfs_vgetx()
199 *vpp = vp; in sfs_vgetx()
645 *vpp = dvp;
655 *vpp = NULL;
873 vput(*vpp); in zfsctl_mounted_here()
943 *vpp = dvp;
948 vpp);
988 VI_LOCK(*vpp);
1006 vput(*vpp);
[all …]
H A Dzfs_vfsops.c2050 if (*vpp != NULL && (((*vpp)->v_iflag & VI_DOOMED) == 0)) { in zfs_root()
2051 vrefact(*vpp); in zfs_root()
2061 *vpp = NULL; in zfs_root()
2076 VN_RELE(*vpp); in zfs_root()
2077 *vpp = NULL; in zfs_root()
2323 vrele(*vpp); in zfs_vget()
2326 *vpp = NULL; in zfs_vget()
2363 *vpp = NULL; in zfs_fhtovp()
2435 *vpp = dvp; in zfs_fhtovp()
2459 *vpp = ZTOV(zp); in zfs_fhtovp()
[all …]
/freebsd-12.1/sys/ufs/ufs/
H A Dufs_vfsops.c71 ufs_root(mp, flags, vpp) in ufs_root() argument
74 struct vnode **vpp;
82 *vpp = nvp;
226 ufs_fhtovp(mp, ufhp, flags, vpp) in ufs_fhtovp() argument
230 struct vnode **vpp;
238 *vpp = NULLVP;
245 *vpp = NULLVP;
248 *vpp = nvp;
249 vnode_create_vobject(*vpp, DIP(ip, i_size), curthread);
/freebsd-12.1/sys/fs/smbfs/
H A Dsmbfs_node.c129 *vpp = vp; in smbfs_node_alloc()
141 vpp, smbfs_vnode_cmp, &sc); in smbfs_node_alloc()
144 if (*vpp) { in smbfs_node_alloc()
145 np = VTOSMB(*vpp); in smbfs_node_alloc()
154 if (((*vpp)->v_type == VDIR && in smbfs_node_alloc()
156 ((*vpp)->v_type == VREG && in smbfs_node_alloc()
158 vgone(*vpp); in smbfs_node_alloc()
159 vput(*vpp); in smbfs_node_alloc()
176 vp = *vpp; in smbfs_node_alloc()
225 *vpp = vp2; in smbfs_node_alloc()
[all …]
/freebsd-12.1/sys/kern/
H A Dvfs_hash.c76 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) in vfs_hash_get() argument
97 *vpp = vp; in vfs_hash_get()
102 *vpp = NULL; in vfs_hash_get()
110 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) in vfs_hash_ref() argument
127 *vpp = vp; in vfs_hash_ref()
132 *vpp = NULL; in vfs_hash_ref()
149 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) in vfs_hash_insert() argument
154 *vpp = NULL; in vfs_hash_insert()
175 *vpp = vp2; in vfs_hash_insert()
H A Dvnode_if.src64 %% lookup vpp - L -
78 %% cachedlookup vpp - L -
90 %% create vpp - L -
95 OUT struct vnode **vpp;
111 %% mknod vpp - L -
116 OUT struct vnode **vpp;
297 %% mkdir vpp - E -
302 OUT struct vnode **vpp;
320 %% symlink vpp - E -
325 OUT struct vnode **vpp;
[all …]
H A Dvfs_cache.c1102 *vpp = dvp; in cache_lookup_dot()
1111 vrefact(*vpp); in cache_lookup_dot()
1122 vrele(*vpp); in cache_lookup_dot()
1123 *vpp = NULL; in cache_lookup_dot()
1304 *vpp); in cache_lookup()
1341 *vpp); in cache_lookup()
1374 vhold(*vpp); in cache_lookup()
1381 vput(*vpp); in cache_lookup()
1382 *vpp = NULL; in cache_lookup()
1387 *vpp = NULL; in cache_lookup()
[all …]
/freebsd-12.1/sys/fs/nullfs/
H A Dnull_vfsops.c282 nullfs_root(mp, flags, vpp) in nullfs_root() argument
285 struct vnode **vpp;
301 *vpp = vp;
364 nullfs_vget(mp, ino, flags, vpp) in nullfs_vget() argument
368 struct vnode **vpp;
375 error = VFS_VGET(MOUNTTONULLMOUNT(mp)->nullm_vfs, ino, flags, vpp);
378 return (null_nodeget(mp, *vpp, vpp));
382 nullfs_fhtovp(mp, fidp, flags, vpp) in nullfs_fhtovp() argument
386 struct vnode **vpp;
391 vpp);
[all …]
H A Dnull_subr.c200 null_nodeget(mp, lowervp, vpp) in null_nodeget() argument
203 struct vnode **vpp;
213 *vpp = null_hashget(mp, lowervp);
214 if (*vpp != NULL) {
263 *vpp = null_hashins(mp, xp);
264 if (*vpp != NULL) {
269 *vpp = vp;
/freebsd-12.1/sys/fs/cd9660/
H A Dcd9660_vfsops.c543 cd9660_root(mp, flags, vpp) in cd9660_root() argument
546 struct vnode **vpp;
599 struct vnode **vpp;
614 *vpp = NULLVP;
620 *vpp = NULLVP;
623 *vpp = nvp;
638 struct vnode **vpp;
675 struct vnode **vpp;
712 *vpp = NULLVP;
725 *vpp = NULLVP;
[all …]
H A Dcd9660_lookup.c63 struct vnode **vpp) in cd9660_ino_alloc() argument
68 return (cd9660_vget_internal(mp, dd_arg->i_ino, lkflags, vpp, in cd9660_ino_alloc()
137 struct vnode **vpp = ap->a_vpp; local
144 *vpp = NULL;
334 cache_enter(vdp, *vpp, cnp);
398 *vpp = tdp;
412 *vpp = vdp;
420 *vpp = tdp;
427 cache_enter(vdp, *vpp, cnp);
/freebsd-12.1/sys/fs/msdosfs/
H A Dmsdosfs_lookup.c157 if (vpp != NULL) in msdosfs_lookup_()
158 *vpp = NULL; in msdosfs_lookup_()
499 *vpp = vdp; in msdosfs_lookup_()
505 *vpp = DETOV(tdp); in msdosfs_lookup_()
532 *vpp = DETOV(tdp); in msdosfs_lookup_()
555 *vpp = NULL; in msdosfs_lookup_()
564 vput(*vpp); in msdosfs_lookup_()
565 *vpp = NULL; in msdosfs_lookup_()
569 vput(*vpp); in msdosfs_lookup_()
574 *vpp = vdp; in msdosfs_lookup_()
[all …]
/freebsd-12.1/sys/fs/udf/
H A Dudf_vfsops.c554 udf_root(struct mount *mp, int flags, struct vnode **vpp) in udf_root() argument
563 return (udf_vget(mp, id, flags, vpp)); in udf_root()
596 if (error || *vpp != NULL) in udf_vget()
638 if (error || *vpp != NULL) in udf_vget()
651 *vpp = NULL; in udf_vget()
661 *vpp = NULL; in udf_vget()
671 *vpp = NULL; in udf_vget()
714 *vpp = vp; in udf_vget()
731 *vpp = NULLVP; in udf_fhtovp()
738 *vpp = nvp; in udf_fhtovp()
[all …]
/freebsd-12.1/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_vfs.c115 mount_snapshot(kthread_t *td, vnode_t **vpp, const char *fstype, char *fspath, in mount_snapshot() argument
124 ASSERT_VOP_ELOCKED(*vpp, "mount_snapshot"); in mount_snapshot()
126 vp = *vpp; in mount_snapshot()
127 *vpp = NULL; in mount_snapshot()
246 *vpp = mvp; in mount_snapshot()
/freebsd-12.1/sys/fs/autofs/
H A Dautofs_vnops.c204 struct vnode **vpp) in autofs_vget_callback() argument
208 return (autofs_node_vn(arg, mp, flags, vpp)); in autofs_vget_callback()
214 struct vnode *dvp, *newvp, **vpp; in autofs_lookup() local
222 vpp = ap->a_vpp; in autofs_lookup()
238 anp->an_parent, cnp->cn_lkflags, vpp); in autofs_lookup()
249 *vpp = dvp; in autofs_lookup()
289 error = autofs_node_vn(child, mp, cnp->cn_lkflags, vpp); in autofs_lookup()
648 struct vnode **vpp) in autofs_node_vn() argument
676 *vpp = vp; in autofs_node_vn()
713 *vpp = vp; in autofs_node_vn()
/freebsd-12.1/sys/fs/fdescfs/
H A Dfdesc_vnops.c155 struct vnode **vpp) in fdesc_allocvp() argument
186 *vpp = vp; in fdesc_allocvp()
209 *vpp = NULLVP; in fdesc_allocvp()
224 *vpp = NULLVP; in fdesc_allocvp()
241 *vpp = vp2; in fdesc_allocvp()
249 *vpp = vp; in fdesc_allocvp()
282 struct vnode **vpp = ap->a_vpp; in fdesc_lookup() local
301 *vpp = dvp; in fdesc_lookup()
372 *vpp = fvp; in fdesc_lookup()
376 *vpp = NULL; in fdesc_lookup()
/freebsd-12.1/sys/fs/tmpfs/
H A Dtmpfs_vnops.c92 *vpp = NULLVP; in tmpfs_lookup1()
120 *vpp = dvp; in tmpfs_lookup1()
190 cnp->cn_lkflags, vpp); in tmpfs_lookup1()
199 vput(*vpp); in tmpfs_lookup1()
200 *vpp = NULL; in tmpfs_lookup1()
206 cnp->cn_lkflags, vpp); in tmpfs_lookup1()
219 cache_enter(dvp, *vpp, cnp); in tmpfs_lookup1()
226 MPASS(IFF(error == 0, *vpp != NULLVP && VOP_ISLOCKED(*vpp))); in tmpfs_lookup1()
249 struct vnode **vpp = v->a_vpp; in tmpfs_create() local
258 cache_enter(dvp, *vpp, cnp); in tmpfs_create()
[all …]
/freebsd-12.1/sys/cddl/compat/opensolaris/sys/
H A Dvnode.h158 vnode_t **vpp, enum create crwhy, mode_t umask, struct vnode *startvp, in vn_openat() argument
189 *vpp = nd.ni_vp; in vn_openat()
196 vnode_t **vpp, enum create crwhy, mode_t umask) in zfs_vn_open() argument
199 return (vn_openat(pnamep, seg, filemode, createmode, vpp, crwhy, in zfs_vn_open()
202 #define vn_open(pnamep, seg, filemode, createmode, vpp, crwhy, umask) \ argument
203 zfs_vn_open((pnamep), (seg), (filemode), (createmode), (vpp), (crwhy), (umask))
/freebsd-12.1/sys/fs/ext2fs/
H A Dext2_vfsops.c1205 if (error || *vpp != NULL) in ext2_vget()
1213 *vpp = NULL; in ext2_vget()
1227 *vpp = NULL; in ext2_vget()
1245 *vpp = NULL; in ext2_vget()
1254 *vpp = NULL; in ext2_vget()
1287 *vpp = NULL; in ext2_vget()
1295 *vpp = vp; in ext2_vget()
1326 *vpp = NULLVP; in ext2_fhtovp()
1333 *vpp = NULLVP; in ext2_fhtovp()
1336 *vpp = nvp; in ext2_fhtovp()
[all …]

1234