/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_audit.c | 486 proc_t audit_p; 803 audit(proc_t p, struct audit_args *uap, __unused register_t *retval) 884 auditon(proc_t p, struct auditon_args *uap, __unused register_t *retval) 889 proc_t tp = PROC_NULL; 1160 getauid(__unused proc_t p, struct getauid_args *uap, __unused register_t *retval) 1180 setauid(proc_t p, struct setauid_args *uap, __unused register_t *retval) 1259 getaudit(proc_t p, struct getaudit_args *uap, __unused register_t *retval) 1288 setaudit(proc_t p, struct setaudit_args *uap, __unused register_t *retval) 1362 getaudit_addr(__unused proc_t p, __unused struct getaudit_addr_args *uap, __unused register_t *retval) 1369 setaudit_addr(proc_t [all...] |
H A D | kern_aio.c | 152 static int aio_active_requests_for_process(proc_t procp ); 156 static int aio_get_process_count(proc_t procp ); 160 static int aio_queue_async_request(proc_t procp, 165 static int do_aio_cancel(proc_t p, 175 static boolean_t is_already_queued(proc_t procp, 177 static int lio_create_async_entry(proc_t procp, 182 static int lio_create_sync_entry(proc_t procp, 230 aio_cancel(proc_t p, struct aio_cancel_args *uap, int *retval ) 299 _aio_close(proc_t p, int fd ) 347 aio_error(proc_t [all...] |
H A D | uipc_usrreq.c | 130 static int unp_bind(struct unpcb *, struct sockaddr *, proc_t); 131 static int unp_connect(struct socket *, struct sockaddr *, proc_t); 139 static void unp_discard_fdlocked(struct fileglob *, proc_t); 140 static int unp_internalize(struct mbuf *, proc_t); 141 static int unp_listen(struct unpcb *, proc_t); 144 extern int fdgetf_noref(proc_t, int, struct fileproc **); 187 uipc_attach(struct socket *so, __unused int proto, __unused proc_t p) 197 uipc_bind(struct socket *so, struct sockaddr *nam, proc_t p) 213 uipc_connect(struct socket *so, struct sockaddr *nam, proc_t p) 269 uipc_listen(struct socket *so, __unused proc_t [all...] |
H A D | kern_exec.c | 137 extern void (*dtrace_fasttrap_exec_ptr)(proc_t); 138 extern void (*dtrace_helpers_cleanup)(proc_t); 139 extern void dtrace_lazy_dofs_destroy(proc_t); 145 thread_t fork_create_child(task_t parent_task, proc_t child_proc, int inherit_memory, int is64bit); 146 void vfork_exit(proc_t p, int rv); 147 int setsigvec(proc_t, int, struct __user_sigaction *); 214 int customstack, proc_t p); 216 static void exec_resettextvp(proc_t, struct image_params *); 444 proc_t p; 592 proc_t [all...] |
H A D | kern_resource.c | 133 proc_t curp; 139 static int puser_donice_callback(proc_t p, void * arg); 144 proc_t curp; 149 static int ppgrp_donice_callback(proc_t p, void * arg); 249 puser_donice_callback(proc_t p, void * arg) 272 ppgrp_donice_callback(proc_t p, void * arg) 944 proc_limitget(proc_t p, int which, struct rlimit * limp) 954 proc_limitdrop(proc_t p, int exiting) 979 proc_limitfork(proc_t parent, proc_t chil [all...] |
H A D | posix_sem.c | 104 proc_t sem_proc; 351 sem_open(proc_t p, struct sem_open_args *uap, user_addr_t *retval) 641 sem_unlink(__unused proc_t p, struct sem_unlink_args *uap, __unused register_t *retval) 757 sem_close(proc_t p, struct sem_close_args *uap, __unused register_t *retval) 780 sem_wait(proc_t p, struct sem_wait_args *uap, register_t *retval) 787 sem_wait_nocancel(proc_t p, struct sem_wait_nocancel_args *uap, __unused register_t *retval) 847 sem_trywait(proc_t p, struct sem_trywait_args *uap, __unused register_t *retval) 912 sem_post(proc_t p, struct sem_post_args *uap, __unused register_t *retval) 971 sem_init(__unused proc_t p, __unused struct sem_init_args *uap, __unused register_t *retval) 977 sem_destroy(__unused proc_t [all...] |
H A D | bsd_init.c | 184 proc_t kernproc; 185 proc_t initproc; 257 static void process_name(const char *, proc_t); 302 process_name(const char *s, proc_t p) 317 extern thread_t cloneproc(proc_t, int); 348 proc_t p; 887 proc_t p = current_proc();
|
H A D | pthread_synch.c | 132 static void workqueue_run_nextitem(proc_t p, thread_t th); 133 static void wq_runitem(proc_t p, user_addr_t item, thread_t th, struct threadlist *tl, 135 static int setup_wqthread(proc_t p, thread_t th, user_addr_t item, int reuse_thread, struct threadlist *tl); 138 static void workqueue_lock(proc_t); 139 static void workqueue_lock_spin(proc_t); 140 static void workqueue_unlock(proc_t); 1069 workqueue_init_lock(proc_t p) 1075 workqueue_destroy_lock(proc_t p) 1081 workqueue_lock(proc_t p) 1087 workqueue_lock_spin(proc_t [all...] |
H A D | kern_acct.c | 147 acct(proc_t p, struct acct_args *uap, __unused int *retval) 220 acct_process(proc_t p)
|
H A D | posix_shm.c | 108 proc_t pshm_proc; 179 int pshm_access(struct pshminfo *pinfo, int mode, kauth_cred_t cred, proc_t p); 358 shm_open(proc_t p, struct shm_open_args *uap, register_t *retval) 623 pshm_truncate(__unused proc_t p, struct fileproc *fp, __unused int fd, 745 pshm_access(struct pshminfo *pinfo, int mode, kauth_cred_t cred, __unused proc_t p) 783 pshm_mmap(__unused proc_t p, struct mmap_args *uap, user_addr_t *retval, struct fileproc *fp, off_t pageoff) 901 shm_unlink(__unused proc_t p, struct shm_unlink_args *uap,
|
H A D | sys_socket.c | 157 proc_t procp; 365 proc_t procp = vfs_context_proc(ctx); 385 proc_t procp;
|
H A D | tty.c | 127 static int proc_compare(proc_t p1, proc_t p2); 129 static int isctty(proc_t p, struct tty *tp); 130 static int isctty_sp(proc_t p, struct tty *tp, struct session *sessp); 258 proc_t p = current_proc(); 825 proc_t p) 1241 ttyselect(struct tty *tp, int rw, void *wql, proc_t p) 1269 ttselect(dev_t dev, int rw, void *wql, proc_t p) 1591 proc_t p = current_proc(); 1914 proc_t [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_syscalls.c | 138 static int checkdirs_callback(proc_t p, void * arg); 182 int fstatv(proc_t p, struct fstatv_args *uap, register_t *retval); 183 int lstatv(proc_t p, struct lstatv_args *uap, register_t *retval); 184 int mkcomplex(proc_t p, struct mkcomplex_args *uap, register_t *retval); 185 int statv(proc_t p, struct statv_args *uap, register_t *retval); 212 mount(proc_t p, struct mount_args *uap, __unused register_t *retval) 827 checkdirs_callback(proc_t p, void * arg) 933 unmount(__unused proc_t p, struct unmount_args *uap, __unused register_t *retval) 994 proc_t p = vfs_context_proc(ctx); 1264 sync(__unused proc_t [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/chud/ |
H A D | chud_bsd_callback.c | 35 #include <sys/proc.h> /* proc_t */ 94 chud(__unused proc_t p, struct chud_args *uap, register_t *retval)
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | select.h | 163 void selrecord(proc_t selector, struct selinfo *, void *);
|
H A D | file_internal.h | 189 void fileproc_drain(proc_t, struct fileproc *); 191 int fp_drop_written(proc_t p, int fd, struct fileproc *fp); 192 int fp_drop_event(proc_t p, int fd, struct fileproc *fp);
|
H A D | dtrace.h | 127 #define proc_t struct proc macro 2298 extern void (*dtrace_fasttrap_fork_ptr)(proc_t *, proc_t *); 2299 extern void (*dtrace_fasttrap_exec_ptr)(proc_t *); 2300 extern void (*dtrace_fasttrap_exit_ptr)(proc_t *); 2301 extern void dtrace_fasttrap_fork(proc_t *, proc_t *); 2315 extern void (*dtrace_helpers_cleanup)(proc_t*); 2316 extern void (*dtrace_helpers_fork)(proc_t *parent, proc_t *chil 2355 #undef proc_t macro [all...] |
H A D | buf_internal.h | 118 proc_t b_proc; /* Associated proc; NULL if kernel. */
|
H A D | kauth.h | 192 extern kauth_cred_t kauth_cred_proc_ref(proc_t procp); 207 extern void kauth_cred_uthread_update(struct uthread *, proc_t); 266 extern int cantrace(proc_t cur_procp, kauth_cred_t creds, proc_t traced_procp, int *errp);
|
/macosx-10.5.8/xnu-1228.15.4/security/ |
H A D | mac_internal.h | 215 static int mac_proc_check_enforce(proc_t p, int enforce_flag); 217 static __inline__ int mac_proc_check_enforce(proc_t p, int enforce_flags) 231 proc_t proc = vfs_context_proc(ctx); 241 proc_t proc = vfs_context_proc(ctx);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/synthfs/ |
H A D | synthfs.h | 226 void synthfs_setupuio (struct iovec *iov, struct uio *uio, void *buffer, size_t bufsize, enum uio_seg space, enum uio_rw direction, proc_t p); 227 int synthfs_new_directory (mount_t mp, vnode_t dp, const char *name, unsigned long nodeid, mode_t mode, proc_t p, vnode_t *vpp); 228 int synthfs_new_symlink (mount_t mp, vnode_t dp, const char *name, unsigned long nodeid, char *targetstring, proc_t p, vnode_t *vpp);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/ |
H A D | fasttrap_isa.c | 81 #define proc_t struct proc macro 197 fasttrap_tracepoint_init(proc_t *p, fasttrap_tracepoint_t *tp, user_addr_t pc, 298 fasttrap_tracepoint_install(proc_t *p, fasttrap_tracepoint_t *tp) 306 fasttrap_tracepoint_remove(proc_t *p, fasttrap_tracepoint_t *tp) 408 proc_t *p = current_proc(); 623 proc_t *p = current_proc();
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/ |
H A D | fasttrap.c | 54 #define proc_t struct proc macro 174 static int fasttrap_tracepoint_enable(proc_t *, fasttrap_probe_t *, uint_t); 175 static void fasttrap_tracepoint_disable(proc_t *, fasttrap_probe_t *, uint_t); 276 fasttrap_sigtrap(proc_t *p, uthread_t t, user_addr_t pc) 458 fasttrap_fork(proc_t *p, proc_t *cp) 521 fasttrap_exec_exit(proc_t *p) 578 fasttrap_tracepoint_enable(proc_t *p, fasttrap_probe_t *probe, uint_t index) 745 fasttrap_tracepoint_disable(proc_t *p, fasttrap_probe_t *probe, uint_t index) 973 proc_t * [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/vn/ |
H A D | vn.c | 210 proc_t p); 216 proc_t p); 225 __unused int devtype, __unused proc_t p) 231 vnopen(dev_t dev, int flags, __unused int devtype, __unused proc_t p) 497 proc_t p; 574 proc_t p; 873 __unused int flag, proc_t p, 1090 vnioctl_chr(dev_t dev, u_long cmd, caddr_t data, int flag, proc_t p) 1096 vnioctl_blk(dev_t dev, u_long cmd, caddr_t data, int flag, proc_t p) 1113 proc_t [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/fdesc/ |
H A D | fdesc_vfsops.c | 184 proc_t p = vfs_context_proc(context); 241 proc_t p = vfs_context_proc(context);
|