| /freebsd-10-stable/bin/sh/ |
| D | var.c | 158 struct var **vpp; in initvar() local 162 if (find_var(ip->text, &vpp, &vp->name_len) != NULL) in initvar() 164 vp->next = *vpp; in initvar() 165 *vpp = vp; in initvar() 173 if (find_var("PS1", &vpp, &vps1.name_len) == NULL) { in initvar() 174 vps1.next = *vpp; in initvar() 175 *vpp = &vps1; in initvar() 319 struct var *vp, **vpp; in setvareq() local 326 vp = find_var(s, &vpp, &nlen); in setvareq() 380 vp->next = *vpp; in setvareq() [all …]
|
| /freebsd-10-stable/sys/fs/fuse/ |
| D | fuse_node.c | 177 struct vnode **vpp) in fuse_vnode_alloc() argument 188 *vpp = NULL; in fuse_vnode_alloc() 189 err = vfs_hash_get(mp, fuse_vnode_hash(nodeid), LK_EXCLUSIVE, td, vpp, in fuse_vnode_alloc() 194 if (*vpp) { in fuse_vnode_alloc() 195 MPASS((*vpp)->v_type == vtyp && (*vpp)->v_data != NULL); in fuse_vnode_alloc() 200 err = getnewvnode("fuse", mp, &fuse_vnops, vpp); in fuse_vnode_alloc() 205 lockmgr((*vpp)->v_vnlock, LK_EXCLUSIVE, NULL); in fuse_vnode_alloc() 206 fuse_vnode_init(*vpp, fvdat, nodeid, vtyp); in fuse_vnode_alloc() 207 err = insmntque(*vpp, mp); in fuse_vnode_alloc() 208 ASSERT_VOP_ELOCKED(*vpp, "fuse_vnode_alloc"); in fuse_vnode_alloc() [all …]
|
| D | fuse_vfsops.c | 439 fuse_vfsop_root(struct mount *mp, int lkflags, struct vnode **vpp) in fuse_vfsop_root() argument 447 *vpp = data->vroot; in fuse_vfsop_root() 449 err = fuse_vnode_get(mp, FUSE_ROOT_ID, NULL, vpp, NULL, VDIR); in fuse_vfsop_root() 452 MPASS(data->vroot == NULL || data->vroot == *vpp); in fuse_vfsop_root() 455 data->vroot = *vpp; in fuse_vfsop_root() 457 vref(*vpp); in fuse_vfsop_root() 458 } else if (data->vroot != *vpp) { in fuse_vfsop_root() 461 VOP_UNLOCK(*vpp, 0); in fuse_vfsop_root() 462 vrele(*vpp); in fuse_vfsop_root() 463 vrecycle(*vpp); in fuse_vfsop_root() [all …]
|
| D | fuse_vnops.c | 319 struct vnode **vpp = ap->a_vpp; in fuse_vnop_create() local 383 err = fuse_vnode_get(mp, feo->nodeid, dvp, vpp, cnp, VREG); in fuse_vnop_create() 398 ASSERT_VOP_ELOCKED(*vpp, "fuse_vnop_create"); in fuse_vnop_create() 404 fuse_filehandle_init(*vpp, FUFH_RDWR, NULL, x_fh_id); in fuse_vnop_create() 405 fuse_vnode_open(*vpp, x_open_flags, td); in fuse_vnop_create() 658 struct vnode **vpp = ap->a_vpp; in fuse_vnop_lookup() local 683 *vpp = NULL; in fuse_vnop_lookup() 719 err = cache_lookup(dvp, vpp, cnp, NULL, NULL); in fuse_vnop_lookup() 850 *vpp = dvp; in fuse_vnop_lookup() 856 *vpp = vp; in fuse_vnop_lookup() [all …]
|
| /freebsd-10-stable/sys/fs/pseudofs/ |
| D | pseudofs_vncache.c | 113 pfs_vncache_alloc(struct mount *mp, struct vnode **vpp, in pfs_vncache_alloc() argument 134 *vpp = vp; in pfs_vncache_alloc() 155 error = getnewvnode("pseudofs", mp, &pfs_vnodeops, vpp); in pfs_vncache_alloc() 162 (*vpp)->v_data = pvd; in pfs_vncache_alloc() 165 (*vpp)->v_vflag = VV_ROOT; in pfs_vncache_alloc() 174 (*vpp)->v_type = VDIR; in pfs_vncache_alloc() 177 (*vpp)->v_type = VREG; in pfs_vncache_alloc() 180 (*vpp)->v_type = VLNK; in pfs_vncache_alloc() 192 (*vpp)->v_vflag |= VV_PROCDEP; in pfs_vncache_alloc() 193 pvd->pvd_vnode = *vpp; in pfs_vncache_alloc() [all …]
|
| /freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| D | zfs_ctldir.c | 125 uint64_t id, struct vnode **vpp) in sfs_vnode_get() argument 132 err = vfs_hash_get(mp, (u_int)id, flags, curthread, vpp, in sfs_vnode_get() 139 uint64_t id, struct vnode **vpp) in sfs_vnode_insert() argument 144 err = vfs_hash_insert(vp, (u_int)id, flags, curthread, vpp, in sfs_vnode_insert() 161 struct vnode **vpp) in sfs_vgetx() argument 166 error = sfs_vnode_get(mp, flags, parent_id, id, vpp); in sfs_vgetx() 167 if (error != 0 || *vpp != NULL) { in sfs_vgetx() 168 KASSERT_IMPLY(error == 0, (*vpp)->v_data != NULL, in sfs_vgetx() 176 *vpp = NULL; in sfs_vgetx() 186 *vpp = NULL; in sfs_vgetx() [all …]
|
| /freebsd-10-stable/sys/ufs/ufs/ |
| D | ufs_vfsops.c | 69 ufs_root(mp, flags, vpp) in ufs_root() argument 72 struct vnode **vpp; 80 *vpp = nvp; 219 ufs_fhtovp(mp, ufhp, flags, vpp) in ufs_fhtovp() argument 223 struct vnode **vpp; 231 *vpp = NULLVP; 238 *vpp = NULLVP; 241 *vpp = nvp; 242 vnode_create_vobject(*vpp, DIP(ip, i_size), curthread);
|
| /freebsd-10-stable/sys/fs/smbfs/ |
| D | smbfs_node.c | 103 struct smbfattr *fap, struct vnode **vpp) in smbfs_node_alloc() argument 127 *vpp = vp; in smbfs_node_alloc() 139 vpp, smbfs_vnode_cmp, &sc); in smbfs_node_alloc() 142 if (*vpp) { in smbfs_node_alloc() 143 np = VTOSMB(*vpp); in smbfs_node_alloc() 145 (void)VOP_GETATTR(*vpp, &vattr, td->td_ucred); in smbfs_node_alloc() 152 if (((*vpp)->v_type == VDIR && in smbfs_node_alloc() 154 ((*vpp)->v_type == VREG && in smbfs_node_alloc() 156 vgone(*vpp); in smbfs_node_alloc() 157 vput(*vpp); in smbfs_node_alloc() [all …]
|
| D | smbfs_vnops.c | 543 struct vnode **vpp=ap->a_vpp; local 556 *vpp = NULL; 573 *vpp = vp; 1168 struct vnode **vpp = ap->a_vpp; local 1203 error = cache_lookup(dvp, vpp, cnp, NULL, NULL); 1211 vp = *vpp; 1246 *vpp = NULLVP; 1252 *vpp = NULLVP; 1301 *vpp = dvp; 1307 *vpp = vp; [all …]
|
| /freebsd-10-stable/sys/kern/ |
| D | vfs_hash.c | 73 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) in vfs_hash_get() argument 94 *vpp = vp; in vfs_hash_get() 99 *vpp = NULL; in vfs_hash_get() 107 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) in vfs_hash_ref() argument 124 *vpp = vp; in vfs_hash_ref() 129 *vpp = NULL; in vfs_hash_ref() 146 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) in vfs_hash_insert() argument 151 *vpp = NULL; in vfs_hash_insert() 172 *vpp = vp2; in vfs_hash_insert()
|
| D | vfs_cache.c | 469 cache_lookup(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, in cache_lookup() argument 489 *vpp = dvp; in cache_lookup() 493 SDT_PROBE3(vfs, namecache, lookup, hit, dvp, ".", *vpp); in cache_lookup() 518 *vpp = ncp->nc_vp; in cache_lookup() 520 *vpp = ncp->nc_dvp; in cache_lookup() 522 if (*vpp == NULL) in cache_lookup() 525 dvp, cnp->cn_nameptr, *vpp); in cache_lookup() 527 *vpp); in cache_lookup() 574 *vpp = ncp->nc_vp; in cache_lookup() 576 dvp, cnp->cn_nameptr, *vpp, ncp); in cache_lookup() [all …]
|
| D | vnode_if.src | 52 # The paramater named "vpp" is assumed to be always used with double 53 # indirection (**vpp) and that name is hard-coded in vnode_if.awk ! 67 %% lookup vpp - L - 71 # especially that *vpp may equal dvp and both may be locked. 75 INOUT struct vnode **vpp; 80 %% cachedlookup vpp - L - 86 INOUT struct vnode **vpp; 91 %% create vpp - L - 96 OUT struct vnode **vpp; 112 %% mknod vpp - L - [all …]
|
| /freebsd-10-stable/sys/fs/nullfs/ |
| D | null_vfsops.c | 265 nullfs_root(mp, flags, vpp) in nullfs_root() argument 268 struct vnode **vpp; 284 *vpp = vp; 342 nullfs_vget(mp, ino, flags, vpp) in nullfs_vget() argument 346 struct vnode **vpp; 353 error = VFS_VGET(MOUNTTONULLMOUNT(mp)->nullm_vfs, ino, flags, vpp); 356 return (null_nodeget(mp, *vpp, vpp)); 360 nullfs_fhtovp(mp, fidp, flags, vpp) in nullfs_fhtovp() argument 364 struct vnode **vpp; 369 vpp); [all …]
|
| D | null_subr.c | 198 null_nodeget(mp, lowervp, vpp) in null_nodeget() argument 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;
|
| /freebsd-10-stable/sys/fs/cd9660/ |
| D | cd9660_vfsops.c | 541 cd9660_root(mp, flags, vpp) in cd9660_root() argument 544 struct vnode **vpp; 555 return (cd9660_vget_internal(mp, ino, flags, vpp, 593 cd9660_fhtovp(mp, fhp, flags, vpp) in cd9660_fhtovp() argument 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) in cd9660_vget() argument [all …]
|
| D | cd9660_lookup.c | 61 struct vnode **vpp) in cd9660_ino_alloc() argument 66 return (cd9660_vget_internal(mp, dd_arg->i_ino, lkflags, vpp, in cd9660_ino_alloc() 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);
|
| /freebsd-10-stable/sys/fs/msdosfs/ |
| D | msdosfs_lookup.c | 64 static int msdosfs_lookup_(struct vnode *vdp, struct vnode **vpp, 112 msdosfs_lookup_(struct vnode *vdp, struct vnode **vpp, in msdosfs_lookup_() argument 155 if (vpp != NULL) in msdosfs_lookup_() 156 *vpp = NULL; in msdosfs_lookup_() 420 cache_enter(vdp, *vpp, cnp); in msdosfs_lookup_() 497 *vpp = vdp; in msdosfs_lookup_() 503 *vpp = DETOV(tdp); in msdosfs_lookup_() 530 *vpp = DETOV(tdp); in msdosfs_lookup_() 551 &dd_arg, cnp->cn_lkflags, vpp); in msdosfs_lookup_() 553 *vpp = NULL; in msdosfs_lookup_() [all …]
|
| /freebsd-10-stable/sys/fs/udf/ |
| D | udf_vfsops.c | 558 udf_root(struct mount *mp, int flags, struct vnode **vpp) in udf_root() argument 567 return (udf_vget(mp, id, flags, vpp)); in udf_root() 588 udf_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) in udf_vget() argument 599 error = vfs_hash_get(mp, ino, flags, curthread, vpp, NULL, NULL); in udf_vget() 600 if (error || *vpp != NULL) in udf_vget() 641 error = vfs_hash_insert(vp, ino, flags, td, vpp, NULL, NULL); in udf_vget() 642 if (error || *vpp != NULL) in udf_vget() 655 *vpp = NULL; in udf_vget() 665 *vpp = NULL; in udf_vget() 675 *vpp = NULL; in udf_vget() [all …]
|
| /freebsd-10-stable/sys/fs/fdescfs/ |
| D | fdesc_vnops.c | 149 fdesc_allocvp(ftype, fd_fd, ix, mp, vpp) in fdesc_allocvp() argument 154 struct vnode **vpp; 185 *vpp = vp; 206 *vpp = NULLVP; 221 *vpp = NULLVP; 238 *vpp = vp2; 246 *vpp = vp; 284 struct vnode **vpp = ap->a_vpp; local 303 *vpp = dvp; 374 *vpp = fvp; [all …]
|
| /freebsd-10-stable/sys/cddl/compat/opensolaris/kern/ |
| D | opensolaris_vfs.c | 115 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-10-stable/sys/fs/autofs/ |
| D | autofs_vnops.c | 202 struct vnode **vpp) in autofs_vget_callback() argument 206 return (autofs_node_vn(arg, mp, flags, vpp)); in autofs_vget_callback() 212 struct vnode *dvp, *newvp, **vpp; in autofs_lookup() local 220 vpp = ap->a_vpp; in autofs_lookup() 236 anp->an_parent, cnp->cn_lkflags, vpp); in autofs_lookup() 247 *vpp = dvp; in autofs_lookup() 297 error = autofs_node_vn(child, mp, cnp->cn_lkflags, vpp); in autofs_lookup() 589 struct vnode **vpp) in autofs_node_vn() argument 617 *vpp = vp; in autofs_node_vn() 654 *vpp = vp; in autofs_node_vn()
|
| /freebsd-10-stable/sys/fs/ext2fs/ |
| D | ext2_vfsops.c | 902 ext2_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) in ext2_vget() argument 914 error = vfs_hash_get(mp, ino, flags, td, vpp, NULL, NULL); in ext2_vget() 915 if (error || *vpp != NULL) in ext2_vget() 923 *vpp = NULL; in ext2_vget() 937 *vpp = NULL; in ext2_vget() 940 error = vfs_hash_insert(vp, ino, flags, td, vpp, NULL, NULL); in ext2_vget() 941 if (error || *vpp != NULL) in ext2_vget() 955 *vpp = NULL; in ext2_vget() 990 *vpp = NULL; in ext2_vget() 1007 *vpp = vp; in ext2_vget() [all …]
|
| /freebsd-10-stable/sys/fs/tmpfs/ |
| D | tmpfs_vnops.c | 79 tmpfs_lookup1(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp) in tmpfs_lookup1() argument 87 *vpp = NULLVP; in tmpfs_lookup1() 109 pnode, cnp->cn_lkflags, vpp); in tmpfs_lookup1() 115 *vpp = dvp; in tmpfs_lookup1() 185 cnp->cn_lkflags, vpp); in tmpfs_lookup1() 191 cnp->cn_thread) && VOP_ACCESS(*vpp, VADMIN, in tmpfs_lookup1() 194 vput(*vpp); in tmpfs_lookup1() 195 *vpp = NULL; in tmpfs_lookup1() 201 cnp->cn_lkflags, vpp); in tmpfs_lookup1() 214 cache_enter(dvp, *vpp, cnp); in tmpfs_lookup1() [all …]
|
| /freebsd-10-stable/sys/cddl/compat/opensolaris/sys/ |
| D | vnode.h | 159 vnode_t **vpp, enum create crwhy, mode_t umask, struct vnode *startvp, in vn_openat() argument 201 *vpp = nd.ni_vp; in vn_openat() 208 vnode_t **vpp, enum create crwhy, mode_t umask) in zfs_vn_open() argument 211 return (vn_openat(pnamep, seg, filemode, createmode, vpp, crwhy, in zfs_vn_open() 214 #define vn_open(pnamep, seg, filemode, createmode, vpp, crwhy, umask) \ argument 215 zfs_vn_open((pnamep), (seg), (filemode), (createmode), (vpp), (crwhy), (umask))
|
| /freebsd-10-stable/sys/fs/nandfs/ |
| D | nandfs_vnops.c | 305 struct vnode *dvp, **vpp; in nandfs_lookup() local 319 vpp = ap->a_vpp; in nandfs_lookup() 320 *vpp = NULL; in nandfs_lookup() 355 *vpp = dvp; in nandfs_lookup() 382 *vpp = NTOV(node); in nandfs_lookup() 441 *vpp = NTOV(node); in nandfs_lookup() 449 vput(*vpp); in nandfs_lookup() 450 *vpp = NULL; in nandfs_lookup() 462 *vpp = NTOV(node); in nandfs_lookup() 469 *vpp = NTOV(node); in nandfs_lookup() [all …]
|