| /xnu-11417.140.69/bsd/kern/ |
| H A D | kern_acct.c | 176 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 D | imageboot.c | 548 vp = ndp.ni_vp; in ubc_getobject_from_filename() 599 vp = ndp.ni_vp; in imageboot_read_file_internal() 768 vp = ndp.ni_vp; in imgboot_get_image_file()
|
| H A D | tty_dev.c | 169 error = vnode_setattr(nd.ni_vp, &va, ctx); in _devfs_setattr() 170 vnode_put(nd.ni_vp); in _devfs_setattr()
|
| H A D | kern_symfile.c | 277 ref->vp = nd.ni_vp; in kern_open_file_for_direct_io()
|
| H A D | kern_exec.c | 2335 imgp->ip_vp = ndp->ni_vp; /* if set, need to vnode_put() at some point */ in exec_activate_image() 2446 if (imgp->ip_flags & IMGPF_INTERPRET && ndp->ni_vp) { in exec_activate_image() 2447 AUDIT_ARG(vnpath, ndp->ni_vp, ARG_VNODE2); in exec_activate_image() 2457 (uintptr_t)ndp->ni_vp, 0); in exec_activate_image() 6950 fp_set_data(fp, ndp->ni_vp); in exec_handle_sugid() 6952 vnode_put(ndp->ni_vp); in exec_handle_sugid()
|
| H A D | uipc_usrreq.c | 1198 vp = nd.ni_vp; in unp_bind() 1330 vp = nd.ni_vp; in unp_connect()
|
| H A D | mach_loader.c | 3646 vp = ndp->ni_vp; in get_macho_vnode()
|
| /xnu-11417.140.69/bsd/vfs/ |
| H A D | vfs_lookup.c | 231 … going on a continued lookup, but for vp type %d (tag %d)", ndp->ni_vp->v_type, ndp->ni_vp->v_tag); in namei() 537 ndp->ni_vp = NULLVP; in namei() 621 if (ndp->ni_vp) { in namei() 622 vnode_put(ndp->ni_vp); in namei() 660 ndp->ni_vp = NULLVP; in namei() 899 ndp->ni_vp = svp; /* on create this may be null */ in lookup_handle_rsrc_fork() 950 dp = ndp->ni_vp; in lookup_handle_found_vnode() 953 if (ndp->ni_vp == NULLVP) { in lookup_handle_found_vnode() 980 dp = ndp->ni_vp; in lookup_handle_found_vnode() 1098 dp = ndp->ni_vp; in lookup_handle_found_vnode() [all …]
|
| H A D | vfs_syscalls.c | 326 vp = nd.ni_vp; in kernel_mount() 757 mounton_vp = nd.ni_vp; in graftdmg() 821 mounton_vp = nd.ni_vp; in ungraftdmg() 905 vp = nd.ni_vp; in __mac_mount() 1448 devvp = nd.ni_vp; in mount_common() 2122 vp = nd.ni_vp; in authorize_devpath_and_update_mntfromname() 2573 vnode_put(qnd.ni_vp); in enablequotas() 2748 vp = nd.ni_vp; in unmount() 3472 mp = nd.ni_vp->v_mount; in quotactl() 3474 vnode_put(nd.ni_vp); in quotactl() [all …]
|
| H A D | vfs_vnops.c | 234 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() 462 vp = ndp->ni_vp; in vn_open_auth() 482 vp = ndp->ni_vp; in vn_open_auth() 523 error = VNOP_COMPOUND_OPEN(dvp, &ndp->ni_vp, ndp, 0, fmode, NULL, NULL, ctx); in vn_open_auth() 526 vp = ndp->ni_vp; in vn_open_auth() 583 vp = ndp->ni_vp; in vn_open_auth() 589 error = VNOP_COMPOUND_OPEN(dvp, &ndp->ni_vp, ndp, 0, fmode, NULL, NULL, ctx); in vn_open_auth() 590 vp = ndp->ni_vp; in vn_open_auth() [all …]
|
| H A D | vfs_exclave_fs.c | 575 error = vfs_exclave_fs_register(fs_tag, nd.ni_vp); in vfs_exclave_fs_register_path() 577 vnode_put(nd.ni_vp); in vfs_exclave_fs_register_path() 753 vp = nd.ni_vp; in create_exclave_dir() 773 nd.ni_vp = vp; in create_exclave_dir() 1104 vp = ndp->ni_vp; in exclave_fs_open_internal()
|
| H A D | kpi_vfs.c | 4531 if (fromnd->ni_vp) { in vn_rename() 4533 src_attr_vp = fromnd->ni_vp; in vn_rename() 4535 if (fromnd->ni_vp->v_type != VREG) { in vn_rename() 4537 vnode_put(fromnd->ni_vp); in vn_rename() 4639 if (tond->ni_vp) { in vn_rename() 4640 dst_attr_vp = tond->ni_vp; in vn_rename() 5216 xvp = nd.ni_vp; in xattrfile_remove() 5327 xvp = nd.ni_vp; in xattrfile_setattr()
|
| H A D | vfs_xattr.c | 3149 if ((xvp = nd->ni_vp) == NULLVP) { in open_xattrfile() 3184 error = vn_create(dvp, &nd->ni_vp, nd, va, in open_xattrfile() 3191 xvp = nd->ni_vp; in open_xattrfile() 3208 xvp = nd->ni_vp; in open_xattrfile() 3435 rvp = nd.ni_vp; in remove_xattrfile()
|
| H A D | vfs_attrlist.c | 3523 vp = nd.ni_vp; in getattrlistat_internal() 4030 vp = nd.ni_vp; in readdirattr() 4845 vp = nd.ni_vp; in setattrlist() 4890 vp = nd.ni_vp; in setattrlistat()
|
| H A D | vfs_cache.c | 2344 ndp->ni_vp = vp; in cache_lookup_path()
|
| H A D | vfs_subr.c | 7747 *vpp = ndp->ni_vp; in vnode_lookupat() 7804 *vpp = ndp->ni_vp; in vnode_open() 12500 vp = ndp->ni_vp; in vfs_addtrigger()
|
| /xnu-11417.140.69/bsd/sys/ |
| H A D | namei.h | 115 struct vnode *ni_vp; /* vnode of result */ member
|
| /xnu-11417.140.69/bsd/nfs/ |
| H A D | nfs_serv.c | 702 if (!error && mac_vnode_check_open(ctx, ni.ni_vp, FREAD)) { in nfsrv_lookup() 709 if (ni.ni_vp) { in nfsrv_lookup() 710 vnode_put(ni.ni_vp); in nfsrv_lookup() 711 ni.ni_vp = NULL; in nfsrv_lookup() 727 vp = ni.ni_vp; in nfsrv_lookup() 2056 vp = ni.ni_vp; in nfsrv_create() 2232 vp = ni.ni_vp; in nfsrv_create() 2413 vp = ni.ni_vp; in nfsrv_mknod() 2519 vp = ni.ni_vp; in nfsrv_mknod() 2662 vp = ni.ni_vp; in nfsrv_remove() [all …]
|
| H A D | nfs_subs.c | 1008 if (nip->ni_vp) { in nfsrv_namei() 1009 vnode_put(nip->ni_vp); in nfsrv_namei() 1010 nip->ni_vp = NULL; in nfsrv_namei() 1684 mvp = mnd.ni_vp; in nfsrv_export() 1785 mvp = mnd.ni_vp; in nfsrv_export() 1819 mvp = mnd.ni_vp; in nfsrv_export() 2022 xvp = xnd.ni_vp; in nfsrv_export()
|
| H A D | nfs_syscalls.c | 264 vp = nd.ni_vp; in nfsrv_export_remainder() 332 vp = nd.ni_vp; in getfh()
|
| /xnu-11417.140.69/security/ |
| H A D | mac_base.c | 1377 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-11417.140.69/bsd/security/audit/ |
| H A D | audit_syscalls.c | 1215 vp = nd.ni_vp; in auditctl()
|