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

12345

/freebsd-12-stable/bin/sh/
H A Dvar.c164 struct var **vpp; local
168 if (find_var(ip->text, &vpp, &vp->name_len) != NULL)
170 vp->next = *vpp;
171 *vpp = vp;
179 if (find_var("PS1", &vpp, &vps1.name_len) == NULL) {
180 vps1.next = *vpp;
181 *vpp = &vps1;
326 struct var *vp, **vpp; local
333 vp = find_var(s, &vpp, &nlen);
387 vp->next = *vpp;
554 struct var **vpp; local
599 struct var **vpp; local
655 struct var **vpp; local
756 struct var **vpp; local
889 struct var **vpp; local
947 struct var *vp, **vpp; local
[all...]
/freebsd-12-stable/sys/fs/fuse/
H A Dfuse_node.c196 struct vnode **vpp)
207 *vpp = NULL;
208 err = vfs_hash_get(mp, fuse_vnode_hash(nodeid), LK_EXCLUSIVE, td, vpp,
213 if (*vpp) {
214 if ((*vpp)->v_type != vtyp) {
221 SDT_PROBE3(fusefs, , node, stale_vnode, *vpp, vtyp,
223 fuse_internal_vnode_disappear(*vpp);
224 lockmgr((*vpp)->v_vnlock, LK_RELEASE, NULL);
225 *vpp = NULL;
228 MPASS((*vpp)
192 fuse_vnode_alloc(struct mount *mp, struct thread *td, uint64_t nodeid, enum vtype vtyp, struct vnode **vpp) argument
279 fuse_vnode_get(struct mount *mp, struct fuse_entry_out *feo, uint64_t nodeid, struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, enum vtype vtyp) argument
[all...]
H A Dfuse_vfsops.c270 struct vnode **vpp)
282 *vpp = NULLVP;
288 *vpp = NULLVP;
291 *vpp = nvp;
292 vnode_create_vobject(*vpp, 0, curthread);
531 fuse_vfsop_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) argument
553 error = fuse_internal_get_cached_vnode(mp, ino, flags, vpp);
554 if (error || *vpp != NULL)
574 error = fuse_vnode_get(mp, feo, nodeid, NULL, vpp, NULL, vtyp);
589 fvdat = VTOFUD(*vpp);
269 fuse_vfsop_fhtovp(struct mount *mp, struct fid *fhp, int flags, struct vnode **vpp) argument
609 fuse_vfsop_root(struct mount *mp, int lkflags, struct vnode **vpp) argument
[all...]
H A Dfuse_internal.c127 struct vnode **vpp)
134 *vpp = NULL;
136 error = vfs_hash_get(mp, fuse_vnode_hash(nodeid), flags, td, vpp,
145 if (*vpp != NULL) {
147 if (bintime_cmp(&(VTOFUD(*vpp)->entry_cache_timeout), &now, >)){
153 cache_purge(*vpp);
154 vput(*vpp);
155 *vpp = NULL;
488 fuse_internal_mknod(struct vnode *dvp, struct vnode **vpp, argument
505 return (fuse_internal_newentry(dvp, vpp, cn
126 fuse_internal_get_cached_vnode(struct mount* mp, ino_t ino, int flags, struct vnode **vpp) argument
778 fuse_internal_newentry_core(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, enum vtype vtyp, struct fuse_dispatcher *fdip) argument
816 fuse_internal_newentry(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, enum fuse_opcode op, void *buf, size_t bufsize, enum vtype vtype) argument
[all...]
/freebsd-12-stable/sys/fs/pseudofs/
H A Dpseudofs_vncache.c115 pfs_vncache_alloc(struct mount *mp, struct vnode **vpp, argument
136 *vpp = vp;
157 error = getnewvnode("pseudofs", mp, &pfs_vnodeops, vpp);
164 (*vpp)->v_data = pvd;
167 (*vpp)->v_vflag = VV_ROOT;
176 (*vpp)->v_type = VDIR;
179 (*vpp)->v_type = VREG;
182 (*vpp)->v_type = VLNK;
194 (*vpp)->v_vflag |= VV_PROCDEP;
195 pvd->pvd_vnode = *vpp;
[all...]
/freebsd-12-stable/sys/ufs/ufs/
H A Dufs_vfsops.c71 ufs_root(mp, flags, vpp)
74 struct vnode **vpp;
82 *vpp = nvp;
226 ufs_fhtovp(mp, ufhp, flags, vpp)
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-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_ctldir.c125 uint64_t id, struct vnode **vpp)
132 err = vfs_hash_get(mp, (u_int)id, flags, curthread, vpp,
139 uint64_t id, struct vnode **vpp)
144 err = vfs_hash_insert(vp, (u_int)id, flags, curthread, vpp,
161 struct vnode **vpp)
166 error = sfs_vnode_get(mp, flags, parent_id, id, vpp);
167 if (error != 0 || *vpp != NULL) {
168 KASSERT_IMPLY(error == 0, (*vpp)->v_data != NULL,
176 *vpp = NULL;
186 *vpp
124 sfs_vnode_get(const struct mount *mp, int flags, uint64_t parent_id, uint64_t id, struct vnode **vpp) argument
138 sfs_vnode_insert(struct vnode *vp, int flags, uint64_t parent_id, uint64_t id, struct vnode **vpp) argument
158 sfs_vgetx(struct mount *mp, int flags, uint64_t parent_id, uint64_t id, const char *tag, struct vop_vector *vops, sfs_vnode_setup_fn setup, void *arg, struct vnode **vpp) argument
381 zfsctl_fs_root_vnode(struct mount *mp, void *arg __unused, int flags, struct vnode **vpp) argument
399 zfsctl_root_vnode(struct mount *mp, void *arg __unused, int flags, struct vnode **vpp) argument
412 zfsctl_snapdir_vnode(struct mount *mp, void *arg __unused, int flags, struct vnode **vpp) argument
429 zfsctl_root(zfsvfs_t *zfsvfs, int flags, vnode_t **vpp) argument
629 vnode_t **vpp = ap->a_vpp; local
861 zfsctl_mounted_here(vnode_t **vpp, int flags) argument
922 vnode_t **vpp = ap->a_vpp; local
[all...]
/freebsd-12-stable/sys/kern/
H A Dvfs_hash.c76 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg)
97 *vpp = vp;
102 *vpp = NULL;
110 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg)
127 *vpp = vp;
132 *vpp = NULL;
149 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg)
154 *vpp = NULL;
175 *vpp = vp2;
75 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
109 vfs_hash_ref(const struct mount *mp, u_int hash, struct thread *td, struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) argument
148 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
H A Dvfs_cache.c1144 cache_lookup_dot(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, argument
1149 *vpp = dvp;
1153 SDT_PROBE3(vfs, namecache, lookup, hit, dvp, ".", *vpp);
1158 vrefact(*vpp);
1164 if (ltype != VOP_ISLOCKED(*vpp)) {
1166 vn_lock(*vpp, LK_UPGRADE | LK_RETRY);
1167 if ((*vpp)->v_iflag & VI_DOOMED) {
1169 vrele(*vpp);
1170 *vpp = NULL;
1174 vn_lock(*vpp, LK_DOWNGRAD
1180 cache_lookup_nomakeentry(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, struct timespec *tsp, int *ticksp) argument
1298 cache_lookup(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, struct timespec *tsp, int *ticksp) argument
2144 struct vnode **vpp = ap->a_vpp; local
[all...]
/freebsd-12-stable/sys/fs/smbfs/
H A Dsmbfs_node.c105 struct smbfattr *fap, struct vnode **vpp)
129 *vpp = vp;
141 vpp, smbfs_vnode_cmp, &sc);
144 if (*vpp) {
145 np = VTOSMB(*vpp);
147 (void)VOP_GETATTR(*vpp, &vattr, td->td_ucred);
154 if (((*vpp)->v_type == VDIR &&
156 ((*vpp)->v_type == VREG &&
158 vgone(*vpp);
159 vput(*vpp);
103 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
230 smbfs_nget(struct mount *mp, struct vnode *dvp, const char *name, int nmlen, struct smbfattr *fap, struct vnode **vpp) argument
[all...]
/freebsd-12-stable/sys/fs/nullfs/
H A Dnull_vfsops.c271 nullfs_root(mp, flags, vpp)
274 struct vnode **vpp;
291 *vpp = vp;
356 nullfs_vget(mp, ino, flags, vpp)
360 struct vnode **vpp;
367 error = VFS_VGET(MOUNTTONULLMOUNT(mp)->nullm_vfs, ino, flags, vpp);
370 return (null_nodeget(mp, *vpp, vpp));
374 nullfs_fhtovp(mp, fidp, flags, vpp)
378 struct vnode **vpp;
[all...]
H A Dnull_subr.c200 null_nodeget(mp, lowervp, vpp)
203 struct vnode **vpp;
213 *vpp = null_hashget(mp, lowervp);
214 if (*vpp != NULL) {
266 *vpp = null_hashins(mp, xp);
267 if (*vpp != NULL) {
272 *vpp = vp;
H A Dnull.h70 int null_nodeget(struct mount *mp, struct vnode *target, struct vnode **vpp);
/freebsd-12-stable/sys/fs/cd9660/
H A Dcd9660_lookup.c63 struct vnode **vpp)
68 return (cd9660_vget_internal(mp, dd_arg->i_ino, lkflags, vpp,
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);
62 cd9660_ino_alloc(struct mount *mp, void *arg, int lkflags, struct vnode **vpp) argument
H A Dcd9660_vfsops.c543 cd9660_root(mp, flags, vpp)
546 struct vnode **vpp;
557 return (cd9660_vget_internal(mp, ino, flags, vpp,
595 cd9660_fhtovp(mp, fhp, flags, vpp)
599 struct vnode **vpp;
614 *vpp = NULLVP;
620 *vpp = NULLVP;
623 *vpp = nvp;
624 vnode_create_vobject(*vpp, ip->i_size, curthread);
634 cd9660_vget(mp, ino, flags, vpp)
[all...]
/freebsd-12-stable/sys/fs/msdosfs/
H A Dmsdosfs_lookup.c66 static int msdosfs_lookup_(struct vnode *vdp, struct vnode **vpp,
114 msdosfs_lookup_(struct vnode *vdp, struct vnode **vpp, argument
157 if (vpp != NULL)
158 *vpp = NULL;
422 cache_enter(vdp, *vpp, cnp);
499 *vpp = vdp;
505 *vpp = DETOV(tdp);
532 *vpp = DETOV(tdp);
553 &dd_arg, cnp->cn_lkflags, vpp);
555 *vpp
[all...]
/freebsd-12-stable/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_vfs.c115 mount_snapshot(kthread_t *td, vnode_t **vpp, const char *fstype, char *fspath, argument
124 ASSERT_VOP_ELOCKED(*vpp, "mount_snapshot");
126 vp = *vpp;
127 *vpp = NULL;
246 *vpp = mvp;
/freebsd-12-stable/sys/cddl/compat/opensolaris/sys/
H A Dvnode.h158 vnode_t **vpp, enum create crwhy, mode_t umask, struct vnode *startvp,
189 *vpp = nd.ni_vp;
196 vnode_t **vpp, enum create crwhy, mode_t umask)
199 return (vn_openat(pnamep, seg, filemode, createmode, vpp, crwhy,
202 #define vn_open(pnamep, seg, filemode, createmode, vpp, crwhy, umask) \
203 zfs_vn_open((pnamep), (seg), (filemode), (createmode), (vpp), (crwhy), (umask))
157 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
195 zfs_vn_open(char *pnamep, enum uio_seg seg, int filemode, int createmode, vnode_t **vpp, enum create crwhy, mode_t umask) argument
/freebsd-12-stable/sys/fs/tmpfs/
H A Dtmpfs_vnops.c82 tmpfs_lookup1(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp) argument
91 *vpp = NULLVP;
108 pnode, cnp->cn_lkflags, vpp);
114 *vpp = dvp;
184 cnp->cn_lkflags, vpp);
190 cnp->cn_thread) && VOP_ACCESS(*vpp, VADMIN,
193 vput(*vpp);
194 *vpp = NULL;
200 cnp->cn_lkflags, vpp);
213 cache_enter(dvp, *vpp, cn
236 struct vnode **vpp = v->a_vpp; local
252 struct vnode **vpp = v->a_vpp; local
269 struct vnode **vpp = v->a_vpp; local
1091 struct vnode **vpp = v->a_vpp; local
1197 struct vnode **vpp = v->a_vpp; local
[all...]
/freebsd-12-stable/sys/fs/autofs/
H A Dautofs_vnops.c204 struct vnode **vpp)
208 return (autofs_node_vn(arg, mp, flags, vpp));
214 struct vnode *dvp, *newvp, **vpp; local
222 vpp = ap->a_vpp;
238 anp->an_parent, cnp->cn_lkflags, vpp);
249 *vpp = dvp;
289 error = autofs_node_vn(child, mp, cnp->cn_lkflags, vpp);
648 struct vnode **vpp)
676 *vpp = vp;
713 *vpp
203 autofs_vget_callback(struct mount *mp, void *arg, int flags, struct vnode **vpp) argument
647 autofs_node_vn(struct autofs_node *anp, struct mount *mp, int flags, struct vnode **vpp) argument
[all...]
H A Dautofs_vfsops.c183 autofs_root(struct mount *mp, int flags, struct vnode **vpp) argument
190 error = autofs_node_vn(amp->am_root, mp, flags, vpp);
/freebsd-12-stable/sys/fs/fdescfs/
H A Dfdesc_vnops.c155 struct vnode **vpp)
186 *vpp = vp;
209 *vpp = NULLVP;
224 *vpp = NULLVP;
241 *vpp = vp2;
249 *vpp = vp;
282 struct vnode **vpp = ap->a_vpp; local
301 *vpp = dvp;
372 *vpp = fvp;
376 *vpp
154 fdesc_allocvp(fdntype ftype, unsigned fd_fd, int ix, struct mount *mp, struct vnode **vpp) argument
[all...]
/freebsd-12-stable/sys/fs/ext2fs/
H A Dext2_vfsops.c1192 ext2_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) argument
1204 error = vfs_hash_get(mp, ino, flags, td, vpp, NULL, NULL);
1205 if (error || *vpp != NULL)
1213 *vpp = NULL;
1227 *vpp = NULL;
1230 error = vfs_hash_insert(vp, ino, flags, td, vpp, NULL, NULL);
1231 if (error || *vpp != NULL)
1245 *vpp = NULL;
1254 *vpp = NULL;
1287 *vpp
1310 ext2_fhtovp(struct mount *mp, struct fid *fhp, int flags, struct vnode **vpp) argument
1421 ext2_root(struct mount *mp, int flags, struct vnode **vpp) argument
[all...]
/freebsd-12-stable/contrib/gdb/gdb/
H A Dexec.c412 struct vmap *vp, **vpp;
426 for (vpp = &vmap; *vpp; vpp = &(*vpp)->nxt)
428 *vpp = vp;
410 struct vmap *vp, **vpp; local
/freebsd-12-stable/sys/fs/udf/
H A Dudf_vfsops.c554 udf_root(struct mount *mp, int flags, struct vnode **vpp) argument
563 return (udf_vget(mp, id, flags, vpp));
584 udf_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp) argument
596 error = vfs_hash_get(mp, ino, flags, curthread, vpp, NULL, NULL);
597 if (error || *vpp != NULL)
638 error = vfs_hash_insert(vp, ino, flags, td, vpp, NULL, NULL);
639 if (error || *vpp != NULL)
721 *vpp = vp;
729 *vpp = NULL;
734 udf_fhtovp(struct mount *mp, struct fid *fhp, int flags, struct vnode **vpp) argument
[all...]

Completed in 342 milliseconds

12345