| /xnu-12377.41.6/bsd/kern/ |
| H A D | sys_socket.c | 156 procp = vfs_context_proc(ctx); in soo_write() 286 proc_t procp = vfs_context_proc(ctx); in soo_ioctl() 307 procp = vfs_context_proc(ctx); in soo_select()
|
| H A D | sys_pipe.c | 1277 selrecord(vfs_context_proc(ctx), &rpipe->pipe_sel, wql); in pipe_select() 1291 selrecord(vfs_context_proc(ctx), &wpipe->pipe_sel, wql); in pipe_select() 1295 selrecord(vfs_context_proc(ctx), &rpipe->pipe_sel, wql); in pipe_select() 1310 proc_fdlock_spin(vfs_context_proc(ctx)); in pipe_close() 1313 proc_fdunlock(vfs_context_proc(ctx)); in pipe_close()
|
| H A D | kern_symfile.c | 673 vfs_context_proc(ref->ctx)); in kern_write_file() 684 vfs_context_proc(ref->ctx)); in kern_read_file()
|
| H A D | mach_loader.c | 595 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in process_is_plugin_host() 611 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in process_is_plugin_host() 634 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in process_is_plugin_host() 1073 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in parse_machfile() 3292 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in load_dylinker() 3889 proc_t p = vfs_context_proc(ctx); in get_macho_vnode()
|
| H A D | chunklist.c | 198 proc_t p = vfs_context_proc(ctx); in validate_root_image()
|
| H A D | kern_lockf.c | 224 vfs_context_proc(context)->p_comm); in lf_advlock() 353 lock->lf_owner = vfs_context_proc(context); in lf_advlock()
|
| H A D | kern_exec.c | 720 p = vfs_context_proc(imgp->ip_vfs_context); in exec_shell_imgact() 774 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_fat_imgact() 1731 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_mach_imgact() 2779 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_activate_image() 2851 &resid, vfs_context_proc(imgp->ip_vfs_context)); in exec_activate_image() 3130 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_handle_port_actions() 3360 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_handle_file_actions() 6330 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_copyout_strings() 7223 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_check_permissions() 7346 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_handle_sugid()
|
| H A D | kern_shutdown.c | 416 UIO_SYSSPACE, IO_UNIT | IO_NOAUTH, vfs_context_ucred(ctx), &resid, vfs_context_proc(ctx)); in sd_log()
|
| H A D | imageboot.c | 592 proc_t p = vfs_context_proc(ctx); in imageboot_read_file_internal()
|
| /xnu-12377.41.6/bsd/miscfs/devfs/ |
| H A D | devfs_fdesc_support.c | 307 struct proc *p = vfs_context_proc(ap->a_context); in devfs_devfd_lookup() 416 struct proc *p = vfs_context_proc(a_context); in fdesc_attr() 545 struct proc * p = vfs_context_proc(ap->a_context); in fdesc_setattr() 559 if ((error = fp_lookup(vfs_context_proc(ap->a_context), fd, &fp, 0))) { in fdesc_setattr()
|
| H A D | devfs_vnops.c | 343 struct proc *p = vfs_context_proc(ctx); in devfs_lookup() 1247 struct proc *p = vfs_context_proc(ctx); in devfs_mkdir() 1327 error = devfs_dntovn(newent->de_dnp, ap->a_vpp, vfs_context_proc(ap->a_context)); in devfs_symlink() 1382 struct proc *p = vfs_context_proc(ctx); in devfs_mknod()
|
| /xnu-12377.41.6/bsd/vm/ |
| H A D | vm_compressor_backing_file.c | 174 UIO_SYSSPACE, IO_NODELOCKED, vfs_context_ucred(ctx), (int *) 0, vfs_context_proc(ctx)); in vm_record_file_write() 263 …IO_UNIT | IO_NOCACHE | IO_SWAP_DISPATCH, vfs_context_ucred(ctx), (int *) 0, vfs_context_proc(ctx)); in vm_swapfile_io()
|
| /xnu-12377.41.6/bsd/security/audit/ |
| H A D | audit_worker.c | 260 vfs_context_proc(ctx)); in audit_record_write()
|
| /xnu-12377.41.6/bsd/vfs/ |
| H A D | vfs_attrlist.c | 97 proc_t p = vfs_context_proc(vfs_context_current()); in attrlist_build_path() 1016 attr_max_buffer = proc_support_long_paths(vfs_context_proc(ctx)) ? in getvolattrlist() 2845 size_t attr_max_buffer = proc_support_long_paths(vfs_context_proc(ctx)) ? in vfs_attr_pack_internal() 2848 proc_is64 = proc_is64bit(vfs_context_proc(ctx)); in vfs_attr_pack_internal() 3186 proc_is64bit(vfs_context_proc(ctx)), options & FSOPT_ATTR_CMN_EXTENDED); in vfs_attr_pack_ext() 3282 proc_is64 = proc_is64bit(vfs_context_proc(ctx)); in getattrlist_internal() 3305 …vp, vfs_context_proc(ctx)->p_comm, alp->commonattr, alp->volattr, alp->fileattr, alp->dirattr, alp… in getattrlist_internal() 3891 &action, proc_is64bit(vfs_context_proc(ctx)), in get_error_attributes() 3978 size_t attr_max_buffer = proc_support_long_paths(vfs_context_proc(ctx)) ? in readdirattr() 4485 size_t attr_max_buffer = proc_support_long_paths(vfs_context_proc(ctx)) ? in setattrlist_internal()
|
| H A D | vfs_lookup.c | 199 proc_t p = vfs_context_proc(ctx); in namei() 1967 assert(proc_support_long_paths(vfs_context_proc(ctx))); 1996 size_t maxlen = proc_support_long_paths(vfs_context_proc(ctx)) ? MAXLONGPATHLEN : MAXPATHLEN;
|
| H A D | vfs_fsevents.c | 379 struct proc *p = vfs_context_proc(ctx); in add_fsevent() 2243 if (proc_is64bit(vfs_context_proc(ctx))) { in fseventsf_ioctl() 2257 if (!proc_is64bit(vfs_context_proc(ctx))) { in fseventsf_ioctl() 2357 selrecord(vfs_context_proc(ctx), &fseh->si, wql); in fseventsf_select()
|
| H A D | kpi_vfs.c | 1273 return proc_pid(vfs_context_proc(ctx)); in vfs_context_pid() 1311 proc_t p = vfs_context_proc(ctx); in vfs_context_issignal() 1335 proc_t proc = vfs_context_proc(ctx); in vfs_context_can_resolve_triggers() 1350 proc_t proc = vfs_context_proc(ctx); in vfs_context_can_break_leases() 1391 proc_t p = vfs_context_proc(ctx); in vfs_context_skip_mtime_update() 1461 vfs_context_proc(vfs_context_t ctx) in vfs_context_proc() function 2004 proc = vfs_context_proc(ctx); in vfs_ctx_skipatime()
|
| H A D | vfs_syscalls.c | 522 vfs_context_proc(vctx)); in read_graft_metadata_vp() 1167 struct proc *p = vfs_context_proc(ctx); in mount_common() 2916 proc_t p = vfs_context_proc(ctx); in safedounmount() 2992 proc_t p = vfs_context_proc(ctx); in dounmount() 3972 …error = munge_statfs(mp, sp, fstp->sfsp, &my_size, IS_64BIT_PROCESS(vfs_context_proc(ctx)), FALSE); in getfsstat_callback() 4224 proc_t p = vfs_context_proc(ctx); in vnode_getfromfd() 4890 proc_t p = vfs_context_proc(ctx); in open1() 5327 struct filedesc *fdp = &vfs_context_proc(ctx)->p_fd; in openat_dprotected_internal() 5404 struct filedesc *fdp = &vfs_context_proc(ctx)->p_fd; in openat_internal() 5480 if (csproc_get_platform_binary(vfs_context_proc(ctx))) { in vfs_context_can_open_by_id() [all …]
|
| H A D | vfs_vnops.c | 1264 proc_t p = vfs_context_proc(ctx); in vn_write() 1812 pg = proc_pgrp(vfs_context_proc(ctx), &sessp); in vn_ioctl()
|
| /xnu-12377.41.6/bsd/miscfs/specfs/ |
| H A D | spec_vnops.c | 354 struct proc *p = vfs_context_proc(ap->a_context); in spec_open() 838 proc_t p = vfs_context_proc(ap->a_context); in spec_ioctl() 871 proc_t p = vfs_context_proc(ap->a_context); in spec_select() 2797 struct proc *p = vfs_context_proc(ctx); in spec_close_internal()
|
| /xnu-12377.41.6/bsd/skywalk/nexus/ |
| H A D | nexus_syscalls.c | 57 proc_t procp = vfs_context_proc(ctx); in nxop_ioctl()
|
| /xnu-12377.41.6/security/ |
| H A D | mac_vfs.c | 823 error = mac_error_select(hook(cred, new, vfs_context_proc(ctx), vp, offset, scriptvp, in mac_cred_label_update_execve() 842 error = mac_error_select(hook(cred, new, vfs_context_proc(ctx), vp, offset, scriptvp, in mac_cred_label_update_execve() 2669 p = vfs_context_proc(ctx); in mac_vnode_label_associate_fdesc()
|
| /xnu-12377.41.6/bsd/skywalk/channel/ |
| H A D | channel_syscalls.c | 104 revents = ch_select(ch, events, wql, vfs_context_proc(ctx)); in chop_select()
|
| /xnu-12377.41.6/bsd/sys/ |
| H A D | vnode.h | 1507 proc_t vfs_context_proc(vfs_context_t ctx);
|
| /xnu-12377.41.6/iokit/bsddev/ |
| H A D | IOKitBSDInit.cpp | 1297 …_SYNC | IO_NOCACHE | IO_UNIT, vfs_context_ucred(vfs_context), NULL, vfs_context_proc(vfs_context)); in IOAccessCoreFileData()
|