| /xnu-11215/bsd/vfs/ |
| H A D | vfs_cache.c | 454 pvp = NULLVP; in vnode_issubdir() 1147 dvp = NULLVP; in vnode_update_identity() 1587 vp = NULLVP; in vnode_cache_is_authorized() 2174 vp = NULLVP; in cache_lookup_path() 2186 vp = NULLVP; in cache_lookup_path() 2210 tdp = NULLVP; in cache_lookup_path() 2227 dp = NULLVP; in cache_lookup_path() 2309 vp = NULLVP; in cache_lookup_path() 2330 dp = NULLVP; in cache_lookup_path() 2336 tdp = NULLVP; in cache_lookup_path() [all …]
|
| H A D | vfs_lookup.c | 436 dp = NULLVP; in namei() 483 ndp->ni_dvp = NULLVP; in namei() 484 ndp->ni_vp = NULLVP; in namei() 502 dp = NULLVP; in namei() 600 ndp->ni_vp = NULLVP; in namei() 737 if (dvp != NULLVP && vp->v_parent == NULLVP) { in lookup_consider_update_cache() 1212 dp = NULLVP; 1226 ndp->ni_vp = NULLVP; 1229 dp = NULLVP; 1337 dp = NULLVP; [all …]
|
| H A D | vfs_subr.c | 1575 struct preserved_mount devfs = { NULLVP, NULL, NULLVP, NULLVP, "dev" }; in vfs_switch_root() 1576 struct preserved_mount preboot = { NULLVP, NULL, NULLVP, NULLVP, "System/Volumes/Preboot" }; in vfs_switch_root() 1577 struct preserved_mount recovery = { NULLVP, NULL, NULLVP, NULLVP, "System/Volumes/Recovery" }; in vfs_switch_root() 1578 struct preserved_mount vm = { NULLVP, NULL, NULLVP, NULLVP, "System/Volumes/VM" }; in vfs_switch_root() 1579 struct preserved_mount update = { NULLVP, NULL, NULLVP, NULLVP, "System/Volumes/Update" }; in vfs_switch_root() 1580 struct preserved_mount iscPreboot = { NULLVP, NULL, NULLVP, NULLVP, "System/Volumes/iSCPreboot" }; in vfs_switch_root() 1581 struct preserved_mount hardware = { NULLVP, NULL, NULLVP, NULLVP, "System/Volumes/Hardware" }; in vfs_switch_root() 1582 struct preserved_mount xarts = { NULLVP, NULL, NULLVP, NULLVP, "System/Volumes/xarts" }; in vfs_switch_root() 1583 struct preserved_mount factorylogs = { NULLVP, NULL, NULLVP, NULLVP, "FactoryLogs" }; in vfs_switch_root() 1584 struct preserved_mount idiags = { NULLVP, NULL, NULLVP, NULLVP, "System/Volumes/Diags" }; in vfs_switch_root() [all …]
|
| H A D | vfs_exclave_fs.c | 737 vnode_t vp = NULLVP, dvp = NULLVP; in create_exclave_dir() 762 if (vp != NULLVP) { in create_exclave_dir() 791 if (vp->v_parent == NULLVP) { in create_exclave_dir() 1007 vnode_t dvp = NULLVP, vp = NULLVP; in exclave_fs_open_internal() 1080 error = vn_open_auth(ndp, &flags, vap, NULLVP); in exclave_fs_open_internal() 1151 vnode_t vp = NULLVP; in vfs_exclave_fs_close() 1187 vnode_t vp = NULLVP; in exclave_fs_io() 1266 vnode_t rvp = NULLVP; in vfs_exclave_fs_remove() 1300 vnode_t vp = NULLVP; in vfs_exclave_fs_sync() 1365 vnode_t dvp = NULLVP; in vfs_exclave_fs_readdir() [all …]
|
| H A D | vfs_quota.c | 254 if (qfp->qf_vp != NULLVP) { in qf_get() 273 if (qfp->qf_vp == NULLVP) { in qf_get() 335 if ((qfp->qf_qflags & (QTF_OPENING | QTF_CLOSING)) || (qfp->qf_vp == NULLVP)) { in qf_ref() 365 qfp->qf_vp = NULLVP; in dqfileinit() 481 if (id == 0 || qfp->qf_vp == NULLVP) { in dqget() 493 if ((dqvp = qfp->qf_vp) == NULLVP) { in dqget() 998 if ((dqvp = dq->dq_qfile->qf_vp) == NULLVP) { in dqsync_locked()
|
| H A D | vfs_xattr.c | 861 dvp = NULLVP; in getshadowfile() 865 svp = NULLVP; in getshadowfile() 880 svp = NULLVP; in getshadowfile() 909 *svpp = NULLVP; in default_getnamedstream() 921 *svpp = NULLVP; in default_getnamedstream() 956 svp = NULLVP; in default_getnamedstream() 1043 svp = NULLVP; in default_getnamedstream() 1060 *svpp = NULLVP; in default_makenamedstream() 1131 sdvp = NULLVP; in get_shadow_dir() 1236 sdvp = NULLVP; in get_shadow_dir() [all …]
|
| H A D | vfs_vnops.c | 177 error = vn_open_auth(ndp, fmodep, vap, NULLVP); in vn_open_modflags() 291 if (vp->v_parent == NULLVP) { in vn_open_auth_do_create() 300 ndp->ni_dvp = NULLVP; in vn_open_auth_do_create() 311 if (ndp->ni_dvp != NULLVP) { in vn_open_auth_do_create() 313 ndp->ni_dvp = NULLVP; in vn_open_auth_do_create() 401 if ((authvp != NULLVP) in vn_open_auth() 532 ndp->ni_dvp = NULLVP; in vn_open_auth() 606 ndp->ni_dvp = NULLVP; in vn_open_auth() 616 if (ndp->ni_dvp != NULLVP) { in vn_open_auth() 719 (vp->v_parent != NULLVP) && in vn_open_auth() [all …]
|
| H A D | vfs_syscalls.c | 319 if (vp == NULLVP) { in kernel_mount() 868 vnode_t vp = NULLVP; in __mac_mount() 1044 vp = NULLVP; in __mac_mount() 1048 pvp = NULLVP; in __mac_mount() 4083 *vpp = NULLVP; in vnode_getfromfd() 9167 mnt_fvp = NULLVP; in renameat_internal() 9559 mnt_fvp = NULLVP; in renameat_internal() 9963 dvp = NULLVP; in mkdir1at() 14325 *sdvpp = NULLVP; in vnode_get_snapshot() 14326 *rvpp = NULLVP; in vnode_get_snapshot() [all …]
|
| H A D | kpi_vfs.c | 875 return NULLVP; in vfs_devvp() 1777 vnode_t vp = NULLVP; in vfs_rootvnode() 1783 vp = NULLVP; in vfs_rootvnode() 3332 *out_vpp = NULLVP; in vnode_getbackingvnode() 3492 if (dvp == NULLVP) { in VNOP_COMPOUND_OPEN() 3536 *vpp = NULLVP; in VNOP_COMPOUND_OPEN() 4345 *vpp = NULLVP; in VNOP_COMPOUND_REMOVE() 4909 *fvpp = NULLVP; in VNOP_COMPOUND_RENAME() 4913 *tvpp = NULLVP; in VNOP_COMPOUND_RENAME() 5020 *vpp = NULLVP; in VNOP_COMPOUND_MKDIR() [all …]
|
| H A D | vfs_init.c | 401 mp->mnt_realrootvp = NULLVP; in vfsinit()
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_acct.c | 204 if (acctp != NULLVP || suspend_acctp != NULLVP) { in acct() 206 error = vn_close((acctp != NULLVP ? acctp : suspend_acctp), in acct() 209 acctp = suspend_acctp = NULLVP; in acct() 248 if (vp == NULLVP) { in acct_process() 377 if (suspend_acctp != NULLVP) { in acctwatch() 385 suspend_acctp = NULLVP; in acctwatch() 392 suspend_acctp = NULLVP; in acctwatch() 395 } else if (acctp != NULLVP) { in acctwatch() 403 acctp = NULLVP; in acctwatch() 410 acctp = NULLVP; in acctwatch()
|
| H A D | imageboot.c | 204 vnode_t mount_vp = NULLVP; in imageboot_pivot_image() 217 vnode_t imagevp = NULLVP; in imageboot_pivot_image() 278 …error = kernel_mount("hfs", NULLVP, NULLVP, PIVOTMNT, fulldevnamepp, 0, (MNT_RDONLY | MNT_DONTBROW… in imageboot_pivot_image() 282 …error = kernel_mount("apfs", NULLVP, NULLVP, PIVOTMNT, fulldevnamepp, 0, (MNT_RDONLY | MNT_DONTBRO… in imageboot_pivot_image() 328 mount_vp = NULLVP; in imageboot_pivot_image() 384 if (imagevp != NULLVP) { in imageboot_pivot_image() 802 vnode_t vp = NULLVP; in authenticate_root_with_img4() 894 imgsrc_rootvnodes[i] = NULLVP; in imageboot_mount_ramdisk() 916 rootvp = NULLVP; in imageboot_mount_ramdisk()
|
| H A D | tty_tty.c | 264 vp = (p->p_flag & P_CONTROLT ? sessp->s_ttyvp : NULLVP); in cttyvp() 273 if (vp != NULLVP) { in cttyvp() 277 vp = NULLVP; in cttyvp()
|
| H A D | kern_shutdown.c | 109 static vnode_t sd_logvp = NULLVP; 357 sd_logvp = NULLVP; in sd_openlog() 374 if (sd_logvp != NULLVP) { in sd_closelog() 377 sd_logvp = NULLVP; in sd_closelog() 392 if (sd_logvp == NULLVP) { in sd_log()
|
| H A D | kern_symfile.c | 271 if ((error = vn_open_auth(&nd, &fmode, &va, NULLVP))) { in kern_open_file_for_direct_io() 598 ref->vp = NULLVP; in kern_open_file_for_direct_io() 626 ref->vp = NULLVP; in kern_open_file_for_direct_io() 728 ref->vp = NULLVP; in kern_close_file_for_direct_io() 735 error = unlink1(ref->ctx, NULLVP, CAST_USER_ADDR_T(ref->name), UIO_SYSSPACE, 0); in kern_close_file_for_direct_io()
|
| H A D | bsd_init.c | 485 vnode_t init_rootvnode = NULLVP; in bsd_init() 926 init_rootvnode = NULLVP; /* use rootvnode after this point */ in bsd_init() 1328 vnode_t imagevp = NULLVP; in bsd_find_basesystem_dmg() 1482 if (imagevp != NULLVP) { in bsd_find_basesystem_dmg()
|
| H A D | proc_info.c | 1008 if (vp != NULLVP) { in bsd_threadcdir() 1022 vnode_t vp = NULLVP; in proc_pidthreadpathinfo() 1293 vnode_t vncdirvp = NULLVP; in proc_pidvnodepathinfo() 1295 vnode_t vnrdirvp = NULLVP; in proc_pidvnodepathinfo() 1312 if (vncdirvp != NULLVP) { in proc_pidvnodepathinfo() 1361 if (tvp == NULLVP) { in proc_pidpathinfo() 1387 if (tvp == NULLVP) { in proc_pidpathinfo_internal() 1400 vnode_t nvp = NULLVP; in proc_pidpathinfo_internal() 1405 nvp = NULLVP; in proc_pidpathinfo_internal() 1427 nvp = NULLVP; in proc_pidpathinfo_internal() [all …]
|
| H A D | kern_descrip.c | 2766 struct vnode *vp = NULLVP; /* for AUDIT_ARG() at end */ in sys_fcntl_nocancel() 4381 if (vnode_authorize(vp, NULLVP, (KAUTH_VNODE_ACCESS | KAUTH_VNODE_WRITE_DATA), ctx) != 0) { in sys_fcntl_nocancel() 4483 struct vnode *src_vp = NULLVP; in sys_fcntl_nocancel() 4484 struct vnode *dst_vp = NULLVP; in sys_fcntl_nocancel() 4576 if (vnode_authorize(src_vp, NULLVP, in sys_fcntl_nocancel() 4585 if (vnode_authorize(dst_vp, NULLVP, in sys_fcntl_nocancel() 4618 struct vnode *src_vp = NULLVP; in sys_fcntl_nocancel() 4619 struct vnode *dst_vp = NULLVP; in sys_fcntl_nocancel() 4720 if (vnode_authorize(src_vp, NULLVP, in sys_fcntl_nocancel() 4728 if (vnode_authorize(dst_vp, NULLVP, in sys_fcntl_nocancel() [all …]
|
| H A D | kern_fork.c | 1070 if (child_proc->p_textvp != NULLVP) { in forkproc() 1079 child_proc->p_textvp = NULLVP; in forkproc() 1479 uth->uu_cdir = NULLVP; in uthread_cleanup()
|
| H A D | kern_exit.c | 2138 vnode_t tvp = NULLVP; in proc_exit() 2262 if (sessp->s_ttyvp != NULLVP) { in proc_exit() 2301 if ((ttyvp != NULLVP) && (vnode_getwithvid(ttyvp, ttyvid) == 0)) { in proc_exit() 2324 ttyvp = NULLVP; in proc_exit() 2471 if (tvp != NULLVP) { in proc_exit()
|
| /xnu-11215/bsd/miscfs/routefs/ |
| H A D | routefs_ops.c | 126 if (rargs->route_rvp == NULLVP) { in routefs_mount() 197 if (routefs_mp_p->route_rvp != NULLVP) { in routefs_unmount() 201 routefs_mp_p->route_rvp = NULLVP; in routefs_unmount() 205 (void)vflush(mp, NULLVP, flags); in routefs_unmount() 221 if (routefs_mp_p->route_rvp == NULLVP) { in routefs_root() 223 if (routefs_mp_p->route_rvp == NULLVP) { in routefs_root() 236 routefs_mp_p->route_rvp = NULLVP; in routefs_root() 465 …error = kernel_mount(fsname, NULLVP, NULLVP, mounthere, &args, 0, MNT_DONTBROWSE, KERNEL_MOUNT_NOA… in routefs_kernel_mount() 471 if (args.route_rvp != NULLVP) { in routefs_kernel_mount()
|
| /xnu-11215/bsd/dev/dtrace/ |
| H A D | dtrace_subr.c | 127 vnode_t tvp = NULLVP, nvp = NULLVP; in dtrace_proc_get_execpath() 133 if ((tvp = p->p_textvp) == NULLVP) in dtrace_proc_get_execpath() 146 if (nvp != NULLVP) in dtrace_proc_get_execpath()
|
| /xnu-11215/bsd/miscfs/devfs/ |
| H A D | devfs_vfsops.c | 253 error = vflush(mp, NULLVP, flags); in devfs_unmount() 494 …error = kernel_mount(fsname, NULLVP, NULLVP, mntname, NULL, 0, MNT_DONTBROWSE, KERNEL_MOUNT_NOAUTH… in devfs_kernel_mount()
|
| H A D | devfs_tree.c | 207 mp->mnt_realrootvp = NULLVP; in devfs_sinit() 1301 if ((dnp->dn_clone != NULL) && (dnp->dn_vn != NULLVP)) { in devfs_dntovn() 1428 if (dnp->dn_vn != NULLVP && vnode_ismonitored(dnp->dn_vn)) { in devfs_record_event()
|
| /xnu-11215/bsd/vm/ |
| H A D | vm_compressor_backing_file.c | 96 error = unlink1(context, NULLVP, CAST_USER_ADDR_T(path_addr), in vm_swapfile_close()
|