Home
last modified time | relevance | path

Searched refs:vpp (Results 1 – 25 of 32) sorted by relevance

12

/xnu-11215/bsd/miscfs/bindfs/
H A Dbind_subr.c129 bind_hashget(struct mount * mp, struct vnode * lowervp, struct vnode ** vpp) in bind_hashget() argument
167 *vpp = vp; in bind_hashget()
183 bind_hashins(struct mount * mp, struct bind_node * xp, struct vnode ** vpp) in bind_hashins() argument
224 *vpp = ovp; in bind_hashins()
290 xp->bind_vnode = *vpp; in bind_getnewvnode()
291 xp->bind_myvid = vnode_vid(*vpp); in bind_getnewvnode()
292 vnode_settag(*vpp, VT_BINDFS); in bind_getnewvnode()
313 error = bind_hashget(mp, lowervp, vpp); in bind_nodeget()
345 error = bind_hashins(mp, VTOBIND(vp), vpp); in bind_nodeget()
346 if (error || *vpp != NULL) { in bind_nodeget()
[all …]
H A Dbindfs.h132 …struct mount * mp, struct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct compone…
133 int bind_hashget(struct mount * mp, struct vnode * lowervp, struct vnode ** vpp);
135 …struct mount * mp, struct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct compone…
H A Dbind_vfsops.c371 bindfs_root(struct mount * mp, struct vnode ** vpp, __unused vfs_context_t ctx) in bindfs_root() argument
388 *vpp = vp; in bindfs_root()
/xnu-11215/bsd/miscfs/nullfs/
H A Dnull_subr.c136 null_hashget(struct mount * mp, struct vnode * lowervp, struct vnode ** vpp) in null_hashget() argument
175 *vpp = vp; in null_hashget()
187 null_hashins(struct mount * mp, struct null_node * xp, struct vnode ** vpp) in null_hashins() argument
232 *vpp = ovp; in null_hashins()
296 xp->null_vnode = *vpp; in null_getnewvnode()
297 xp->null_myvid = vnode_vid(*vpp); in null_getnewvnode()
298 vnode_settag(*vpp, VT_NULL); in null_getnewvnode()
319 error = null_hashget(mp, lowervp, vpp); in null_nodeget()
351 error = null_hashins(mp, VTONULL(vp), vpp); in null_nodeget()
352 if (error || *vpp != NULL) { in null_nodeget()
[all …]
H A Dnullfs.h144 …struct mount * mp, struct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct compone…
145 int null_hashget(struct mount * mp, struct vnode * lowervp, struct vnode ** vpp);
147 …struct mount * mp, struct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct compone…
H A Dnull_vfsops.c395 nullfs_root(struct mount * mp, struct vnode ** vpp, __unused vfs_context_t ctx) in nullfs_root() argument
412 *vpp = vp; in nullfs_root()
/xnu-11215/bsd/vfs/
H A Dkpi_vfs.c3441 a.a_vpp = vpp; in VNOP_LOOKUP()
3536 *vpp = NULLVP; in VNOP_COMPOUND_OPEN()
3561 a.a_vpp = vpp; in VNOP_CREATE()
3632 a.a_vpp = vpp; in VNOP_MKNOD()
4313 a.a_vpp = vpp; in VNOP_COMPOUND_REMOVE()
4960 a.a_vpp = vpp; in VNOP_MKDIR()
4992 a.a_vpp = vpp; in VNOP_COMPOUND_MKDIR()
5102 a.a_vpp = vpp; in VNOP_COMPOUND_RMDIR()
5125 if (*vpp) { in VNOP_COMPOUND_RMDIR()
5336 a.a_vpp = vpp; in VNOP_SYMLINK()
[all …]
H A Dvfs_subr.c2160 *vpp = nvp; in bdevvp()
2249 *vpp = nvp; in checkalias()
6040 *vpp = vp; in new_vnode()
6939 if (*vpp) { in vnode_create_internal()
6940 vp = *vpp; in vnode_create_internal()
7137 *vpp = vp; in vnode_create_internal()
7339 VNASSERT(((*vpp)->v_iocount == 1), *vpp, in vnode_initialize()
7341 VNASSERT(((*vpp)->v_usecount == 0), *vpp, in vnode_initialize()
7343 VNASSERT(((*vpp)->v_lflag & VL_DEAD), *vpp, in vnode_initialize()
7346 VNASSERT(((*vpp)->v_data == NULL), *vpp, in vnode_initialize()
[all …]
H A Dvfs_exclave_fs.c368 get_base_dir(uint32_t fs_tag, registered_fs_tag_t *base_dir, vnode_t *vpp) in get_base_dir() argument
373 if (!base_dir && !vpp) { in get_base_dir()
383 if (vpp) { in get_base_dir()
389 *vpp = base_vp; in get_base_dir()
862 get_open_vnode(registered_fs_tag_t *base_dir, uint64_t file_id, vnode_t *vpp, uint32_t *ov_flags) in get_open_vnode() argument
885 *vpp = entry->vp; in get_open_vnode()
955 decrement_vnode_open_count(registered_fs_tag_t *base_dir, uint64_t file_id, vnode_t *vpp) in decrement_vnode_open_count() argument
995 *vpp = vp; in decrement_vnode_open_count()
H A Dvfs_lookup.c1882 relookup(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp) argument
1927 *vpp = dp;
1937 if ((error = VNOP_LOOKUP(dp, vpp, cnp, ctx))) {
1942 if (*vpp != NULL) {
1961 dp = *vpp;
1987 *vpp = NULL;
2123 vfs_getbyid(fsid_t *fsid, ino64_t ino, vnode_t *vpp, vfs_context_t ctx) argument
2135 error = VFS_ROOT(mp, vpp, ctx);
2137 error = VFS_VGET(mp, ino, vpp, ctx);
H A Dvfs_cache.c2532 cache_lookup_fallback(struct vnode *dvp, struct vnode **vpp, in cache_lookup_fallback() argument
2593 *vpp = vp; in cache_lookup_fallback()
2641 cache_lookup_ext(struct vnode *dvp, struct vnode **vpp, in cache_lookup_ext() argument
2651 *vpp = NULLVP; in cache_lookup_ext()
2732 *vpp = vp; in cache_lookup_ext()
2753 return cache_lookup_fallback(dvp, vpp, cnp, flags); in cache_lookup_ext()
2757 cache_lookup(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp) in cache_lookup() argument
2759 return cache_lookup_ext(dvp, vpp, cnp, 0); in cache_lookup()
/xnu-11215/bsd/miscfs/devfs/
H A Ddevfs_fdesc_support.c203 fdesc_allocvp(fdntype ftype, int ix, struct mount *mp, struct vnode **vpp, enum vtype vtype, int fd… in fdesc_allocvp() argument
230 *vpp = vp; in fdesc_allocvp()
231 (*vpp)->v_type = (uint16_t)vtype; in fdesc_allocvp()
262 error = vnode_create_ext(VNCREATE_FLAVOR, VCREATESIZE, &vfsp, vpp, in fdesc_allocvp()
270 (*vpp)->v_tag = VT_FDESC; in fdesc_allocvp()
271 fd->fd_vnode = *vpp; in fdesc_allocvp()
303 struct vnode **vpp = ap->a_vpp; in devfs_devfd_lookup() local
314 *vpp = dvp; in devfs_devfd_lookup()
351 *vpp = fvp; in devfs_devfd_lookup()
359 *vpp = fvp; in devfs_devfd_lookup()
[all …]
H A Ddevfs_vfsops.c273 devfs_root(struct mount *mp, struct vnode **vpp, __unused vfs_context_t ctx) in devfs_root() argument
280 error = devfs_dntovn(devfs_mp_p->plane_root->de_dnp, vpp, NULL); in devfs_root()
449 devfs_vget(__unused struct mount *mp, __unused ino64_t ino, __unused struct vnode **vpp, __unused v… in devfs_vget() argument
460 …, __unused int fhlen, __unused unsigned char *fhp, __unused struct vnode **vpp, __unused vfs_conte… in devfs_fhtovp() argument
H A Ddevfs_vnops.c1152 struct vnode * * vpp = ap->a_vpp; in devfs_mkdir() local
1168 error = devfs_dntovn(dev_p, vpp, p); in devfs_mkdir()
1282 struct vnode ** vpp = ap->a_vpp; in devfs_mknod() local
1284 *vpp = NULL; in devfs_mknod()
1301 error = devfs_dntovn(dev_p, vpp, p); in devfs_mknod()
/xnu-11215/bsd/miscfs/mockfs/
H A Dmockfs_fsnode.c297 mockfs_fsnode_vnode(mockfs_fsnode_t fsnp, vnode_t * vpp) in mockfs_fsnode_vnode() argument
304 if ((!fsnp) || (!vpp)) { in mockfs_fsnode_vnode()
318 *vpp = fsnp->vp; in mockfs_fsnode_vnode()
356 *vpp = fsnp->vp; in mockfs_fsnode_vnode()
H A Dmockfs_vfsops.c50 int mockfs_root(mount_t mp, vnode_t * vpp, __unused vfs_context_t ctx);
208 mockfs_root(mount_t mp, vnode_t * vpp, __unused vfs_context_t ctx) in mockfs_root() argument
212 rvalue = mockfs_fsnode_vnode(((mockfs_mount_t) mp->mnt_data)->mockfs_root, vpp); in mockfs_root()
H A Dmockfs_vnops.c93 vnode_t * vpp; in mockfs_lookup() local
99 vpp = ap->a_vpp; in mockfs_lookup()
133 rvalue = mockfs_fsnode_vnode(target_fsnode, vpp); in mockfs_lookup()
H A Dmockfs_fsnode.h81 int mockfs_fsnode_vnode(mockfs_fsnode_t fsnp, vnode_t * vpp);
/xnu-11215/bsd/miscfs/routefs/
H A Droutefs_ops.c53 static int routefs_root(struct mount *mp, struct vnode **vpp, __unused vfs_context_t ctx);
57 …t(__unused struct mount *mp, __unused ino64_t ino, __unused struct vnode **vpp, __unused vfs_conte…
58 …, __unused int fhlen, __unused unsigned char *fhp, __unused struct vnode **vpp, __unused vfs_conte…
215 routefs_root(struct mount *mp, struct vnode **vpp, __unused vfs_context_t ctx) in routefs_root() argument
251 *vpp = routefs_mp_p->route_rvp; in routefs_root()
411 routefs_vget(__unused struct mount *mp, __unused ino64_t ino, __unused struct vnode **vpp, __unused… in routefs_vget() argument
417 …, __unused int fhlen, __unused unsigned char *fhp, __unused struct vnode **vpp, __unused vfs_conte… in routefs_fhtovp() argument
/xnu-11215/bsd/sys/
H A Dvnode.h911 errno_t vnode_create(uint32_t flavor, uint32_t size, void *data, vnode_t *vpp);
935 errno_t vnode_create_ext(uint32_t flavor, uint32_t size, void *data, vnode_t *vpp, vnode_create_op…
965 errno_t vnode_create_empty(vnode_t *vpp);
979 errno_t vnode_initialize(uint32_t flavor, uint32_t size, void *data, vnode_t *vpp);
2127 errno_t vnode_lookup(const char *path, int flags, vnode_t *vpp, vfs_context_t ctx);
2142 errno_t vnode_lookupat(const char *path, int flags, vnode_t *vpp, vfs_context_t ctx, vnode_t start_…
2158 errno_t vnode_open(const char *path, int fmode, int cmode, int flags, vnode_t *vpp, vfs_context_t c…
2241 int cache_lookup(vnode_t dvp, vnode_t *vpp, struct componentname *cnp);
2472 int bdevvp(dev_t dev, struct vnode **vpp);
2479 int vnode_getfromfd(vfs_context_t ctx, int fd, vnode_t *vpp);
[all …]
H A Dmount.h630 int (*vfs_root)(struct mount *mp, struct vnode **vpp, vfs_context_t context);
678 int (*vfs_vget)(struct mount *mp, ino64_t ino, struct vnode **vpp, vfs_context_t context);
693 int (*vfs_fhtovp)(struct mount *mp, int fhlen, unsigned char *fhp, struct vnode **vpp,
773 int (*vfs_vget_snapdir)(struct mount *mp, struct vnode **vpp, vfs_context_t context);
1333 int vfs_getbyid(fsid_t *fsid, ino64_t ino, vnode_t *vpp, vfs_context_t ctx);
H A Dvnode_internal.h471 errno_t vn_remove(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, int32_t flags, struct vnode_att…
516 int vn_mkdir(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, struct vnode_attr *vap, vfs_cont…
517 int vn_rmdir(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, struct vnode_attr *vap, vfs_cont…
H A Dnamei.h247 int relookup(struct vnode *dvp, struct vnode **vpp,
/xnu-11215/EXTERNAL_HEADERS/image4/
H A Dtrust.h447 const bool *_Nullable *_Nullable vpp);
498 const uint64_t *_Nullable *_Nullable vpp);
/xnu-11215/bsd/kern/
H A Dimageboot.c85 void *ubc_getobject_from_filename(const char *filename, struct vnode **vpp, off_t *file_size);
514 ubc_getobject_from_filename(const char *filename, struct vnode **vpp, off_t *file_size) in ubc_getobject_from_filename() argument
544 *vpp = vp; in ubc_getobject_from_filename()

12