| /xnu-11215/bsd/kern/ |
| H A D | sys_socket.c | 156 procp = vfs_context_proc(ctx); in soo_write() 290 proc_t procp = vfs_context_proc(ctx); in soo_ioctl() 311 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 | 648 vfs_context_proc(ref->ctx)); in kern_write_file() 659 vfs_context_proc(ref->ctx)); in kern_read_file()
|
| H A D | mach_loader.c | 388 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in process_is_plugin_host() 404 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in process_is_plugin_host() 426 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in process_is_plugin_host() 791 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in parse_machfile() 3010 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in load_dylinker() 3607 proc_t p = vfs_context_proc(ctx); in get_macho_vnode()
|
| H A D | kdebug.c | 1853 vfs_context_proc(ctx)); in kdbg_write_to_vnode() 1987 … UIO_SYSSPACE, IO_NODELOCKED | IO_UNIT, vfs_context_ucred(ctx), (int *) 0, vfs_context_proc(ctx)); in _write_legacy_header() 1997 … UIO_SYSSPACE, IO_NODELOCKED | IO_UNIT, vfs_context_ucred(ctx), (int *) 0, vfs_context_proc(ctx)); in _write_legacy_header() 2016 … UIO_SYSSPACE, IO_NODELOCKED | IO_UNIT, vfs_context_ucred(ctx), (int *) 0, vfs_context_proc(ctx)); in _write_legacy_header() 2046 … UIO_SYSSPACE, IO_NODELOCKED | IO_UNIT, vfs_context_ucred(ctx), (int *) 0, vfs_context_proc(ctx)); in _write_legacy_header()
|
| H A D | kern_exec.c | 713 p = vfs_context_proc(imgp->ip_vfs_context); in exec_shell_imgact() 767 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_fat_imgact() 1206 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_mach_imgact() 2263 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_activate_image() 2335 &resid, vfs_context_proc(imgp->ip_vfs_context)); in exec_activate_image() 2610 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_handle_port_actions() 2841 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_handle_file_actions() 5694 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_copyout_strings() 6552 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_check_permissions() 6675 proc_t p = vfs_context_proc(imgp->ip_vfs_context); in exec_handle_sugid()
|
| 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_shutdown.c | 402 UIO_SYSSPACE, IO_UNIT | IO_NOAUTH, vfs_context_ucred(ctx), &resid, vfs_context_proc(ctx)); in sd_log()
|
| H A D | imageboot.c | 570 proc_t p = vfs_context_proc(ctx); in imageboot_read_file_internal()
|
| /xnu-11215/bsd/miscfs/devfs/ |
| H A D | devfs_fdesc_support.c | 307 struct proc *p = vfs_context_proc(ap->a_context); in devfs_devfd_lookup() 406 struct proc *p = vfs_context_proc(a_context); in fdesc_attr() 517 struct proc * p = vfs_context_proc(ap->a_context); in fdesc_setattr() 531 if ((error = fp_lookup(vfs_context_proc(ap->a_context), fd, &fp, 0))) { in fdesc_setattr()
|
| H A D | devfs_vnops.c | 263 struct proc *p = vfs_context_proc(ctx); in devfs_lookup() 1146 struct proc *p = vfs_context_proc(ctx); in devfs_mkdir() 1219 error = devfs_dntovn(newent->de_dnp, ap->a_vpp, vfs_context_proc(ap->a_context)); in devfs_symlink() 1274 struct proc *p = vfs_context_proc(ctx); in devfs_mknod()
|
| /xnu-11215/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-11215/bsd/security/audit/ |
| H A D | audit_worker.c | 260 vfs_context_proc(ctx)); in audit_record_write()
|
| /xnu-11215/bsd/vfs/ |
| 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 | 1255 return proc_pid(vfs_context_proc(ctx)); in vfs_context_pid() 1293 proc_t p = vfs_context_proc(ctx); in vfs_context_issignal() 1317 proc_t proc = vfs_context_proc(ctx); in vfs_context_can_resolve_triggers() 1332 proc_t proc = vfs_context_proc(ctx); in vfs_context_can_break_leases() 1379 proc_t p = vfs_context_proc(ctx); in vfs_context_skip_mtime_update() 1416 vfs_context_proc(vfs_context_t ctx) in vfs_context_proc() function 1960 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() 1094 struct proc *p = vfs_context_proc(ctx); in mount_common() 2781 proc_t p = vfs_context_proc(ctx); in safedounmount() 2854 proc_t p = vfs_context_proc(ctx); in dounmount() 4081 proc_t p = vfs_context_proc(ctx); in vnode_getfromfd() 4663 proc_t p = vfs_context_proc(ctx); in open1() 5097 struct filedesc *fdp = &vfs_context_proc(ctx)->p_fd; in openat_dprotected_internal() 5174 struct filedesc *fdp = &vfs_context_proc(ctx)->p_fd; in openat_internal() 5238 if (csproc_get_platform_binary(vfs_context_proc(ctx))) { in vfs_context_can_open_by_id() 5990 p = vfs_context_proc(ctx); in symlinkat_internal() [all …]
|
| H A D | vfs_vnops.c | 1219 proc_t p = vfs_context_proc(ctx); in vn_write() 1767 pg = proc_pgrp(vfs_context_proc(ctx), &sessp); in vn_ioctl()
|
| H A D | vfs_attrlist.c | 2775 proc_is64 = proc_is64bit(vfs_context_proc(ctx)); in vfs_attr_pack_internal() 3104 proc_is64bit(vfs_context_proc(ctx)), options & FSOPT_ATTR_CMN_EXTENDED); in vfs_attr_pack_ext() 3170 proc_is64 = proc_is64bit(vfs_context_proc(ctx)); in getattrlist_internal() 3193 …vp, vfs_context_proc(ctx)->p_comm, alp->commonattr, alp->volattr, alp->fileattr, alp->dirattr, alp… in getattrlist_internal() 3768 &action, proc_is64bit(vfs_context_proc(ctx)), in get_error_attributes()
|
| H A D | vfs_subr.c | 9220 if (!owner_ok && proc_ignores_node_permissions(vfs_context_proc(vcp->ctx))) { in vnode_authorize_posix() 9418 if (vauth_file_owner(vcp) && proc_ignores_node_permissions(vfs_context_proc(vcp->ctx))) { in vnode_authorize_delete() 9490 if (vauth_dir_owner(vcp) && proc_ignores_node_permissions(vfs_context_proc(vcp->ctx))) { in vnode_authorize_delete() 9617 if (vauth_file_owner(vcp) && proc_ignores_node_permissions(vfs_context_proc(vcp->ctx))) { in vnode_authorize_simple() 9811 if (owner && proc_ignores_node_permissions(vfs_context_proc(vcp->ctx))) { in vnode_authorize_checkimmutable() 10130 vp, vfs_context_proc(ctx)->p_comm, in vnode_authorize_callback_int() 10550 VATTR_SET(vap, va_mode, ACCESSPERMS & ~vfs_context_proc(ctx)->p_fd.fd_cmask); in vnode_authattr_new_internal() 10552 vap->va_mode, vfs_context_proc(ctx)->p_fd.fd_cmask); in vnode_authattr_new_internal()
|
| /xnu-11215/bsd/miscfs/specfs/ |
| H A D | spec_vnops.c | 353 struct proc *p = vfs_context_proc(ap->a_context); in spec_open() 834 proc_t p = vfs_context_proc(ap->a_context); in spec_ioctl() 867 proc_t p = vfs_context_proc(ap->a_context); in spec_select() 2800 struct proc *p = vfs_context_proc(ap->a_context); in spec_close()
|
| /xnu-11215/bsd/skywalk/nexus/ |
| H A D | nexus_syscalls.c | 57 proc_t procp = vfs_context_proc(ctx); in nxop_ioctl()
|
| /xnu-11215/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-11215/bsd/skywalk/channel/ |
| H A D | channel_syscalls.c | 102 revents = ch_select(ch, events, wql, vfs_context_proc(ctx)); in chop_select()
|
| /xnu-11215/bsd/sys/ |
| H A D | vnode.h | 1500 proc_t vfs_context_proc(vfs_context_t ctx);
|