Searched refs:rvp (Results 1 - 10 of 10) sorted by relevance

/xnu-2422.115.4/bsd/miscfs/mockfs/
H A Dmockfs_vfsops.c46 int mockfs_mountroot(mount_t mp, vnode_t rvp, __unused vfs_context_t ctx);
58 * Given a mount (mp) and a vnode for the root device (rvp), builds a fake filesystem for rvp. This consists
66 int mockfs_mountroot(mount_t mp, vnode_t rvp, __unused vfs_context_t ctx) argument
95 * If rvp is a memory device (with a few caveats), we can point to the same physical memory as the device
101 if (!VNOP_IOCTL(rvp, DKIOCGETMEMDEVINFO, (caddr_t)&memdev_info, 0, NULL)) {
/xnu-2422.115.4/bsd/hfs/
H A Dhfs_xattr.c332 struct vnode *rvp = NULL; local
353 result = hfs_vgetrsrc(hfsmp, vp, &rvp, TRUE, FALSE);
359 *ap->a_size = (size_t)VTOF(rvp)->ff_size;
366 result = VNOP_READ(rvp, uio, 0, ap->a_context);
384 result = VNOP_READ(rvp, uio, 0, decmpfs_ctx);
391 vref = vnode_ref (rvp);
393 vnode_rele (rvp);
395 vnode_recycle(rvp);
397 vnode_put(rvp);
849 struct vnode *rvp local
1334 struct vnode *rvp = NULL; local
[all...]
H A Dhfs_vnops.c876 struct vnode *rvp = NULLVP; local
1068 error = hfs_vgetrsrc(hfsmp, vp, &rvp, TRUE, FALSE);
1083 rcp = VTOC(rvp);
1315 if (rvp) {
1316 vnode_put (rvp);
3241 struct vnode *rvp = NULL; local
3269 if (rvp) {
3270 vnode_put (rvp);
3315 if ((cp->c_rsrc_vp) && (rvp == NULL)) {
3317 rvp
3442 hfs_removefile(struct vnode *dvp, struct vnode *vp, struct componentname *cnp, int flags, int skip_reserve, int allow_dirs, __unused struct vnode *rvp, int only_unlink) argument
6302 struct vnode *rvp; local
[all...]
H A Dhfs_cnode.c2105 vnode_t rvp = NULLVP; local
2126 rvp = cp->c_rsrc_vp;
2144 if (rvp) {
2146 ubc_setsize(rvp, 0);
2148 vnode_put(rvp);
H A Dhfs_vfsutils.c3401 struct vnode *rvp; local
3405 error = VFS_ROOT(HFSTOVFS(hfsmp), &rvp, vfs_context_kernel());
3410 cp = VTOC(rvp);
3438 vnode_put(rvp);
3439 rvp = NULL;
H A Dhfs.h691 int hfs_mountroot(mount_t mp, vnode_t rvp, vfs_context_t context);
H A Dhfs_vfsops.c182 hfs_mountroot(mount_t mp, vnode_t rvp, vfs_context_t context) argument
189 if ((error = hfs_mountfs(rvp, mp, NULL, 0, context))) {
191 printf("hfs_mountroot: hfs_mountfs returned %d, rvp (%p) name (%s) \n",
192 error, rvp, (rvp->v_name ? rvp->v_name : "unknown device"));
7017 struct vnode *rvp; local
7117 rvp = vp;
7119 error = hfs_vgetrsrc(hfsmp, vp, &rvp, TRUE, FALSE);
7121 printf ("hfs_reclaimspace: Error looking up rvp fo
[all...]
/xnu-2422.115.4/bsd/kern/
H A Dkern_sysctl.c2603 vnode_t rvp, devvp; local
2613 rvp = imgsrc_rootvnodes[i];
2614 if (rvp == NULLVP) {
2618 error = vnode_get(rvp);
2626 devvp = vnode_mount(rvp)->mnt_devvp;
2628 vnode_put(rvp);
2634 vnode_put(rvp);
2647 vnode_put(rvp);
/xnu-2422.115.4/bsd/vfs/
H A Dvfs_syscalls.c471 struct vnode *rvp; local
851 error = VFS_ROOT(mp, &rvp, ctx);
856 error = vnode_label(mp, NULL, rvp, NULL, 0, ctx);
860 vnode_put(rvp);
1346 vnode_t rvp; local
1414 error = get_imgsrc_rootvnode(height, &rvp);
1425 mp = vnode_mount(rvp);
1517 vnode_put(rvp);
1547 vnode_put(rvp);
H A Dvfs_subr.c8694 vnode_t rvp, vp; local
8709 res = VFS_ROOT(mp, &rvp, ctx);
8718 nd.ni_dvp = rvp;
8721 vnode_put(rvp);
8727 vnode_put(rvp);

Completed in 148 milliseconds