Home
last modified time | relevance | path

Searched refs:vfs_context_kernel (Results 1 – 25 of 29) sorted by relevance

12

/xnu-11215/bsd/vm/
H A Dvm_compressor_backing_file.c50 vfs_context_t ctx = vfs_context_kernel(); in vm_swapfile_open()
90 vfs_context_t context = vfs_context_kernel(); in vm_swapfile_close()
117 ctx = vfs_context_kernel(); in vm_swapfile_preallocate()
171 ctx = vfs_context_kernel(); in vm_record_file_write()
260 ctx = vfs_context_kernel(); in vm_swapfile_io()
357 error = VNOP_IOCTL(devvp, _DKIOCCSUNMAP, (caddr_t)&cs_unmap, 0, vfs_context_kernel()); in vnode_trim_list()
360 error = VNOP_IOCTL(devvp, DKIOCUNMAP, (caddr_t)&unmap, 0, vfs_context_kernel()); in vnode_trim_list()
376 error = VNOP_IOCTL(devvp, _DKIOCCSUNMAP, (caddr_t)&cs_unmap, 0, vfs_context_kernel()); in vnode_trim_list()
379 error = VNOP_IOCTL(devvp, DKIOCUNMAP, (caddr_t)&unmap, 0, vfs_context_kernel()); in vnode_trim_list()
393 vfs_context_t ctx = vfs_context_kernel(); in vm_swap_vol_get_budget()
[all …]
H A Dvnode_pager.c119 error = VNOP_IOCTL(devvp, DKIOCGETBLOCKSIZE, (caddr_t)&blocksize, 0, vfs_context_kernel()); in vnode_pager_issue_reprioritize_io()
134 error = VNOP_IOCTL(devvp, DKIOCSETTIER, (caddr_t)&set_tier, 0, vfs_context_kernel()); in vnode_pager_issue_reprioritize_io()
253 error = VNOP_IOCTL(devvp, DKIOCGETBLOCKSIZE, (caddr_t)&blocksize, 0, vfs_context_kernel()); in vnode_trim()
286 error = VNOP_IOCTL(devvp, DKIOCUNMAP, (caddr_t)&unmap, 0, vfs_context_kernel()); in vnode_trim()
/xnu-11215/bsd/vfs/
H A Dvfs_exclave_fs.c144 error = vnode_getattr(vp, &va, vfs_context_kernel()); in get_vnode_info()
545 error = VNOP_IOCTL(vp, FSIOC_EVAL_ROOTAUTH, NULL, 0, vfs_context_kernel()); in vfs_exclave_fs_register()
575 CAST_USER_ADDR_T(base_path), vfs_context_kernel()); in vfs_exclave_fs_register_path()
744 ctx = vfs_context_kernel(); in create_exclave_dir()
1055 ctx = vfs_context_kernel(); in exclave_fs_open_internal()
1174 error = vn_close(vp, flags, vfs_context_kernel()); in vfs_exclave_fs_close()
1226 error = VNOP_READ(vp, auio, 0, vfs_context_kernel()); in exclave_fs_io()
1228 error = VNOP_WRITE(vp, auio, 0, vfs_context_kernel()); in exclave_fs_io()
1331 error = VNOP_IOCTL(vp, command, (caddr_t)NULL, 0, vfs_context_kernel()); in vfs_exclave_fs_sync()
1454 ctx = vfs_context_kernel(); in vfs_exclave_fs_readdir()
[all …]
H A Dvfs_cprotect.c456 …VFS_IOCTL(mp, FIODEVICELOCKED, (void *)(uintptr_t)callback_arg->lock_state, 0, vfs_context_kernel(… in cp_vfs_callback()
459 …VFS_IOCTL(mp, FIODEVICEEPSTATE, (void *)(uintptr_t)callback_arg->ep_state, 0, vfs_context_kernel()… in cp_vfs_callback()
462 …VFS_IOCTL(mp, FIODEVICECXSTATE, (void *)(uintptr_t)callback_arg->cx_state, 0, vfs_context_kernel()… in cp_vfs_callback()
H A Dvfs_fsevents.c839 if ((ret = vnode_getattr(vp, &va, vfs_context_kernel())) != 0) { in add_fsevent()
866 if ((ret = vnode_getattr(vp, &va, vfs_context_kernel()) != 0) || in add_fsevent()
1070 iret = VFS_ROOT(mp, &mnt_rootvp, vfs_context_kernel()); in add_fsevent()
1074 …et = VNOP_IOCTL(mnt_rootvp, APFSIOC_NEXT_LINK, (char *)&next_linkid, (int)0, vfs_context_kernel()); in add_fsevent()
1122 … if ((ret = VFS_VGET(link_vp->v_mount, (ino64_t)link_parentid, &dvp, vfs_context_kernel())) == 0) { in add_fsevent()
2996 if (vnode_getattr(vp, &va, vfs_context_kernel()) != 0) { in get_fse_info()
H A Dvfs_init.c413 mac_mount_label_associate(vfs_context_kernel(), mp); in vfsinit()
H A Dvfs_xattr.c557 vfs_context_t kernelctx = vfs_context_kernel(); in vnode_relenamedstream()
609 vfs_context_t kernelctx = vfs_context_kernel(); in vnode_flushnamedstream()
700 vfs_context_t kernelctx = vfs_context_kernel(); in vnode_verifynamedstream()
762 vfs_context_t kernelctx = vfs_context_kernel(); in getshadowfile()
903 vfs_context_t kernelctx = vfs_context_kernel(); in default_getnamedstream()
1109 vfs_context_t kernelctx = vfs_context_kernel(); in get_shadow_dir()
H A Dvfs_syscalls.c1595 0, &mp_devvp, vfs_context_kernel()); in mount_common()
1625 0, &mp_devvp, vfs_context_kernel()); in mount_common()
1664 0, &mp_devvp, vfs_context_kernel()); in mount_common()
2103 if (ctx == vfs_context_kernel()) { in authorize_devpath_and_update_mntfromname()
2722 vfs_context_kernel() : vfs_context_current(); in unmount()
3276 (void)VFS_SYNC(mp, waitfor, vfs_context_kernel()); in sync_callback()
6261 if (vnode_isswap(vp) && (ctx != vfs_context_kernel())) { in unlinkat_internal()
11796 error = vnode_getattr(vp, &va, vfs_context_kernel()); in nspace_resolver_req_completed()
11825 (caddr_t)&syncroot_id, 0, vfs_context_kernel()); in nspace_resolver_req_completed()
12118 if (ctx == vfs_context_kernel()) { in vfs_context_dataless_materialization_is_prevented()
[all …]
H A Dvfs_lookup.c1282 &is_subdir, vfs_context_kernel());
2205 if (vfs_getattr(mp, &vfsattr, vfs_context_kernel()) == 0 &&
H A Dvfs_subr.c1162 mac_mount_label_associate(vfs_context_kernel(), mp); in vfs_rootmountalloc_internal()
1208 vfs_context_t ctx = vfs_context_kernel(); in vfs_mountroot()
1568 vfs_context_t ctx = vfs_context_kernel(); in vfs_switch_root()
1915 recoverypath, (rootvnode->v_mount), 0, 0, (KERNEL_MOUNT_RECOVERYVOL), vfs_context_kernel()); in vfs_mount_recovery()
6803 VNOP_IOCTL(vp, TIOCREVOKE, (caddr_t)NULL, 0, vfs_context_kernel()); in vnode_reclaim_internal()
6812 VNOP_IOCTL(vp, TIOCREVOKECLEAR, (caddr_t)NULL, 0, vfs_context_kernel()); in vnode_reclaim_internal()
H A Dkpi_vfs.c1643 vfs_context_kernel(void) in vfs_context_kernel() function
3014 if (vnode_isswap(vp) && (ctx != vfs_context_kernel())) { in vnode_setattr()
6182 ctx = vfs_context_kernel(); in VNOP_VERIFY()
/xnu-11215/bsd/kern/
H A Dimageboot.c218 error = vnode_lookup(image_path, 0, &imagevp, vfs_context_kernel()); in imageboot_pivot_image()
278 …ONLY | MNT_DONTBROWSE), (KERNEL_MOUNT_NOAUTH | KERNEL_MOUNT_BASESYSTEMROOT), vfs_context_kernel()); in imageboot_pivot_image()
282 …ONLY | MNT_DONTBROWSE), (KERNEL_MOUNT_NOAUTH | KERNEL_MOUNT_BASESYSTEMROOT), vfs_context_kernel()); in imageboot_pivot_image()
304 error = vnode_lookup(PIVOTMNT, 0, &mount_vp, vfs_context_kernel()); in imageboot_pivot_image()
314 rootauth = VNOP_IOCTL(mount_vp, FSIOC_KERNEL_ROOTAUTH, (caddr_t)0x1, 0, vfs_context_kernel()); in imageboot_pivot_image()
458 if (VFS_ROOT(TAILQ_LAST(&mountlist, mntlist), &newdp, vfs_context_kernel())) { in imageboot_mount_image()
520 vfs_context_t ctx = vfs_context_kernel(); in ubc_getobject_from_filename()
569 vfs_context_t ctx = vfs_context_kernel(); in imageboot_read_file_internal()
740 vfs_context_t ctx = vfs_context_kernel(); in imgboot_get_image_file()
938 if (VFS_ROOT(TAILQ_LAST(&mountlist, mntlist), &newdp, vfs_context_kernel())) { in imageboot_mount_ramdisk()
H A Dbsd_init.c917 if (VFS_ROOT(mountlist.tqh_first, &init_rootvnode, vfs_context_kernel())) { in bsd_init()
944 int autherr = VNOP_IOCTL(rootvnode, FSIOC_KERNEL_ROOTAUTH, NULL, 0, vfs_context_kernel()); in bsd_init()
1392 error = vnode_lookup(dmgpath, 0, &imagevp, vfs_context_kernel()); in bsd_find_basesystem_dmg()
1413 error = vnode_lookup(dmgpath, 0, &imagevp, vfs_context_kernel()); in bsd_find_basesystem_dmg()
1448 error = vnode_lookup(dmgpath, 0, &imagevp, vfs_context_kernel()); in bsd_find_basesystem_dmg()
1470 error = vnode_lookup(dmgpath, 0, &imagevp, vfs_context_kernel()); in bsd_find_basesystem_dmg()
1515 error = vfs_getattr(mp, &vfsattr, vfs_context_kernel()); in bsdmgroot_bootable()
H A Dkern_acct.c384 (void) vn_close(suspend_acctp, FWRITE, vfs_context_kernel()); in acctwatch()
402 (void) vn_close(acctp, FWRITE, vfs_context_kernel()); in acctwatch()
H A Dchunklist.c196 vfs_context_t ctx = vfs_context_kernel(); in validate_root_image()
H A Dkern_symfile.c258 ref->ctx = vfs_context_kernel(); in kern_open_file_for_direct_io()
H A Ddecmpfs.c2364 decmpfs_ctx = vfs_context_create(vfs_context_kernel());
H A Dkdebug.c2931 ctx = vfs_context_kernel(); in kdbg_dump_trace_to_file()
H A Dmach_loader.c3625 kerncred = vfs_context_ucred(vfs_context_kernel()); in get_macho_vnode()
/xnu-11215/bsd/security/audit/
H A Daudit_worker.c559 vfs_context_kernel()); in audit_rotate_vnode()
/xnu-11215/iokit/bsddev/
H A DIOKitBSDInit.cpp1246 vfs_context_kernel()); in IOCoreFileGetSize()
1295 vfs_context = vfs_context_kernel(); in IOAccessCoreFileData()
1406 vfs_context = vfs_context_kernel(); in IOProvideCoreFileAccess()
/xnu-11215/bsd/miscfs/devfs/
H A Ddevfs_vfsops.c491 vfs_context_t ctx = vfs_context_kernel(); in devfs_kernel_mount()
H A Ddevfs_tree.c200 mac_mount_label_associate(vfs_context_kernel(), devfs_hidden_mount); in devfs_sinit()
/xnu-11215/bsd/miscfs/routefs/
H A Droutefs_ops.c448 vfs_context_t ctx = vfs_context_kernel(); in routefs_kernel_mount()
/xnu-11215/bsd/sys/
H A Dvnode.h2662 vfs_context_t vfs_context_kernel(void) __pure2; /* get from 1st kernel thread */

12