Home
last modified time | relevance | path

Searched refs:ni_vp (Results 1 – 22 of 22) sorted by relevance

/xnu-10063.101.15/bsd/vfs/
H A Dvfs_lookup.c224 … going on a continued lookup, but for vp type %d (tag %d)", ndp->ni_vp->v_type, ndp->ni_vp->v_tag); in namei()
441 ndp->ni_vp = NULLVP; in namei()
525 if (ndp->ni_vp) { in namei()
526 vnode_put(ndp->ni_vp); in namei()
557 ndp->ni_vp = NULLVP; in namei()
753 ndp->ni_vp = svp; /* on create this may be null */ in lookup_handle_rsrc_fork()
804 dp = ndp->ni_vp; in lookup_handle_found_vnode()
807 if (ndp->ni_vp == NULLVP) { in lookup_handle_found_vnode()
834 dp = ndp->ni_vp; in lookup_handle_found_vnode()
952 dp = ndp->ni_vp; in lookup_handle_found_vnode()
[all …]
H A Dvfs_syscalls.c318 vp = nd.ni_vp; in kernel_mount()
712 mounton_vp = nd.ni_vp; in graftdmg()
776 mounton_vp = nd.ni_vp; in ungraftdmg()
856 vp = nd.ni_vp; in __mac_mount()
1353 devvp = nd.ni_vp; in mount_common()
1978 vp = nd.ni_vp; in authorize_devpath_and_update_mntfromname()
2420 vnode_put(qnd.ni_vp); in enablequotas()
2588 vp = nd.ni_vp; in unmount()
3307 mp = nd.ni_vp->v_mount; in quotactl()
3309 vnode_put(nd.ni_vp); in quotactl()
[all …]
H A Dvfs_vnops.c234 if ((error = vnode_makenamedstream(dvp, &ndp->ni_vp, XATTR_RESOURCEFORK_NAME, 0, ctx)) != 0) { in vn_open_auth_do_create()
246 error = vn_create(dvp, &ndp->ni_vp, ndp, vap, VN_CREATE_DOOPEN, fmode, &status, ctx); in vn_open_auth_do_create()
282 vp = ndp->ni_vp; in vn_open_auth_do_create()
452 vp = ndp->ni_vp; in vn_open_auth()
472 vp = ndp->ni_vp; in vn_open_auth()
516 error = VNOP_COMPOUND_OPEN(dvp, &ndp->ni_vp, ndp, 0, fmode, NULL, NULL, ctx); in vn_open_auth()
519 vp = ndp->ni_vp; in vn_open_auth()
573 vp = ndp->ni_vp; in vn_open_auth()
579 error = VNOP_COMPOUND_OPEN(dvp, &ndp->ni_vp, ndp, 0, fmode, NULL, NULL, ctx); in vn_open_auth()
580 vp = ndp->ni_vp; in vn_open_auth()
[all …]
H A Dvfs_exclave_fs.c482 error = vfs_exclave_fs_register(fs_tag, nd.ni_vp); in vfs_exclave_fs_register_path()
484 vnode_put(nd.ni_vp); in vfs_exclave_fs_register_path()
665 vp = nd.ni_vp; in create_exclave_dir()
685 nd.ni_vp = vp; in create_exclave_dir()
957 vp = ndp->ni_vp; in exclave_fs_open_internal()
H A Dkpi_vfs.c4450 if (fromnd->ni_vp) { in vn_rename()
4452 src_attr_vp = fromnd->ni_vp; in vn_rename()
4454 if (fromnd->ni_vp->v_type != VREG) { in vn_rename()
4456 vnode_put(fromnd->ni_vp); in vn_rename()
4550 if (tond->ni_vp) { in vn_rename()
4551 dst_attr_vp = tond->ni_vp; in vn_rename()
5127 xvp = nd.ni_vp; in xattrfile_remove()
5236 xvp = nd.ni_vp; in xattrfile_setattr()
H A Dvfs_xattr.c2529 if ((xvp = nd->ni_vp) == NULLVP) { in open_xattrfile()
2564 error = vn_create(dvp, &nd->ni_vp, nd, va, in open_xattrfile()
2571 xvp = nd->ni_vp; in open_xattrfile()
2587 xvp = nd->ni_vp; in open_xattrfile()
2735 xvp = nd.ni_vp; in remove_xattrfile()
H A Dvfs_attrlist.c3436 vp = nd.ni_vp; in getattrlistat_internal()
3941 vp = nd.ni_vp; in readdirattr()
4754 vp = nd.ni_vp; in setattrlist()
4799 vp = nd.ni_vp; in setattrlistat()
H A Dvfs_cache.c2306 ndp->ni_vp = vp; in cache_lookup_path()
H A Dvfs_subr.c7585 *vpp = ndp->ni_vp; in vnode_lookupat()
7638 *vpp = ndp->ni_vp; in vnode_open()
12249 vp = ndp->ni_vp; in vfs_addtrigger()
/xnu-10063.101.15/bsd/kern/
H A Dkern_acct.c176 error = mac_system_check_acct(vfs_context_ucred(ctx), nd.ni_vp); in acct()
178 vnode_put(nd.ni_vp); in acct()
179 vn_close(nd.ni_vp, FWRITE, ctx); in acct()
183 vnode_put(nd.ni_vp); in acct()
185 if (nd.ni_vp->v_type != VREG) { in acct()
186 vn_close(nd.ni_vp, FWRITE, ctx); in acct()
220 acctp = nd.ni_vp; in acct()
H A Dimageboot.c528 vp = ndp.ni_vp; in ubc_getobject_from_filename()
579 vp = ndp.ni_vp; in imageboot_read_file_internal()
748 vp = ndp.ni_vp; in imgboot_get_image_file()
H A Dtty_dev.c169 error = vnode_setattr(nd.ni_vp, &va, ctx); in _devfs_setattr()
170 vnode_put(nd.ni_vp); in _devfs_setattr()
H A Dkern_symfile.c276 ref->vp = nd.ni_vp; in kern_open_file_for_direct_io()
H A Dkern_exec.c2255 imgp->ip_vp = ndp->ni_vp; /* if set, need to vnode_put() at some point */ in exec_activate_image()
2366 if (imgp->ip_flags & IMGPF_INTERPRET && ndp->ni_vp) { in exec_activate_image()
2367 AUDIT_ARG(vnpath, ndp->ni_vp, ARG_VNODE2); in exec_activate_image()
2377 (uintptr_t)ndp->ni_vp, 0); in exec_activate_image()
6839 fp_set_data(fp, ndp->ni_vp); in exec_handle_sugid()
6841 vnode_put(ndp->ni_vp); in exec_handle_sugid()
H A Duipc_usrreq.c1167 vp = nd.ni_vp; in unp_bind()
1298 vp = nd.ni_vp; in unp_connect()
H A Dmach_loader.c3797 vp = ndp->ni_vp; in get_macho_vnode()
/xnu-10063.101.15/bsd/nfs/
H A Dnfs_serv.c701 if (!error && mac_vnode_check_open(ctx, ni.ni_vp, FREAD)) { in nfsrv_lookup()
708 if (ni.ni_vp) { in nfsrv_lookup()
709 vnode_put(ni.ni_vp); in nfsrv_lookup()
710 ni.ni_vp = NULL; in nfsrv_lookup()
726 vp = ni.ni_vp; in nfsrv_lookup()
2055 vp = ni.ni_vp; in nfsrv_create()
2231 vp = ni.ni_vp; in nfsrv_create()
2412 vp = ni.ni_vp; in nfsrv_mknod()
2518 vp = ni.ni_vp; in nfsrv_mknod()
2661 vp = ni.ni_vp; in nfsrv_remove()
[all …]
H A Dnfs_subs.c1007 if (nip->ni_vp) { in nfsrv_namei()
1008 vnode_put(nip->ni_vp); in nfsrv_namei()
1009 nip->ni_vp = NULL; in nfsrv_namei()
1683 mvp = mnd.ni_vp; in nfsrv_export()
1784 mvp = mnd.ni_vp; in nfsrv_export()
1818 mvp = mnd.ni_vp; in nfsrv_export()
2021 xvp = xnd.ni_vp; in nfsrv_export()
H A Dnfs_syscalls.c262 vp = nd.ni_vp; in nfsrv_export_remainder()
330 vp = nd.ni_vp; in getfh()
/xnu-10063.101.15/bsd/sys/
H A Dnamei.h115 struct vnode *ni_vp; /* vnode of result */ member
/xnu-10063.101.15/security/
H A Dmac_base.c1377 vp = nd.ni_vp; in mac_get_filelink()
1505 vp = nd.ni_vp; in mac_set_filelink()
1658 mp = nd.ni_vp->v_mount; in __mac_get_mount()
1660 vnode_put(nd.ni_vp); in __mac_get_mount()
/xnu-10063.101.15/bsd/security/audit/
H A Daudit_syscalls.c1215 vp = nd.ni_vp; in auditctl()