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

12345

/freebsd-10.0-release/bin/sh/
H A Dvar.c162 struct var **vpp; local
166 if (find_var(ip->text, &vpp, &vp->name_len) != NULL)
168 vp->next = *vpp;
169 *vpp = vp;
177 if (find_var("PS1", &vpp, &vps1.name_len) == NULL) {
178 vps1.next = *vpp;
179 *vpp = &vps1;
317 struct var *vp, **vpp; local
324 vp = find_var(s, &vpp, &nlen);
368 vp->next = *vpp;
532 struct var **vpp; local
577 struct var **vpp; local
633 struct var **vpp; local
734 struct var **vpp; local
850 struct var **vpp; local
910 struct var *vp, **vpp; local
[all...]
/freebsd-10.0-release/sys/fs/pseudofs/
H A Dpseudofs_vncache.c111 pfs_vncache_alloc(struct mount *mp, struct vnode **vpp, argument
132 *vpp = vp;
153 error = getnewvnode("pseudofs", mp, &pfs_vnodeops, vpp);
160 (*vpp)->v_data = pvd;
163 (*vpp)->v_vflag = VV_ROOT;
172 (*vpp)->v_type = VDIR;
175 (*vpp)->v_type = VREG;
178 (*vpp)->v_type = VLNK;
190 (*vpp)->v_vflag |= VV_PROCDEP;
191 pvd->pvd_vnode = *vpp;
[all...]
/freebsd-10.0-release/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.c438 fuse_vfsop_root(struct mount *mp, int lkflags, struct vnode **vpp) argument
446 *vpp = data->vroot;
448 err = fuse_vnode_get(mp, FUSE_ROOT_ID, NULL, vpp, NULL, VDIR);
451 MPASS(data->vroot == NULL || data->vroot == *vpp);
454 data->vroot = *vpp;
456 vref(*vpp);
457 } else if (data->vroot != *vpp) {
460 VOP_UNLOCK(*vpp, 0);
461 vrele(*vpp);
462 vrecycle(*vpp);
[all...]
H A Dfuse_node.h116 struct vnode **vpp,
/freebsd-10.0-release/sys/ufs/ufs/
H A Dufs_vfsops.c69 ufs_root(mp, flags, vpp)
72 struct vnode **vpp;
80 *vpp = nvp;
211 ufs_fhtovp(mp, ufhp, flags, vpp)
215 struct vnode **vpp;
223 *vpp = NULLVP;
230 *vpp = NULLVP;
233 *vpp = nvp;
234 vnode_create_vobject(*vpp, DIP(ip, i_size), curthread);
/freebsd-10.0-release/sys/fs/nullfs/
H A Dnull_vfsops.c262 nullfs_root(mp, flags, vpp)
265 struct vnode **vpp;
281 *vpp = vp;
339 nullfs_vget(mp, ino, flags, vpp)
343 struct vnode **vpp;
350 error = VFS_VGET(MOUNTTONULLMOUNT(mp)->nullm_vfs, ino, flags, vpp);
353 return (null_nodeget(mp, *vpp, vpp));
357 nullfs_fhtovp(mp, fidp, flags, vpp)
361 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) {
261 *vpp = null_hashins(mp, xp);
262 if (*vpp != NULL) {
267 *vpp = vp;
H A Dnull.h68 int null_nodeget(struct mount *mp, struct vnode *target, struct vnode **vpp);
/freebsd-10.0-release/sys/kern/
H A Dvfs_hash.c72 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
93 *vpp = vp;
98 *vpp = NULL;
114 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
119 *vpp = NULL;
140 *vpp = vp2;
H A Dvfs_cache.c459 * succeeds, the vnode is returned in *vpp, and a status of -1 is
466 * vpp is locked and ref'd on return. If we're looking up DOTDOT, dvp is
472 cache_lookup(dvp, vpp, cnp, tsp, ticksp)
474 struct vnode **vpp;
496 *vpp = dvp;
501 *vpp, 0, 0);
526 *vpp = ncp->nc_vp;
528 *vpp = ncp->nc_dvp;
530 if (*vpp == NULL)
533 dvp, cnp->cn_nameptr, *vpp);
1013 struct vnode **vpp = ap->a_vpp; local
[all...]
/freebsd-10.0-release/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-10.0-release/sys/fs/fdescfs/
H A Dfdesc_vnops.c149 fdesc_allocvp(ftype, fd_fd, ix, mp, vpp)
154 struct vnode **vpp;
185 *vpp = vp;
206 *vpp = NULLVP;
221 *vpp = NULLVP;
238 *vpp = vp2;
246 *vpp = vp;
262 struct vnode **vpp = ap->a_vpp; local
280 *vpp = dvp;
352 *vpp
[all...]
H A Dfdesc_vfsops.c160 fdesc_root(mp, flags, vpp)
163 struct vnode **vpp;
172 *vpp = vp;
/freebsd-10.0-release/sys/cddl/compat/opensolaris/sys/
H A Dvnode.h90 #define VOP_REALVP(vp, vpp, ct) (*(vpp) = (vp), 0)
161 vnode_t **vpp, enum create crwhy, mode_t umask, struct vnode *startvp,
203 *vpp = nd.ni_vp;
210 vnode_t **vpp, enum create crwhy, mode_t umask)
213 return (vn_openat(pnamep, seg, filemode, createmode, vpp, crwhy,
216 #define vn_open(pnamep, seg, filemode, createmode, vpp, crwhy, umask) \
217 zfs_vn_open((pnamep), (seg), (filemode), (createmode), (vpp), (crwhy), (umask))
160 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
209 zfs_vn_open(char *pnamep, enum uio_seg seg, int filemode, int createmode, vnode_t **vpp, enum create crwhy, mode_t umask) argument
/freebsd-10.0-release/sys/fs/cd9660/
H A Dcd9660_lookup.c118 struct vnode **vpp = ap->a_vpp; local
125 *vpp = NULL;
315 cache_enter(vdp, *vpp, cnp);
405 *vpp = tdp;
419 *vpp = vdp;
427 *vpp = tdp;
434 cache_enter(vdp, *vpp, cnp);
H A Dcd9660_vfsops.c541 cd9660_root(mp, flags, vpp)
544 struct vnode **vpp;
555 return (cd9660_vget_internal(mp, ino, flags, vpp,
593 cd9660_fhtovp(mp, fhp, flags, vpp)
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)
[all...]
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_ctldir.c523 zfsctl_root_lookup(vnode_t *dvp, char *nm, vnode_t **vpp, pathname_t *pnp, argument
539 err = VFS_ROOT(dvp->v_vfsp, LK_EXCLUSIVE, vpp);
541 VOP_UNLOCK(*vpp, 0);
543 err = gfs_vop_lookup(dvp, nm, vpp, pnp, flags, rdir,
600 vnode_t **vpp = ap->a_vpp; local
613 err = zfsctl_root_lookup(dvp, nm, vpp, NULL, 0, NULL, cr, NULL, NULL, NULL);
615 vn_lock(*vpp, LK_EXCLUSIVE | LK_RETRY);
878 zfsctl_snapdir_mkdir(vnode_t *dvp, char *dirname, vattr_t *vap, vnode_t **vpp, argument
892 *vpp = NULL;
902 err = lookupnameat(dirname, seg, follow, NULL, vpp, dv
939 vnode_t **vpp = ap->a_vpp; local
1120 vnode_t **vpp = ap->a_vpp; local
1510 zfsctl_traverse_begin(vnode_t **vpp, int lktype) argument
1574 vnode_t **vpp = ap->a_vpp; local
[all...]
/freebsd-10.0-release/sys/fs/ext2fs/
H A Dext2_vfsops.c897 ext2_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) argument
910 error = vfs_hash_get(mp, ino, flags, td, vpp, NULL, NULL);
911 if (error || *vpp != NULL)
920 *vpp = NULL;
934 *vpp = NULL;
937 error = vfs_hash_insert(vp, ino, flags, td, vpp, NULL, NULL);
938 if (error || *vpp != NULL)
952 *vpp = NULL;
987 *vpp = NULL;
1004 *vpp
1019 ext2_fhtovp(struct mount *mp, struct fid *fhp, int flags, struct vnode **vpp) argument
1104 ext2_root(struct mount *mp, int flags, struct vnode **vpp) argument
[all...]
/freebsd-10.0-release/sys/fs/msdosfs/
H A Dmsdosfs_lookup.c64 static int msdosfs_lookup_(struct vnode *vdp, struct vnode **vpp,
92 msdosfs_lookup_(struct vnode *vdp, struct vnode **vpp, argument
134 if (vpp != NULL)
135 *vpp = NULL;
399 cache_enter(vdp, *vpp, cnp);
476 *vpp = vdp;
482 *vpp = DETOV(tdp);
509 *vpp = DETOV(tdp);
527 error = msdosfs_deget_dotdot(pdp, cluster, blkoff, vpp);
529 *vpp
[all...]
/freebsd-10.0-release/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_vfs.c115 mount_snapshot(kthread_t *td, vnode_t **vpp, const char *fstype, char *fspath, argument
136 vp = *vpp;
200 *vpp = NULL;
233 *vpp = mvp;
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzfs_ctldir.h56 int zfsctl_root_lookup(vnode_t *dvp, char *nm, vnode_t **vpp, pathname_t *pnp,
/freebsd-10.0-release/sys/fs/tmpfs/
H A Dtmpfs_vfsops.c332 tmpfs_root(struct mount *mp, int flags, struct vnode **vpp) argument
335 error = tmpfs_alloc_vp(mp, VFS_TO_TMPFS(mp)->tm_root, flags, vpp);
338 (*vpp)->v_vflag |= VV_ROOT;
347 struct vnode **vpp)
376 return (tmpfs_alloc_vp(mp, node, LK_EXCLUSIVE, vpp));
346 tmpfs_fhtovp(struct mount *mp, struct fid *fhp, int flags, struct vnode **vpp) argument
H A Dtmpfs_vnops.c77 struct vnode **vpp = v->a_vpp; local
85 *vpp = NULLVP;
110 cnp->cn_lkflags, vpp);
116 *vpp = dvp;
176 cnp->cn_lkflags, vpp);
182 VOP_ACCESS(*vpp, VADMIN, cnp->cn_cred, cnp->cn_thread)) {
184 vput(*vpp);
185 *vpp = NULL;
191 cnp->cn_lkflags, vpp);
200 cache_enter(dvp, *vpp, cn
216 struct vnode **vpp = v->a_vpp; local
230 struct vnode **vpp = v->a_vpp; local
1065 struct vnode **vpp = v->a_vpp; local
1175 struct vnode **vpp = v->a_vpp; local
[all...]
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/
H A Dgfs.c436 gfs_lookup_dot(vnode_t **vpp, vnode_t *dvp, vnode_t *pvp, const char *nm) argument
440 *vpp = dvp;
446 *vpp = dvp;
449 *vpp = pvp;
451 vn_lock(*vpp, LK_EXCLUSIVE | LK_RETRY);
743 * int gfs_lookup_cb(vnode_t *pvp, const char *nm, vnode_t **vpp, cred_t *cr,
748 * vpp - pointer to resulting vnode
764 const char *nm, vnode_t *dvp, vnode_t **vpp, cred_t *cr, int flags,
779 ret = callback(dvp, nm, vpp, &ino, cr, flags, direntflags, realpnp);
787 fp = (gfs_file_t *)((*vpp)
763 gfs_dir_lookup_dynamic(gfs_lookup_cb callback, gfs_dir_t *dp, const char *nm, vnode_t *dvp, vnode_t **vpp, cred_t *cr, int flags, int *direntflags, pathname_t *realpnp) argument
816 gfs_dir_lookup_static(int (*compare)(const char *, const char *), gfs_dir_t *dp, const char *nm, vnode_t *dvp, int *idx, vnode_t **vpp, pathname_t *rpnp) argument
908 gfs_dir_lookup(vnode_t *dvp, const char *nm, vnode_t **vpp, cred_t *cr, int flags, int *direntflags, pathname_t *realpnp) argument
1083 gfs_vop_lookup(vnode_t *dvp, char *nm, vnode_t **vpp, pathname_t *pnp, int flags, vnode_t *rdir, cred_t *cr, caller_context_t *ct, int *direntflags, pathname_t *realpnp) argument
[all...]

Completed in 233 milliseconds

12345