/freebsd/bin/sh/ |
H A D | var.c | 156 struct var **vpp; in initvar() local 160 if (find_var(ip->text, &vpp, &vp->name_len) != NULL) in initvar() 162 vp->next = *vpp; in initvar() 163 *vpp = vp; in initvar() 171 if (find_var("PS1", &vpp, &vps1.name_len) == NULL) { in initvar() 172 vps1.next = *vpp; in initvar() 173 *vpp = &vps1; in initvar() 318 struct var *vp, **vpp; in setvareq() local 325 vp = find_var(s, &vpp, &nlen); in setvareq() 379 vp->next = *vpp; in setvareq() [all …]
|
/freebsd/sys/fs/pseudofs/ |
H A D | pseudofs_vncache.c | 116 pfs_vncache_alloc(struct mount *mp, struct vnode **vpp, in pfs_vncache_alloc() argument 141 *vpp = vp; in pfs_vncache_alloc() 161 error = getnewvnode("pseudofs", mp, &pfs_vnodeops, vpp); in pfs_vncache_alloc() 168 (*vpp)->v_data = pvd; in pfs_vncache_alloc() 171 (*vpp)->v_vflag = VV_ROOT; in pfs_vncache_alloc() 180 (*vpp)->v_type = VDIR; in pfs_vncache_alloc() 183 (*vpp)->v_type = VREG; in pfs_vncache_alloc() 186 (*vpp)->v_type = VLNK; in pfs_vncache_alloc() 198 (*vpp)->v_vflag |= VV_PROCDEP; in pfs_vncache_alloc() 199 pvd->pvd_vnode = *vpp; in pfs_vncache_alloc() [all …]
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_ctldir.c | 133 uint64_t id, struct vnode **vpp) in sfs_vnode_get() argument 140 err = vfs_hash_get(mp, (uint32_t)id, flags, curthread, vpp, in sfs_vnode_get() 147 uint64_t id, struct vnode **vpp) in sfs_vnode_insert() argument 152 err = vfs_hash_insert(vp, (uint32_t)id, flags, curthread, vpp, in sfs_vnode_insert() 169 struct vnode **vpp) in sfs_vgetx() argument 174 error = sfs_vnode_get(mp, flags, parent_id, id, vpp); in sfs_vgetx() 175 if (error != 0 || *vpp != NULL) { in sfs_vgetx() 176 KASSERT_IMPLY(error == 0, (*vpp)->v_data != NULL, in sfs_vgetx() 184 *vpp = NULL; in sfs_vgetx() 194 *vpp = NULL; in sfs_vgetx() [all …]
|
/freebsd/sys/fs/smbfs/ |
H A 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 …]
|
H A D | smbfs_vnops.c | 495 struct vnode **vpp=ap->a_vpp; in smbfs_create() local 507 *vpp = NULL; in smbfs_create() 524 *vpp = vp; in smbfs_create() 1046 struct vnode **vpp = ap->a_vpp; in smbfs_lookup() local 1082 error = cache_lookup(dvp, vpp, cnp, NULL, NULL); in smbfs_lookup() 1090 vp = *vpp; in smbfs_lookup() 1123 *vpp = NULLVP; in smbfs_lookup() 1129 *vpp = NULLVP; in smbfs_lookup() 1177 *vpp = dvp; in smbfs_lookup() 1183 *vpp = vp; in smbfs_lookup() [all …]
|
/freebsd/sys/kern/ |
H A D | vfs_hash.c | 73 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) in vfs_hash_get() argument 101 *vpp = vp; in vfs_hash_get() 106 *vpp = NULL; in vfs_hash_get() 114 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) in vfs_hash_ref() argument 131 *vpp = vp; in vfs_hash_ref() 136 *vpp = NULL; in vfs_hash_ref() 153 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) in vfs_hash_insert() argument 159 *vpp = NULL; in vfs_hash_insert() 181 *vpp = vp2; in vfs_hash_insert()
|
H A D | vnode_if.src | 44 # The parameter named "vpp" is assumed to be always used with double 45 # indirection (**vpp) and that name is hard-coded in vnode_if.awk ! 60 %% lookup vpp - L - 64 # especially that *vpp may equal dvp and both may be locked. 68 INOUT struct vnode **vpp; 74 %% cachedlookup vpp - L - 80 INOUT struct vnode **vpp; 86 %% create vpp - L - 92 OUT struct vnode **vpp; 110 %% mknod vpp - L - [all …]
|
H A D | vfs_init.c | 188 vfs_root_sigdefer(struct mount *mp, int flags, struct vnode **vpp) in vfs_root_sigdefer() argument 193 rc = (*mp->mnt_vfc->vfc_vfsops_sd->vfs_root)(mp, flags, vpp); in vfs_root_sigdefer() 199 vfs_cachedroot_sigdefer(struct mount *mp, int flags, struct vnode **vpp) in vfs_cachedroot_sigdefer() argument 204 rc = (*mp->mnt_vfc->vfc_vfsops_sd->vfs_cachedroot)(mp, flags, vpp); in vfs_cachedroot_sigdefer() 245 vfs_vget_sigdefer(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) in vfs_vget_sigdefer() argument 250 rc = (*mp->mnt_vfc->vfc_vfsops_sd->vfs_vget)(mp, ino, flags, vpp); in vfs_vget_sigdefer() 257 struct vnode **vpp) in vfs_fhtovp_sigdefer() argument 262 rc = (*mp->mnt_vfc->vfc_vfsops_sd->vfs_fhtovp)(mp, fidp, flags, vpp); in vfs_fhtovp_sigdefer()
|
/freebsd/sys/fs/p9fs/ |
H A D | p9fs_vfsops.c | 253 struct p9fs_node *parent, struct p9_fid *fid, struct vnode **vpp, in p9fs_vget_common() argument 279 *vpp = vp; in p9fs_vget_common() 290 *vpp = NULLVP; in p9fs_vget_common() 293 *vpp = vp; in p9fs_vget_common() 311 *vpp = NULLVP; in p9fs_vget_common() 364 error = vfs_hash_insert(vp, hash, flags, td, vpp, in p9fs_vget_common() 370 if (*vpp == NULL) { in p9fs_vget_common() 376 *vpp = vp; in p9fs_vget_common() 398 *vpp = NULLVP; in p9fs_vget_common() 501 p9fs_root(struct mount *mp, int lkflags, struct vnode **vpp) in p9fs_root() argument [all …]
|
H A D | p9fs_vnops.c | 182 p9fs_lookup_alloc(struct mount *mp, void *arg, int lkflags, struct vnode **vpp) in p9fs_lookup_alloc() argument 187 p9aa->newfid, vpp, p9aa->cnp->cn_nameptr)); in p9fs_lookup_alloc() 218 struct vnode **vpp, *vp; in p9fs_lookup() local 231 vpp = ap->a_vpp; in p9fs_lookup() 236 *vpp = NULLVP; in p9fs_lookup() 243 *vpp = dvp; in p9fs_lookup() 309 error = cache_lookup(dvp, vpp, cnp, NULL, NULL); in p9fs_lookup() 316 vp = *vpp; in p9fs_lookup() 332 *vpp = NULLVP; in p9fs_lookup() 360 *vpp = vp; in p9fs_lookup() [all …]
|
/freebsd/sys/fs/msdosfs/ |
H A D | msdosfs_lookup.c | 67 struct denode *tdp, struct vnode **vpp) in msdosfs_lookup_checker() argument 80 *vpp = NULL; in msdosfs_lookup_checker() 84 *vpp = vp; in msdosfs_lookup_checker() 135 msdosfs_lookup_ino(struct vnode *vdp, struct vnode **vpp, struct componentname in msdosfs_lookup_ino() argument 178 if (vpp != NULL) in msdosfs_lookup_ino() 179 *vpp = NULL; in msdosfs_lookup_ino() 441 cache_enter(vdp, *vpp, cnp); in msdosfs_lookup_ino() 519 *vpp = vdp; in msdosfs_lookup_ino() 525 return (msdosfs_lookup_checker(pmp, vdp, tdp, vpp)); in msdosfs_lookup_ino() 552 if ((error = msdosfs_lookup_checker(pmp, vdp, tdp, vpp)) in msdosfs_lookup_ino() [all …]
|
/freebsd/sys/fs/cd9660/ |
H A D | cd9660_lookup.c | 57 struct vnode **vpp) in cd9660_ino_alloc() argument 62 return (cd9660_vget_internal(mp, dd_arg->i_ino, lkflags, vpp, in cd9660_ino_alloc() 126 struct vnode **vpp = ap->a_vpp; in cd9660_lookup() local 133 *vpp = NULL; in cd9660_lookup() 323 cache_enter(vdp, *vpp, cnp); in cd9660_lookup() 387 *vpp = tdp; in cd9660_lookup() 401 *vpp = vdp; in cd9660_lookup() 409 *vpp = tdp; in cd9660_lookup() 416 cache_enter(vdp, *vpp, cnp); in cd9660_lookup()
|
H A D | cd9660_vfsops.c | 558 cd9660_root(struct mount *mp, int flags, struct vnode **vpp) in cd9660_root() argument 569 return (cd9660_vget_internal(mp, ino, flags, vpp, in cd9660_root() 605 cd9660_fhtovp(struct mount *mp, struct fid *fhp, int flags, struct vnode **vpp) in cd9660_fhtovp() argument 620 *vpp = NULLVP; in cd9660_fhtovp() 626 *vpp = NULLVP; in cd9660_fhtovp() 629 *vpp = nvp; in cd9660_fhtovp() 630 vnode_create_vobject(*vpp, ip->i_size, curthread); in cd9660_fhtovp() 640 cd9660_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) in cd9660_vget() argument 649 return (cd9660_vget_internal(mp, ino, flags, vpp, in cd9660_vget() 672 struct vnode **vpp, int relocated, struct iso_directory_record *isodir) in cd9660_vget_internal() argument [all …]
|
/freebsd/sys/fs/nullfs/ |
H A D | null_vfsops.c | 299 nullfs_root(struct mount *mp, int flags, struct vnode **vpp) in nullfs_root() argument 313 *vpp = vp; in nullfs_root() 396 nullfs_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) in nullfs_vget() 403 error = VFS_VGET(MOUNTTONULLMOUNT(mp)->nullm_vfs, ino, flags, vpp); in nullfs_vget() 406 return (null_nodeget(mp, *vpp, vpp)); in nullfs_vget() 410 nullfs_fhtovp(struct mount *mp, struct fid *fidp, int flags, struct vnode **vpp) in nullfs_fhtovp() 415 vpp); in nullfs_fhtovp() 418 return (null_nodeget(mp, *vpp, vpp)); in nullfs_fhtovp() 395 nullfs_vget(struct mount * mp,ino_t ino,int flags,struct vnode ** vpp) nullfs_vget() argument 409 nullfs_fhtovp(struct mount * mp,struct fid * fidp,int flags,struct vnode ** vpp) nullfs_fhtovp() argument [all...] |
H A D | null_subr.c | 189 null_nodeget(struct mount *mp, struct vnode *lowervp, struct vnode **vpp) in null_nodeget() argument 199 *vpp = null_hashget(mp, lowervp); in null_nodeget() 200 if (*vpp != NULL) { in null_nodeget() 230 *vpp = null_hashget_locked(mp, lowervp); in null_nodeget() 231 if (*vpp != NULL) { in null_nodeget() 263 *vpp = vp; in null_nodeget()
|
/freebsd/sys/fs/udf/ |
H A D | udf_vfsops.c | 546 udf_root(struct mount *mp, int flags, struct vnode **vpp) in udf_unmount() 555 return (udf_vget(mp, id, flags, vpp)); 576 udf_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) in udf_statfs() 588 error = vfs_hash_get(mp, ino, flags, curthread, vpp, NULL, NULL); in udf_vget() 589 if (error || *vpp != NULL) in udf_vget() 630 error = vfs_hash_insert(vp, ino, flags, td, vpp, NULL, NULL); in udf_vget() 631 if (error || *vpp != NULL) in udf_vget() 714 *vpp = vp; in udf_vget() 722 *vpp = NULL; in udf_vget() 727 udf_fhtovp(struct mount *mp, struct fid *fhp, int flags, struct vnode **vpp) in udf_vget() 557 udf_root(struct mount * mp,int flags,struct vnode ** vpp) udf_root() argument 587 udf_vget(struct mount * mp,ino_t ino,int flags,struct vnode ** vpp) udf_vget() argument 738 udf_fhtovp(struct mount * mp,struct fid * fhp,int flags,struct vnode ** vpp) udf_fhtovp() argument [all...] |
/freebsd/sys/fs/autofs/ |
H A D | autofs_vnops.c | 200 struct vnode **vpp) in autofs_vget_callback() argument 203 return (autofs_node_vn(arg, mp, flags, vpp)); in autofs_vget_callback() 209 struct vnode *dvp, *newvp, **vpp; in autofs_lookup() local 217 vpp = ap->a_vpp; in autofs_lookup() 233 anp->an_parent, cnp->cn_lkflags, vpp); in autofs_lookup() 244 *vpp = dvp; in autofs_lookup() 284 error = autofs_node_vn(child, mp, cnp->cn_lkflags, vpp); in autofs_lookup() 644 struct vnode **vpp) in autofs_node_vn() argument 672 *vpp = vp; in autofs_node_vn() 705 *vpp = vp; in autofs_node_vn()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_vfs.c | 119 mount_snapshot(kthread_t *td, vnode_t **vpp, const char *fstype, char *fspath, in mount_snapshot() argument 127 ASSERT_VOP_ELOCKED(*vpp, "mount_snapshot"); in mount_snapshot() 129 vp = *vpp; in mount_snapshot() 130 *vpp = NULL; in mount_snapshot() 255 *vpp = mvp; in mount_snapshot()
|
/freebsd/sys/fs/fdescfs/ |
H A D | fdesc_vnops.c | 140 struct vnode **vpp) in fdesc_allocvp() argument 170 *vpp = vp; in fdesc_allocvp() 199 *vpp = NULLVP; in fdesc_allocvp() 214 *vpp = NULLVP; in fdesc_allocvp() 231 *vpp = vp2; in fdesc_allocvp() 240 *vpp = vp; in fdesc_allocvp() 284 struct vnode **vpp = ap->a_vpp; in fdesc_lookup() local 303 *vpp = dvp; in fdesc_lookup() 372 *vpp = fvp; in fdesc_lookup() 376 *vpp = NULL; in fdesc_lookup()
|
/freebsd/sys/fs/tarfs/ |
H A D | tarfs_vnops.c | 225 struct vnode *dvp, **vpp; in tarfs_lookup() 232 vpp = ap->a_vpp; in tarfs_lookup() 235 *vpp = NULLVP; in tarfs_lookup() 256 vpp); in tarfs_readdir() 261 *vpp = dvp; in tarfs_readdir() 271 *vpp = vp; in tarfs_readdir() 287 error = VFS_VGET(tmp->vfs, tnp->ino, cnp->cn_lkflags, vpp); in tarfs_readdir() 294 tnp = VP_TO_TARFS_NODE(*vpp); in tarfs_readdir() 296 *vpp, tnp); in tarfs_readdir() 301 cache_enter(dvp, *vpp, cn in tarfs_readdir() 171 struct vnode *dvp, **vpp; tarfs_lookup() local [all...] |
H A D | tarfs_vfsops.c | 1099 tarfs_root(struct mount *mp, int flags, struct vnode **vpp) in tarfs_root() argument 1111 *vpp = nvp; in tarfs_root() 1142 tarfs_vget(struct mount *mp, ino_t ino, int lkflags, struct vnode **vpp) in tarfs_vget() argument 1154 error = vfs_hash_get(mp, ino, lkflags, td, vpp, NULL, NULL); in tarfs_vget() 1158 if (*vpp != NULL) { in tarfs_vget() 1159 TARFS_DPF(FS, "%s: found hashed vnode %p\n", __func__, *vpp); in tarfs_vget() 1171 *vpp = tmp->znode; in tarfs_vget() 1195 error = vfs_hash_insert(vp, ino, lkflags, td, vpp, NULL, NULL); in tarfs_vget() 1196 if (error != 0 || *vpp != NULL) in tarfs_vget() 1200 *vpp = vp; in tarfs_vget() [all …]
|
/freebsd/sys/fs/fuse/ |
H A D | fuse_internal.c | 124 struct vnode **vpp) in fuse_internal_get_cached_vnode() argument 131 *vpp = NULL; in fuse_internal_get_cached_vnode() 133 error = vfs_hash_get(mp, fuse_vnode_hash(nodeid), flags, td, vpp, in fuse_internal_get_cached_vnode() 142 if (*vpp != NULL) { in fuse_internal_get_cached_vnode() 144 if (bintime_cmp(&(VTOFUD(*vpp)->entry_cache_timeout), &now, >)){ in fuse_internal_get_cached_vnode() 150 cache_purge(*vpp); in fuse_internal_get_cached_vnode() 151 vput(*vpp); in fuse_internal_get_cached_vnode() 152 *vpp = NULL; in fuse_internal_get_cached_vnode() 526 fuse_internal_mknod(struct vnode *dvp, struct vnode **vpp, in fuse_internal_mknod() argument 544 return (fuse_internal_newentry(dvp, vpp, cnp, FUSE_MKNOD, &fmni, in fuse_internal_mknod() [all …]
|
H A D | fuse_vnops.c | 996 struct vnode **vpp = ap->a_vpp; in fuse_vnop_create() local 1024 return fuse_internal_mknod(dvp, vpp, cnp, vap); in fuse_vnop_create() 1105 err = fuse_vnode_get(mp, feo, feo->nodeid, dvp, vpp, cnp, vap->va_type); in fuse_vnop_create() 1121 ASSERT_VOP_ELOCKED(*vpp, "fuse_vnop_create"); in fuse_vnop_create() 1122 fuse_internal_cache_attrs(*vpp, &feo->attr, feo->attr_valid, in fuse_vnop_create() 1125 fuse_filehandle_init(*vpp, FUFH_RDWR, NULL, td, cred, foo); in fuse_vnop_create() 1126 fuse_vnode_open(*vpp, foo->open_flags, td); in fuse_vnop_create() 1405 fuse_lookup_alloc(struct mount *mp, void *arg, int lkflags, struct vnode **vpp) in fuse_lookup_alloc() argument 1409 return fuse_vnode_get(mp, flaa->feo, flaa->nid, NULL, vpp, flaa->cnp, in fuse_lookup_alloc() 1427 struct vnode **vpp = ap->a_vpp; in fuse_vnop_lookup() local [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/ |
H A D | twl6030.dtsi | 44 vpp: regulator-vpp { label 45 compatible = "ti,twl6030-vpp";
|
/freebsd/sys/fs/tmpfs/ |
H A D | tmpfs_vnops.c | 92 tmpfs_lookup1(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp) in tmpfs_lookup1() argument 101 *vpp = NULLVP; in tmpfs_lookup1() 118 pnode, cnp->cn_lkflags, vpp); in tmpfs_lookup1() 124 *vpp = dvp; in tmpfs_lookup1() 188 cnp->cn_lkflags, vpp); in tmpfs_lookup1() 194 curthread) && VOP_ACCESS(*vpp, VADMIN, in tmpfs_lookup1() 197 vput(*vpp); in tmpfs_lookup1() 198 *vpp = NULL; in tmpfs_lookup1() 203 cnp->cn_lkflags, vpp); in tmpfs_lookup1() 216 cache_enter(dvp, *vpp, cnp); in tmpfs_lookup1() [all …]
|