| /dflybsd-src/bin/sh/ |
| H A D | var.c | 164 struct var **vpp; in initvar() local 168 if (find_var(ip->text, &vpp, &vp->name_len) != NULL) in initvar() 170 vp->next = *vpp; in initvar() 171 *vpp = vp; in initvar() 179 if (find_var("PS1", &vpp, &vps1.name_len) == NULL) { in initvar() 180 vps1.next = *vpp; in initvar() 181 *vpp = &vps1; in initvar() 326 struct var *vp, **vpp; in setvareq() local 333 vp = find_var(s, &vpp, &nlen); in setvareq() 387 vp->next = *vpp; in setvareq() [all …]
|
| /dflybsd-src/sys/kern/ |
| H A D | vfs_lookup.c | 75 relookup(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp) in relookup() argument 88 *vpp = NULL; in relookup() 109 if ((error = VOP_OLD_LOOKUP(dvp, vpp, cnp)) != 0) { in relookup() 110 KASSERT(*vpp == NULL, ("leaf should be empty")); in relookup() 132 KASSERT((*vpp)->v_type != VLNK || !(cnp->cn_flags & CNP_FOLLOW), in relookup() 151 if (*vpp) { in relookup() 152 vput(*vpp); in relookup() 153 *vpp = NULL; in relookup()
|
| H A D | vfs_vfsops.c | 144 vfs_root(struct mount *mp, struct vnode **vpp) in vfs_root() argument 150 error = (mp->mnt_op->vfs_root)(mp, vpp); in vfs_root() 220 vfs_vget(struct mount *mp, struct vnode *dvp, ino_t ino, struct vnode **vpp) in vfs_vget() argument 226 error = (mp->mnt_op->vfs_vget)(mp, dvp, ino, vpp); in vfs_vget() 236 struct fid *fhp, struct vnode **vpp) in vfs_fhtovp() argument 242 error = (mp->mnt_op->vfs_fhtovp)(mp, rootvp, fhp, vpp); in vfs_fhtovp()
|
| H A D | vfs_vopops.c | 174 struct vnode **vpp, struct componentname *cnp) in vop_old_lookup() argument 183 ap.a_vpp = vpp; in vop_old_lookup() 197 struct vnode **vpp, struct componentname *cnp, struct vattr *vap) in vop_old_create() argument 206 ap.a_vpp = vpp; in vop_old_create() 246 struct vnode **vpp, struct componentname *cnp, struct vattr *vap) in vop_old_mknod() argument 255 ap.a_vpp = vpp; in vop_old_mknod() 730 struct vnode **vpp, struct componentname *cnp, struct vattr *vap) in vop_old_mkdir() argument 739 ap.a_vpp = vpp; in vop_old_mkdir() 779 struct vnode **vpp, struct componentname *cnp, in vop_old_symlink() argument 789 ap.a_vpp = vpp; in vop_old_symlink() [all …]
|
| /dflybsd-src/sys/vfs/devfs/ |
| H A D | devfs_vfsops.c | 58 int devfs_vfs_root(struct mount *mp, struct vnode **vpp); 60 ino_t ino, struct vnode **vpp); 62 struct fid *fhp, struct vnode **vpp); 166 devfs_vfs_root(struct mount *mp, struct vnode **vpp) in devfs_vfs_root() argument 172 ret = devfs_allocv(vpp, DEVFS_MNTDATA(mp)->root_node); in devfs_vfs_root() 204 struct fid *fhp, struct vnode **vpp) in devfs_vfs_fhtovp() argument 219 *vpp = vp; in devfs_vfs_fhtovp() 246 ino_t ino, struct vnode **vpp) in devfs_vfs_vget() argument 254 *vpp = vp; in devfs_vfs_vget()
|
| /dflybsd-src/sys/vfs/ufs/ |
| H A D | ufs_vfsops.c | 58 ufs_root(struct mount *mp, struct vnode **vpp) in ufs_root() argument 66 *vpp = nvp; in ufs_root() 204 struct ufid *ufhp, struct vnode **vpp) in ufs_fhtovp() argument 212 *vpp = NULLVP; in ufs_fhtovp() 221 *vpp = NULLVP; in ufs_fhtovp() 224 *vpp = nvp; in ufs_fhtovp()
|
| /dflybsd-src/sys/sys/ |
| H A D | vfsops.h | 770 struct vnode **vpp, struct componentname *cnp); 772 struct vnode **vpp, struct componentname *cnp, 777 struct vnode **vpp, struct componentname *cnp, 816 struct vnode **vpp, struct componentname *cnp, 821 struct vnode **vpp, struct componentname *cnp, 870 struct vnode **vpp, struct ucred *cred, char **fakename); 872 struct vnode **vpp, struct ucred *cred, struct vattr *vap); 874 struct vnode **vpp, struct ucred *cred, struct vattr *vap); 876 struct vnode **vpp, struct ucred *cred, struct vattr *vap); 880 struct vnode **vpp, struct ucred *cred, [all …]
|
| /dflybsd-src/sys/vfs/hpfs/ |
| H A D | hpfs_vfsops.c | 72 ino_t ino, struct vnode **vpp); 382 hpfs_root(struct mount *mp, struct vnode **vpp) in hpfs_root() argument 388 error = VFS_VGET(mp, NULL, (ino_t)hpmp->hpm_su.su_rootfno, vpp); in hpfs_root() 425 struct fid *fhp, struct vnode **vpp) in hpfs_fhtovp() argument 432 *vpp = NULLVP; in hpfs_fhtovp() 437 *vpp = nvp; in hpfs_fhtovp() 457 hpfs_vget(struct mount *mp, struct vnode *dvp, ino_t ino, struct vnode **vpp) in hpfs_vget() argument 467 *vpp = NULL; in hpfs_vget() 471 if ((*vpp = hpfs_hphashvget(hpmp->hpm_dev, ino)) != NULL) { in hpfs_vget() 518 if ((*vpp = hpfs_hphashvget(hpmp->hpm_dev, ino)) != NULL) { in hpfs_vget() [all …]
|
| /dflybsd-src/sys/vfs/fuse/ |
| H A D | fuse_node.c | 96 uint64_t ino, enum vtype vtyp, struct vnode **vpp) in fuse_alloc_node() argument 114 error = fuse_node_vn(fnp, vpp); in fuse_alloc_node() 126 fuse_node_vn(struct fuse_node *fnp, struct vnode **vpp) in fuse_node_vn() argument 162 *vpp = vp; in fuse_node_vn() 216 *vpp = vp; in fuse_node_vn()
|
| /dflybsd-src/sys/vfs/ntfs/ |
| H A D | ntfs_vfsops.c | 78 ino_t ino, struct vnode **vpp); 558 ntfs_root(struct mount *mp, struct vnode **vpp) in ntfs_root() argument 571 *vpp = nvp; in ntfs_root() 656 struct fid *fhp, struct vnode **vpp) in ntfs_fhtovp() argument 665 *vpp = NULLVP; in ntfs_fhtovp() 670 *vpp = nvp; in ntfs_fhtovp() 694 struct vnode **vpp) in ntfs_vgetex() argument 707 *vpp = NULL; in ntfs_vgetex() 758 *vpp = FTOV(fp); in ntfs_vgetex() 789 *vpp = vp; in ntfs_vgetex() [all …]
|
| /dflybsd-src/sys/vfs/msdosfs/ |
| H A D | msdosfs_lookup.c | 71 struct denode *tdp, struct vnode **vpp) in msdosfs_lookup_checker() argument 83 *vpp = NULL; in msdosfs_lookup_checker() 87 *vpp = vp; in msdosfs_lookup_checker() 114 struct vnode **vpp = ap->a_vpp; in msdosfs_lookup() local 148 *vpp = NULL; in msdosfs_lookup() 475 *vpp = vdp; in msdosfs_lookup() 481 error = msdosfs_lookup_checker(pmp, vdp, tdp, vpp); in msdosfs_lookup() 512 error = msdosfs_lookup_checker(pmp, vdp, tdp, vpp); in msdosfs_lookup() 557 error = msdosfs_lookup_checker(pmp, vdp, VTODE(*vpp), vpp); in msdosfs_lookup() 566 *vpp = vdp; in msdosfs_lookup() [all …]
|
| /dflybsd-src/sys/vfs/nfs/ |
| H A D | nfs_subs.c | 984 struct vnode **dvpp, struct vnode **vpp, in nfs_namei() argument 1182 if (vpp && nd->nl_nch.ncp->nc_vp) { in nfs_namei() 1183 error = cache_vget(&nd->nl_nch, nd->nl_cred, LK_EXCLUSIVE, vpp); in nfs_namei() 1190 if (vpp && *vpp) { in nfs_namei() 1191 vput(*vpp); in nfs_namei() 1192 *vpp = NULL; in nfs_namei() 1214 struct mount **mpp, struct vnode **vpp, in nfsrv_fhtovp() argument 1226 *vpp = NULL; in nfsrv_fhtovp() 1243 error = VFS_FHTOVP(mp, NULL, &fhp->fh_fid, vpp); in nfsrv_fhtovp() 1252 vput(*vpp); in nfsrv_fhtovp() [all …]
|
| /dflybsd-src/sys/vfs/smbfs/ |
| H A D | smbfs_node.c | 162 struct vnode **vpp) in smbfs_node_alloc() argument 171 *vpp = NULL; in smbfs_node_alloc() 182 *vpp = vp; in smbfs_node_alloc() 218 *vpp = vp; in smbfs_node_alloc() 268 *vpp = vp; in smbfs_node_alloc() 274 struct smbfattr *fap, struct vnode **vpp) in smbfs_nget() argument 279 *vpp = NULL; in smbfs_nget() 285 *vpp = vp; in smbfs_nget()
|
| H A D | smbfs_vnops.c | 462 struct vnode **vpp=ap->a_vpp; in smbfs_create() local 475 *vpp = NULL; in smbfs_create() 491 *vpp = vp; in smbfs_create() 1017 struct vnode **vpp = ap->a_vpp; in smbfs_lookup() local 1032 *vpp = NULL; in smbfs_lookup() 1108 *vpp = dvp; in smbfs_lookup() 1114 *vpp = vp; in smbfs_lookup() 1130 *vpp = vp; in smbfs_lookup() 1152 *vpp = vp; in smbfs_lookup() 1155 *vpp = dvp; in smbfs_lookup() [all …]
|
| /dflybsd-src/sys/vfs/udf/ |
| H A D | udf_vfsops.c | 439 udf_root(struct mount *mp, struct vnode **vpp) in udf_root() argument 450 error = udf_vget(mp, NULL, id, vpp); in udf_root() 454 vp = *vpp; in udf_root() 484 udf_vget(struct mount *mp, struct vnode *dvp, ino_t ino, struct vnode **vpp) in udf_vget() argument 497 if ((error = udf_hashlookup(udfmp, ino, vpp)) != 0) in udf_vget() 499 if (*vpp != NULL) { in udf_vget() 579 *vpp = vp; in udf_vget() 593 struct fid *fhp, struct vnode **vpp) in udf_fhtovp() argument 602 *vpp = NULLVP; in udf_fhtovp() 606 *vpp = nvp; in udf_fhtovp()
|
| /dflybsd-src/sys/vfs/isofs/cd9660/ |
| H A D | cd9660_vfsops.c | 605 cd9660_root(struct mount *mp, struct vnode **vpp) in cd9660_root() argument 616 return (cd9660_vget_internal(mp, ino, vpp, in cd9660_root() 664 struct fid *fhp, struct vnode **vpp) in cd9660_fhtovp() argument 677 *vpp = NULLVP; in cd9660_fhtovp() 683 *vpp = NULLVP; in cd9660_fhtovp() 686 *vpp = nvp; in cd9660_fhtovp() 712 cd9660_vget(struct mount *mp, struct vnode *dvp, ino_t ino, struct vnode **vpp) in cd9660_vget() argument 721 return (cd9660_vget_internal(mp, ino, vpp, in cd9660_vget() 731 cd9660_vget_internal(struct mount *mp, ino_t ino, struct vnode **vpp, in cd9660_vget_internal() argument 744 if ((*vpp = cd9660_ihashget(dev, ino)) != NULLVP) in cd9660_vget_internal() [all …]
|
| H A D | cd9660_lookup.c | 113 struct vnode **vpp = ap->a_vpp; in cd9660_lookup() local 119 *vpp = NULL; in cd9660_lookup() 360 *vpp = tdp; in cd9660_lookup() 364 *vpp = vdp; in cd9660_lookup() 375 *vpp = tdp; in cd9660_lookup()
|
| /dflybsd-src/sys/vfs/tmpfs/ |
| H A D | tmpfs_vfsops.c | 412 tmpfs_root(struct mount *mp, struct vnode **vpp) in tmpfs_root() argument 421 *vpp = NULL; in tmpfs_root() 425 LK_EXCLUSIVE, vpp); in tmpfs_root() 426 (*vpp)->v_flag |= VROOT; in tmpfs_root() 427 (*vpp)->v_type = VDIR; in tmpfs_root() 436 struct vnode **vpp) in tmpfs_fhtovp() argument 463 rc = tmpfs_alloc_vp(mp, NULL, node, LK_EXCLUSIVE, vpp); in tmpfs_fhtovp()
|
| H A D | tmpfs_vnops.c | 175 struct vnode **vpp = ap->a_vpp; in tmpfs_nlookupdotdot() local 180 *vpp = NULL; in tmpfs_nlookupdotdot() 191 LK_EXCLUSIVE | LK_RETRY, vpp); in tmpfs_nlookupdotdot() 193 if (*vpp) in tmpfs_nlookupdotdot() 194 vn_unlock(*vpp); in tmpfs_nlookupdotdot() 196 return (*vpp == NULL) ? ENOENT : 0; in tmpfs_nlookupdotdot() 205 struct vnode **vpp = ap->a_vpp; in tmpfs_ncreate() local 213 error = tmpfs_alloc_file(dvp, vpp, vap, ncp, cred, NULL); in tmpfs_ncreate() 216 cache_setvp(ap->a_nch, *vpp); in tmpfs_ncreate() 227 struct vnode **vpp = ap->a_vpp; in tmpfs_nmknod() local [all …]
|
| /dflybsd-src/sys/vfs/nullfs/ |
| H A D | null_vfsops.c | 68 static int nullfs_root(struct mount *mp, struct vnode **vpp); 272 nullfs_root(struct mount *mp, struct vnode **vpp) in nullfs_root() argument 286 *vpp = vp; in nullfs_root() 390 struct fid *fhp, struct vnode **vpp) in nullfs_fhtovp() argument 394 return VFS_FHTOVP(xmp->nullm_vfs, xmp->nullm_rootvp, fhp, vpp); in nullfs_fhtovp()
|
| /dflybsd-src/sys/vfs/hammer/ |
| H A D | hammer_vfsops.c | 238 static int hammer_vfs_root(struct mount *mp, struct vnode **vpp); 245 ino_t ino, struct vnode **vpp); 248 struct fid *fhp, struct vnode **vpp); 921 ino_t ino, struct vnode **vpp) in hammer_vfs_vget() argument 953 *vpp = NULL; in hammer_vfs_vget() 955 error = hammer_get_vnode(ip, vpp); in hammer_vfs_vget() 970 hammer_vfs_root(struct mount *mp, struct vnode **vpp) in hammer_vfs_root() argument 974 error = hammer_vfs_vget(mp, NULL, HAMMER_OBJID_ROOT, vpp); in hammer_vfs_root() 1106 struct fid *fhp, struct vnode **vpp) in hammer_vfs_fhtovp() argument 1133 error = hammer_get_vnode(ip, vpp); in hammer_vfs_fhtovp() [all …]
|
| /dflybsd-src/sys/vfs/dirfs/ |
| H A D | dirfs_vfsops.c | 222 dirfs_root(struct mount *mp, struct vnode **vpp) in dirfs_root() argument 275 dirfs_alloc_vp(mp, vpp, LK_CANRECURSE, dnp); in dirfs_root() 276 KTR_LOG(dirfs_root, dnp, *vpp, dmp->dm_path, dnp->dn_fd, error); in dirfs_root() 282 dirfs_fhtovp(struct mount *mp, struct vnode *rootvp, struct fid *fhp, struct vnode **vpp) in dirfs_fhtovp() argument
|
| /dflybsd-src/sys/vfs/ext2fs/ |
| H A D | ext2_vfsops.c | 1261 ext2_alloc_vnode(struct mount *mp, ino_t ino, struct vnode **vpp) in ext2_alloc_vnode() argument 1291 *vpp = NULL; in ext2_alloc_vnode() 1315 *vpp = NULL; in ext2_alloc_vnode() 1325 *vpp = vp; in ext2_alloc_vnode() 1337 ext2_vget(struct mount *mp, struct vnode *dvp, ino_t ino, struct vnode **vpp) in ext2_vget() argument 1349 if ((*vpp = ext2_ihashget(ump->um_dev, ino)) != NULL) in ext2_vget() 1368 *vpp = NULL; in ext2_vget() 1377 *vpp = NULL; in ext2_vget() 1407 *vpp = NULL; in ext2_vget() 1428 *vpp = vp; in ext2_vget() [all …]
|
| H A D | ext2_lookup.c | 127 static int ext2_lookup_ino(struct vnode *vdp, struct vnode **vpp, 312 ext2_lookup_ino(struct vnode *vdp, struct vnode **vpp, struct componentname *cnp, in ext2_lookup_ino() argument 341 if (vpp != NULL) in ext2_lookup_ino() 342 *vpp = NULL; in ext2_lookup_ino() 579 *vpp = vdp; in ext2_lookup_ino() 597 *vpp = tdp; in ext2_lookup_ino() 623 *vpp = tdp; in ext2_lookup_ino() 665 *vpp = tdp; in ext2_lookup_ino() 668 *vpp = vdp; in ext2_lookup_ino() 676 *vpp = tdp; in ext2_lookup_ino()
|
| /dflybsd-src/sys/dev/disk/ccd/ |
| H A D | ccd.c | 1300 struct vnode **vpp; in ccdioctl() local 1352 vpp = kmalloc(ccio->ccio_ndisks * sizeof(struct vnode *), in ccdioctl() 1358 kfree(vpp, M_DEVBUF); in ccdioctl() 1377 if ((error = ccdlookup(cpp[i], &vpp[i])) != 0) { in ccdioctl() 1379 (void)vn_close(vpp[j], FREAD|FWRITE, NULL); in ccdioctl() 1380 kfree(vpp, M_DEVBUF); in ccdioctl() 1388 ccd.ccd_vpp = vpp; in ccdioctl() 1396 vn_close(vpp[j], FREAD|FWRITE, NULL); in ccdioctl() 1397 kfree(vpp, M_DEVBUF); in ccdioctl() 1513 ccdlookup(char *path, struct vnode **vpp) in ccdlookup() argument [all …]
|