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

12

/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_lookup.c139 * Lookup *cnp in directory *dvp, return it in *vpp.
140 * **vpp is held on exit.
144 #% lookup vpp - L -
147 INOUT struct vnode **vpp - node of target file, its a new node if
154 hfs_lookup(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, int *cnode_locked) argument
174 *vpp = NULL;
309 *vpp = dvp;
319 *vpp = tvp;
408 *vpp = tvp;
449 struct vnode **vpp local
[all...]
H A Dhfs_chash.c297 hfs_chash_getcnode(struct hfsmount *hfsmp, ino_t inum, struct vnode **vpp, argument
393 *vpp = vp;
432 *vpp = NULL;
H A Dhfs_cnode.c965 struct vnode **vpp,
988 *vpp = NULL;
994 *vpp = NULL;
1028 cp = hfs_chash_getcnode(hfsmp, attrp->ca_fileid, vpp, wantrsrc,
1075 if (*vpp != NULL) {
1076 vnode_put (*vpp);
1077 *vpp = NULL;
1109 if (*vpp != NULL) {
1128 *vpp = NULL;
1348 *vpp
957 hfs_getnewvnode( struct hfsmount *hfsmp, struct vnode *dvp, struct componentname *cnp, struct cat_desc *descp, int flags, struct cat_attr *attrp, struct cat_fork *forkp, struct vnode **vpp, int *out_flags) argument
[all...]
H A Dhfs_cnode.h318 struct cat_fork *forkp, struct vnode **vpp, int *out_flags);
355 extern struct cnode * hfs_chash_getcnode(struct hfsmount *hfsmp, ino_t inum, struct vnode **vpp,
H A Dhfs_vnops.c82 int hfs_makenode(struct vnode *dvp, struct vnode **vpp,
215 struct vnode **vpp = ap->a_vpp; local
224 error = hfs_makenode(dvp, vpp, ap->a_cnp, vap, ap->a_context);
228 cp = VTOC(*vpp);
4311 struct vnode **vpp = ap->a_vpp; local
4341 if ((error = hfs_makenode(dvp, vpp, ap->a_cnp, ap->a_vap, ap->a_context))) {
4344 vp = *vpp;
4431 *vpp = NULL;
5066 hfs_makenode(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, argument
5110 *vpp
[all...]
H A Dhfs_vfsops.c143 int hfs_vfs_vget(struct mount *mp, ino64_t ino, struct vnode **vpp, vfs_context_t context);
146 static int hfs_fhtovp(struct mount *mp, int fhlen, unsigned char *fhp, struct vnode **vpp, vfs_context_t context);
151 static int hfs_vfs_root(struct mount *mp, struct vnode **vpp, vfs_context_t context);
2338 hfs_vfs_root(struct mount *mp, struct vnode **vpp, __unused vfs_context_t context) argument
2340 return hfs_vget(VFSTOHFS(mp), (cnid_t)kHFSRootFolderID, vpp, 1, 0);
2706 hfs_fhtovp(struct mount *mp, int fhlen, unsigned char *fhp, struct vnode **vpp, __unused vfs_context_t context) argument
2712 *vpp = NULL;
2738 *vpp = nvp;
3177 hfs_vfs_vget(struct mount *mp, ino64_t ino, struct vnode **vpp, __unused vfs_context_t context) argument
3185 error = hfs_vget(hfsmp, (cnid_t)ino, vpp,
3227 hfs_vget(struct hfsmount *hfsmp, cnid_t cnid, struct vnode **vpp, int skiplock, int allow_deleted) argument
[all...]
H A Dhfs_hotfiles.c1677 hfc_btree_open(struct hfsmount *hfsmp, struct vnode **vpp) argument
1690 *vpp = NULL;
1739 *vpp = vp;
/darwin-on-arm/xnu/bsd/miscfs/devfs/
H A Ddevfs_fdesc_support.c208 fdesc_allocvp(fdntype ftype, int ix, struct mount *mp, struct vnode **vpp, enum vtype vtype, int fdno) argument
228 *vpp = fd->fd_vnode;
229 (*vpp)->v_type = vtype;
260 error = vnode_create(VNCREATE_FLAVOR, VCREATESIZE, &vfsp, vpp);
267 (*vpp)->v_tag = VT_FDESC;
268 fd->fd_vnode = *vpp;
301 struct vnode **vpp = ap->a_vpp; local
312 *vpp = dvp;
342 *vpp = fvp;
346 *vpp
[all...]
H A Ddevfs_vfsops.c265 /* return the address of the root vnode in *vpp */
267 devfs_root(struct mount *mp, struct vnode **vpp, __unused vfs_context_t ctx) argument
274 error = devfs_dntovn(devfs_mp_p->plane_root->de_dnp, vpp, NULL);
443 devfs_vget(__unused struct mount *mp, __unused ino64_t ino, __unused struct vnode **vpp, __unused vfs_context_t ctx) argument
454 devfs_fhtovp (__unused struct mount *mp, __unused int fhlen, __unused unsigned char *fhp, __unused struct vnode **vpp, __unused vfs_context_t ctx) argument
H A Ddevfs_vnops.c1103 struct vnode * * vpp = ap->a_vpp; local
1119 error = devfs_dntovn(dev_p, vpp, p);
1234 struct vnode ** vpp = ap->a_vpp; local
1236 *vpp = NULL;
1253 error = devfs_dntovn(dev_p, vpp, p);
/darwin-on-arm/xnu/bsd/vfs/
H A Dkpi_vfs.c338 VFS_ROOT(mount_t mp, struct vnode ** vpp, vfs_context_t ctx) argument
360 error = (*mp->mnt_op->vfs_root)(mp, vpp, ctx);
504 VFS_VGET(mount_t mp, ino64_t ino, struct vnode **vpp, vfs_context_t ctx) argument
526 error = (*mp->mnt_op->vfs_vget)(mp, ino, vpp, ctx);
538 VFS_FHTOVP(mount_t mp, int fhlen, unsigned char * fhp, vnode_t * vpp, vfs_context_t ctx) argument
560 error = (*mp->mnt_op->vfs_fhtovp)(mp, fhlen, fhp, vpp, ctx);
2978 *#% lookup vpp - L -
3012 VNOP_LOOKUP(vnode_t dvp, vnode_t *vpp, struct componentname *cnp, vfs_context_t ctx) argument
3024 a.a_vpp = vpp;
3039 vp = *vpp;
3082 VNOP_COMPOUND_OPEN(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, int32_t flags, int32_t fmode, uint32_t *statusp, struct vnode_attr *vap, vfs_context_t ctx) argument
3159 VNOP_CREATE(vnode_t dvp, vnode_t * vpp, struct componentname * cnp, struct vnode_attr * vap, vfs_context_t ctx) argument
3274 VNOP_MKNOD(vnode_t dvp, vnode_t * vpp, struct componentname * cnp, struct vnode_attr * vap, vfs_context_t ctx) argument
4246 VNOP_COMPOUND_REMOVE(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, int32_t flags, struct vnode_attr *vap, vfs_context_t ctx) argument
4849 vn_mkdir(struct vnode *dvp, struct vnode **vpp, struct nameidata *ndp, struct vnode_attr *vap, vfs_context_t ctx) argument
4880 VNOP_MKDIR(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, struct vnode_attr *vap, vfs_context_t ctx) argument
4926 VNOP_COMPOUND_MKDIR(struct vnode *dvp, struct vnode **vpp, struct nameidata *ndp, struct vnode_attr *vap, vfs_context_t ctx) argument
4964 vn_rmdir(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, struct vnode_attr *vap, vfs_context_t ctx) argument
5047 VNOP_COMPOUND_RMDIR(struct vnode *dvp, struct vnode **vpp, struct nameidata *ndp, struct vnode_attr *vap, vfs_context_t ctx) argument
5264 VNOP_SYMLINK(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, struct vnode_attr *vap, char *target, vfs_context_t ctx) argument
5906 vn_remove(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, int32_t flags, struct vnode_attr *vap, vfs_context_t ctx) argument
[all...]
H A Dvfs_lookup.c1401 relookup(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp) argument
1445 *vpp = dp;
1454 if ( (error = VNOP_LOOKUP(dp, vpp, cnp, ctx)) ) {
1458 if (*vpp != NULL)
1476 dp = *vpp;
1501 *vpp = NULL;
1624 vfs_getbyid(fsid_t *fsid, ino64_t ino, vnode_t *vpp, vfs_context_t ctx) argument
1636 error = VFS_ROOT(mp, vpp, ctx);
1638 error = VFS_VGET(mp, ino, vpp, ctx);
H A Dvfs_subr.c216 static int vn_create_reg(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp,
1305 bdevvp(dev_t dev, vnode_t *vpp) argument
1313 *vpp = NULLVP;
1336 *vpp = NULLVP;
1367 *vpp = nvp;
1384 struct vnode **vpp; local
1388 vpp = &speclisth[SPECHASH(nvp_rdev)];
1392 for (vp = *vpp; vp; vp = vp->v_specnext) {
1440 for (vp = *vpp; vp; vp = vp->v_specnext) {
1449 nvp->v_hashchain = vpp;
3716 new_vnode(vnode_t *vpp) argument
4473 vnode_create(uint32_t flavor, uint32_t size, void *data, vnode_t *vpp) argument
4981 vnode_lookup(const char *path, int flags, vnode_t *vpp, vfs_context_t ctx) argument
5014 vnode_open(const char *path, int fmode, int cmode, int flags, vnode_t *vpp, vfs_context_t ctx) argument
5094 vn_create_reg(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, struct vnode_attr *vap, uint32_t flags, int fmode, uint32_t *statusp, vfs_context_t ctx) argument
5147 vn_create(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, struct vnode_attr *vap, uint32_t flags, int fmode, uint32_t *statusp, vfs_context_t ctx) argument
[all...]
H A Dvfs_cache.c1386 * succeeds, the vnode is returned in *vpp, and a status of -1 is
1393 cache_lookup(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp) argument
1458 *vpp = vp;
/darwin-on-arm/xnu/bsd/sys/
H A Dvnode_internal.h326 int vdesc_vpp_offset; /* return vpp location */
383 int bdevvp(dev_t dev, struct vnode **vpp);
403 errno_t vn_remove(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, int32_t flags, struct vnode_attr *vap, vfs_context_t ctx);
439 int vn_mkdir(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, struct vnode_attr *vap, vfs_context_t ctx);
440 int vn_rmdir(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, struct vnode_attr *vap, vfs_context_t ctx);
H A Dmount.h566 @param vpp Destination for root vnode.
570 int (*vfs_root)(struct mount *mp, struct vnode **vpp, vfs_context_t context);
615 @param vpp Destination for vnode.
618 int (*vfs_vget)(struct mount *mp, ino64_t ino, struct vnode **vpp, vfs_context_t context);
629 @param vpp Destination for vnode.
633 int (*vfs_fhtovp)(struct mount *mp, int fhlen, unsigned char *fhp, struct vnode **vpp,
1174 int vfs_getbyid(fsid_t *fsid, ino64_t ino, vnode_t *vpp, vfs_context_t ctx);
H A Dnamei.h259 int relookup(struct vnode *dvp, struct vnode **vpp,
H A Dvnode.h750 @param vpp Pointer to a vnode pointer, to be filled in with newly created vnode.
1618 @param vpp Destination for vnode.
1698 @param vpp Destination for vnode pointer.
1701 file of the given name in "dp." -1: successfully found a cached vnode (vpp is set). 0: No data in the cache, or operation is CRETE/RENAME.
1703 int cache_lookup(vnode_t dvp, vnode_t *vpp, struct componentname *cnp);
/darwin-on-arm/xnu/osfmk/kern/
H A Dbsd_kern.c638 fill_taskthreadinfo(task_t task, uint64_t thaddr, int thuniqueid, struct proc_threadinfo_internal * ptinfo, void * vpp, int *vidp) argument
672 if ((vpp != NULL) && (thact->uthread != NULL))
673 bsd_threadcdir(thact->uthread, vpp, vidp);
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_vfsops.c1037 vnode_t *vpp,
1165 if ((error = mountnfs(xdrbuf, mp, ctx, vpp))) {
1194 vnode_t *vpp,
1440 *vpp = vp;
2631 vnode_t *vpp)
3166 *vpp = NFSTOV(np);
3168 error = vnode_ref(*vpp);
3169 vnode_put(*vpp);
3171 vnode_recycle(*vpp);
3179 int error2 = vnode_getwithref(*vpp);
1033 nfs_mount_diskless( struct nfs_dlmount *ndmntp, const char *mntname, int mntflag, vnode_t *vpp, mount_t *mpp, vfs_context_t ctx) argument
1190 nfs_mount_diskless_private( struct nfs_dlmount *ndmntp, const char *mntname, int mntflag, vnode_t *vpp, mount_t *mpp, vfs_context_t ctx) argument
2627 mountnfs( char *xdrbuf, mount_t mp, vfs_context_t ctx, vnode_t *vpp) argument
4370 nfs_vfs_root(mount_t mp, vnode_t *vpp, __unused vfs_context_t ctx) argument
4711 nfs_vfs_vget( __unused mount_t mp, __unused ino64_t ino, __unused vnode_t *vpp, __unused vfs_context_t ctx) argument
4726 nfs_vfs_fhtovp( __unused mount_t mp, __unused int fhlen, __unused unsigned char *fhp, __unused vnode_t *vpp, __unused vfs_context_t ctx) argument
[all...]
H A Dnfs4_vnops.c4526 vnode_t *vpp,
4532 cnp, vap, dvp, vpp, create, share_access, share_deny));
4545 vnode_t *vpp,
4549 return (nfs4_open_rpc_internal(nofp, NULL, thd, cred, cnp, NULL, dvp, vpp, NFS_OPEN_NOCREATE, share_access, share_deny));
4626 vnode_t *vpp,
4663 np = *vpp ? VTONFS(*vpp) : NULL;
4952 *vpp = newvp;
6121 vnode_t *vpp = ap->a_vpp; local
6178 error = nfs4_open_rpc(newnofp, ctx, cnp, vap, dvp, vpp, NFS_OPEN_CREAT
4520 nfs4_open_rpc( struct nfs_open_file *nofp, vfs_context_t ctx, struct componentname *cnp, struct vnode_attr *vap, vnode_t dvp, vnode_t *vpp, int create, int share_access, int share_deny) argument
4539 nfs4_open_reopen_rpc( struct nfs_open_file *nofp, thread_t thd, kauth_cred_t cred, struct componentname *cnp, vnode_t dvp, vnode_t *vpp, int share_access, int share_deny) argument
4618 nfs4_open_rpc_internal( struct nfs_open_file *nofp, vfs_context_t ctx, thread_t thd, kauth_cred_t cred, struct componentname *cnp, struct vnode_attr *vap, vnode_t dvp, vnode_t *vpp, int create, int share_access, int share_deny) argument
[all...]
H A Dnfs_vnops.c2010 vnode_t *vpp = ap->a_vpp; local
2024 *vpp = NULLVP;
2044 error = cache_lookup(dvp, vpp, cnp);
2056 *vpp = NFSTOV(np);
2166 *vpp = newvp;
2190 if (error && *vpp) {
2191 vnode_put(*vpp);
2192 *vpp = NULLVP;
3324 vnode_t *vpp = ap->a_vpp; local
3452 *vpp
[all...]
/darwin-on-arm/xnu/bsd/kern/
H A Dmach_loader.c227 struct vnode **vpp
1692 struct vnode **vpp
1824 *vpp = vp;
H A Dkern_descrip.c3590 * vpp pointer to vnode return area
3598 * *vpp (modified) Returned vnode pointer
3619 file_vnode(int fd, struct vnode **vpp) argument
3635 if (vpp != NULL)
3636 *vpp = (struct vnode *)fp->f_data;
3650 * vpp pointer to vnode return area
3659 * *vpp (modified) Returned vnode pointer
3680 file_vnode_withvid(int fd, struct vnode **vpp, uint32_t * vidp) argument
3698 if (vpp != NULL)
3699 *vpp
[all...]
H A Dproc_info.c704 vnode_t *vpp = (vnode_t *)vptr; local
708 if (vpp != NULL) {
709 *vpp = vp;

Completed in 137 milliseconds

12