/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | dtrace_ptss.h | 87 struct dtrace_ptss_page_entry* dtrace_ptss_claim_entry(struct proc* p); /* sprlock not held */ 88 struct dtrace_ptss_page_entry* dtrace_ptss_claim_entry_locked(struct proc* p); /* sprlock held */ 89 void dtrace_ptss_release_entry(struct proc* p, struct dtrace_ptss_page_entry* e); 91 struct dtrace_ptss_page* dtrace_ptss_allocate_page(struct proc* p); 92 void dtrace_ptss_free_page(struct proc* p, struct dtrace_ptss_page* ptss_page); 94 void dtrace_ptss_enable(struct proc* p); 95 void dtrace_ptss_exec_exit(struct proc* p); 96 void dtrace_ptss_fork(struct proc* parent, struct proc* child);
|
H A D | eventvar.h | 73 struct proc *kq_p; /* process containing kqueue */ 81 extern struct kqueue *kqueue_alloc(struct proc *); 87 extern int kevent_register(struct kqueue *, struct kevent *, struct proc *); 89 void *, struct timeval *, struct proc *);
|
H A D | shm_internal.h | 131 struct proc; 135 void shmexit(struct proc *); 136 int shmfork(struct proc *, struct proc *); 137 __private_extern__ void shmexec(struct proc *);
|
H A D | signalvar.h | 194 int coredump(struct proc *p); 195 void execsigs(struct proc *p, thread_t thread); 197 int issignal(struct proc *p); 198 int CURSIG(struct proc *p); 199 int clear_procsiglist(struct proc *p, int bit); 200 int clear_procsigmask(struct proc *p, int bit); 201 int set_procsigmask(struct proc *p, int bit); 203 void siginit(struct proc *p) __attribute__((section("__TEXT, initcode"))); 204 void trapsignal(struct proc *p, int sig, unsigned code); 205 void pt_setrunnable(struct proc * [all...] |
H A D | proc_internal.h | 79 #include <sys/proc.h> 108 LIST_HEAD(, proc) lc_members; /* Pointer to lc members. */ 121 struct proc * s_leader; /* Session leader.(static) */ 151 LIST_HEAD(, proc) pg_members; /* Pointer to pgrp members. (PGL) */ 168 struct proc; 170 #define PROC_NULL (struct proc *)0 183 struct proc { struct 184 LIST_ENTRY(proc) p_list; /* List of all processes. */ 188 struct proc * p_pptr; /* Pointer to parent process.(LL) */ 192 lck_mtx_t p_mlock; /* mutex lock for proc */ [all...] |
H A D | aio_kern.h | 46 struct proc *procp; /* user proc that queued this request */ 80 _aio_close(struct proc *p, int fd); 83 _aio_exit(struct proc *p); 86 _aio_exec(struct proc *p);
|
H A D | sysproto.h | 1699 int nosys(struct proc *, struct nosys_args *, int *); 1700 void exit(struct proc *, struct exit_args *, int *); 1701 int fork(struct proc *, struct fork_args *, int *); 1702 int read(struct proc *, struct read_args *, user_ssize_t *); 1703 int write(struct proc *, struct write_args *, user_ssize_t *); 1704 int open(struct proc *, struct open_args *, int *); 1705 int close(struct proc *, struct close_args *, int *); 1706 int wait4(struct proc *, struct wait4_args *, int *); 1707 int link(struct proc *, struct link_args *, int *); 1708 int unlink(struct proc *, struc [all...] |
H A D | file_internal.h | 78 struct proc; 150 #define FOF_PCRED 0x00000002 /* cred from proc, not current thread */ 190 int fp_drop(struct proc *p, int fd, struct fileproc *fp, int locked); 193 int fp_free(struct proc * p, int fd, struct fileproc * fp); 195 int fp_getfkq(struct proc *p, int fd, struct fileproc **resultfp, struct kqueue **resultkq); 197 int fp_getfpsem(struct proc *p, int fd, struct fileproc **resultfp, struct psemnode **resultpsem); 199 int fp_getfpshm(struct proc *p, int fd, struct fileproc **resultfp, struct pshmnode **resultpshm); 201 int fp_getfpipe(struct proc *p, int fd, struct fileproc **resultfp, struct pipe **resultpipe); 203 int fp_getfatalk(struct proc *p, int fd, struct fileproc **resultfp, struct atalk **resultatalk); 205 int fp_getfvp(struct proc * [all...] |
H A D | posix_sem.h | 50 #include <sys/proc.h> 64 struct proc * sem_proc;
|
H A D | posix_shm.h | 49 #include <sys/proc.h> 67 struct proc * pshm_proc;
|
H A D | tprintf.h | 75 tpr_t tprintf_open(struct proc *);
|
H A D | protosw.h | 79 struct proc; 252 int (*pru_attach)(struct socket *so, int proto, struct proc *p); 254 struct proc *p); 256 struct proc *p); 259 struct ifnet *ifp, struct proc *p); 262 int (*pru_listen)(struct socket *so, struct proc *p); 268 struct proc *p); 300 struct proc *p); 302 struct proc *p); 304 struct proc * [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | sys_dep.c | 79 int ATsocket(proc, uap, retval) 80 struct proc *proc; 92 *retval = _ATsocket((int)uap->proto, (int *)&err, (void *)proc); 102 int ATgetmsg(proc, uap, retval) 103 struct proc *proc; 118 uap->flags, &err, proc); 128 int ATputmsg(proc, uap, retval) 129 struct proc *pro [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/ |
H A D | cons.h | 63 int consopen(dev_t, int, int, struct proc *); 64 int consclose(dev_t, int, int, struct proc *); 67 int consioctl(dev_t, u_long, caddr_t, int, struct proc *); 68 int consselect(dev_t, int, void *, struct proc *); 79 int kmopen(dev_t, int, int, struct proc *); 80 int kmclose(dev_t, int, int, struct proc *); 83 int kmioctl(dev_t, u_long, caddr_t, int, struct proc *);
|
H A D | systemcalls.c | 60 extern int32_t dtrace_systrace_syscall(struct proc *, void *, int *); 85 struct proc *proc; local 110 proc = (struct proc *)get_bsdtask_info(current_task()); 112 proc = current_proc(); 115 if (proc == NULL) { 128 kauth_cred_uthread_update(uthread, proc); 136 if (IS_64BIT_PROCESS(proc)) { 186 AUDIT_SYSCALL_ENTER(code, proc, uthrea 292 struct proc *proc; local [all...] |
H A D | nvram.c | 38 extern int PEnvopen ( dev_t, int, int, struct proc * ); 39 extern int PEnvclose ( dev_t, int, int, struct proc * ); 47 struct proc *pp; 57 struct proc *pp;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/random/ |
H A D | randomdev.h | 40 int random_open(dev_t dev, int flags, int devtype, struct proc *pp); 41 int random_close(dev_t dev, int flags, int mode, struct proc *pp);
|
/macosx-10.5.8/xnu-1228.15.4/security/ |
H A D | mac_process.c | 71 #include <sys/proc.h> 106 mac_cred_label_externalize_audit(struct proc *p, struct mac *mac) 156 mac_cred_label_associate_fork(kauth_cred_t cred, proc_t proc) argument 158 MAC_PERFORM(cred_label_associate_fork, cred, proc); 296 mac_proc_check_debug(proc_t curp, struct proc *proc) argument 308 MAC_CHECK(proc_check_debug, cred, proc); 332 mac_proc_check_get_task_name(struct ucred *cred, struct proc *p) 342 mac_proc_check_get_task(struct ucred *cred, struct proc *p) 352 mac_proc_check_mprotect(proc_t proc, argument 370 mac_proc_check_map_prot_copy_allow(proc_t proc) argument 385 mac_proc_check_sched(proc_t curp, struct proc *proc) argument 404 mac_proc_check_signal(proc_t curp, struct proc *proc, int signum) argument 423 mac_proc_check_wait(proc_t curp, struct proc *proc) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | hfs_quota.h | 80 struct proc; 94 int hfs_quotaoff(struct proc *, struct mount *, int); 95 int hfs_quotaon(struct proc *, struct mount *, int, caddr_t);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | cpu.c | 184 processor_t proc; local 189 ret = kmem_alloc(kernel_map, (vm_offset_t *) &proc, sizeof(*proc)); 193 bzero((void *) proc, sizeof(*proc)); 194 return proc; 198 cpu_processor_free(processor_t proc) argument 200 if (proc != NULL && proc != &processor_master) 201 kfree((void *) proc, sizeo [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | in_dhcp.h | 47 struct proc * procp);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | in6_pcb.h | 79 int in6_pcballoc(struct socket *, struct inpcbinfo *, struct proc *); 80 int in6_pcbbind(struct inpcb *, struct sockaddr *, struct proc *); 81 int in6_pcbconnect(struct inpcb *, struct sockaddr *, struct proc *); 112 int in6_pcbsetport(struct in6_addr *, struct inpcb *, struct proc *, int);
|
H A D | udp6_var.h | 78 struct proc *p);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/bsm/ |
H A D | audit_kernel.h | 281 struct proc; 293 struct kaudit_record *audit_new(int event, struct proc *p, 297 struct proc *proc, struct uthread *uthread); 304 struct proc *proc, struct uthread *uthread); 306 void audit_syscall_exit(int error, struct proc *proc, 357 void audit_arg_process(struct proc *p); 378 void audit_arg_file(struct proc * [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/machine/ |
H A D | exec.h | 51 int set_archhandler(struct proc *, int);
|