/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs.h | 689 extern int hfs_relocate(struct vnode *, u_int32_t, kauth_cred_t, struct proc *); 700 extern int hfs_fsync(struct vnode *, int, int, struct proc *); 702 extern int hfs_access(struct vnode *, mode_t, kauth_cred_t, struct proc *); 751 struct proc *p); 753 off_t embeddedOffset, u_int64_t disksize, struct proc *p, void *args, kauth_cred_t cred); 755 extern int hfsUnmount(struct hfsmount *hfsmp, struct proc *p); 760 struct proc *p, int invokesuperuserstatus); 824 int hfs_write_access(struct vnode *vp, kauth_cred_t cred, struct proc *p, Boolean considerFlags); 826 int hfs_chmod(struct vnode *vp, int mode, kauth_cred_t cred, struct proc *p); 828 int hfs_chown(struct vnode *vp, uid_t uid, gid_t gid, kauth_cred_t cred, struct proc * [all...] |
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kdebug.c | 731 struct proc *curproc; 788 * If kdebug flag is not set for current proc, return 799 * If kdebug flag is set for current proc, return 954 kdebug_trace(__unused struct proc *p, struct kdebug_trace_args *uap, __unused int32_t *retval) 1041 kdbg_trace_data(struct proc *proc, long *arg_pid) argument 1043 if (!proc) 1046 *arg_pid = proc->p_pid; 1051 kdbg_trace_string(struct proc *proc, lon argument 2333 getProcName(struct proc *proc) argument 2535 proc_t proc; local [all...] |
H A D | sysv_shm.c | 122 static int shmget_allocate_segment(struct proc *p, struct shmget_args *uap, int mode, int * retval); 164 static int shm_delete_mapping(struct proc *, struct shmmap_state *, int); 285 shm_delete_mapping(__unused struct proc *p, struct shmmap_state *shmmap_s, 311 shmdt(struct proc *p, struct shmdt_args *uap, int32_t *retval) 362 shmat(struct proc *p, struct shmat_args *uap, user_addr_t *retval) 543 shmctl(__unused struct proc *p, struct shmctl_args *uap, int32_t *retval) 700 shmget_allocate_segment(struct proc *p, struct shmget_args *uap, int mode, 827 shmget(struct proc *p, struct shmget_args *uap, int32_t *retval) 886 shmsys(struct proc *p, struct shmsys_args *uap, int32_t *retval) 900 shmfork(struct proc *p [all...] |
H A D | mach_process.c | 116 ptrace(struct proc *p, struct ptrace_args *uap, int32_t *retval) 118 struct proc *t = current_proc(); /* target process */ 166 struct proc *pproc=proc_find(p->p_oppid); 288 /* proc lock is held here */ 293 struct proc *pp;
|
H A D | subr_log.c | 145 logopen(__unused dev_t dev, __unused int flags, __unused int mode, struct proc *p) 162 logclose(__unused dev_t dev, __unused int flag, __unused int devtype, __unused struct proc *p) 234 logselect(__unused dev_t dev, int rw, void * wql, struct proc *p) 293 logioctl(__unused dev_t dev, u_long com, caddr_t data, __unused int flag, __unused struct proc *p)
|
H A D | tty_conf.c | 167 __unused int flags, __unused struct proc *p)
|
H A D | kern_event.c | 137 static int kevent_internal(struct proc *p, int iskev64, user_addr_t changelist, 140 static int kevent_copyin(user_addr_t *addrp, struct kevent64_s *kevp, struct proc *p, int iskev64); 141 static int kevent_copyout(struct kevent64_s *kevp, user_addr_t *addrp, struct proc *p, int iskev64); 148 void *data, int *countp, struct proc *p); 152 void *data, struct kqtailq *inprocessp, struct proc *p); 154 static int knote_fdpattach(struct knote *kn, struct filedesc *fdp, struct proc *p); 155 static void knote_drop(struct knote *kn, struct proc *p); 473 struct proc *p; 505 kn->kn_ptr.p_proc = p; /* store the proc handle */ 524 struct proc * [all...] |
H A D | kern_time.c | 116 __unused struct proc *p, 148 settimeofday(__unused struct proc *p, struct settimeofday_args *uap, __unused int32_t *retval) 209 adjtime(struct proc *p, struct adjtime_args *uap, __unused int32_t *retval) 320 getitimer(struct proc *p, struct getitimer_args *uap, __unused int32_t *retval) 391 setitimer(struct proc *p, struct setitimer_args *uap, int32_t *retval) 484 struct proc *p) 486 struct proc *r;
|
H A D | kern_lockf.c | 68 #include <sys/proc.h> 490 struct proc *wproc, *bproc; 496 wproc = (struct proc *)block->lf_id; 539 bproc = (struct proc *)waitblock->lf_id; 540 if (bproc == (struct proc *)lock->lf_id) { 890 fl->l_pid = proc_pid((struct proc *)(block->lf_id)); 931 proc_pid((struct proc *)(overlap->lf_id)) != matchpid) 1234 printf("proc %ld", (long)((struct proc *)lock->lf_id)->p_pid); 1282 printf("proc [all...] |
/darwin-on-arm/xnu/bsd/dev/ |
H A D | memdev.c | 82 #include <sys/proc.h> 108 static int mdevbioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p); 109 static int mdevcioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p); 177 static int mdevioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p, int is_char); 183 __unused int devtype, __unused struct proc *p) { 188 static int mdevopen(dev_t dev, int flags, __unused int devtype, __unused struct proc *p) { 343 static int mdevbioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p) { 347 static int mdevcioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p) { 352 struct proc *p, int is_char) {
|
/darwin-on-arm/xnu/osfmk/chud/ |
H A D | chud_thread.c | 70 processor_t proc = NULL; local 79 proc = cpu_to_processor(cpu); 85 if(proc && !(proc->state == PROCESSOR_OFF_LINE) && 86 !(proc->state == PROCESSOR_SHUTDOWN)) { 88 thread_bind(proc);
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | if_pppvar.h | 94 void (*sc_start)(struct ppp_softc *); /* start output proc */ 140 int flag, struct proc *p);
|
/darwin-on-arm/xnu/bsd/netat/ |
H A D | adsp_CLDeny.c | 41 #include <sys/proc.h>
|
H A D | adsp_Init.c | 45 #include <sys/proc.h>
|
H A D | adsp_Options.c | 41 #include <sys/proc.h>
|
H A D | adsp_Status.c | 42 #include <sys/proc.h>
|
H A D | adsp_TimerElem.c | 42 #include <sys/proc.h>
|
H A D | adsp_attention.c | 46 #include <sys/proc.h>
|
H A D | aurp_rd.c | 45 #include <sys/proc.h>
|
H A D | ddp_aep.c | 42 #include <sys/proc.h>
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | event.h | 67 #define EVFILT_PROC (-5) /* attached to struct proc */ 68 #define EVFILT_SIGNAL (-6) /* attached to struct proc */ 237 * that hangs off the proc structure. They also both play games with the hint 364 struct proc *p_proc; /* proc pointer */ 408 struct proc; 425 extern void knote_fdclose(struct proc *p, int fd);
|
H A D | proc.h | 66 * @(#)proc.h 8.15 (Berkeley) 5/19/95 88 struct proc; 94 struct proc *__p_forw; /* Doubly-linked run/sleep queue. */ 95 struct proc *__p_back; 166 #define P_SYSTEM 0x00000200 /* Sys proc: no sigs, stats or swap */ 196 #define P_RESV11 0x08000000 /* (P_INVFORK) proc in vfork */ 198 #define P_NOSHLIB 0x10000000 /* no shared libs are in use for proc */ 234 /* proc kpis */
|
H A D | sysctl.h | 88 #include <sys/proc.h> 193 struct proc *p; 392 #define CTL_KERN 1 /* "high kernel": proc, limits */ 446 #define KERN_MAXFILESPERPROC 29 /* int: max open files per proc */ 474 #define KERN_PROCDELAYTERM 53 /* int: set/reset current proc for delayed termination during shutdown */ 572 { "proc", CTLTYPE_STRUCT }, \ 660 * KERN_PROC subtype ops return arrays of augmented proc structures: 681 struct extern_proc kp_proc; /* proc structure */ 683 struct proc *e_paddr; /* address of proc */ [all...] |
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | tcp_usrreq.c | 119 static int tcp_attach(struct socket *, struct proc *); 120 static int tcp_connect(struct tcpcb *, struct sockaddr *, struct proc *); 122 static int tcp6_connect(struct tcpcb *, struct sockaddr *, struct proc *); 178 tcp_usr_attach(struct socket *so, __unused int proto, struct proc *p) 264 tcp_usr_bind(struct socket *so, struct sockaddr *nam, struct proc *p) 297 tcp6_usr_bind(struct socket *so, struct sockaddr *nam, struct proc *p) 357 tcp_usr_listen(struct socket *so, struct proc *p) 373 tcp6_usr_listen(struct socket *so, struct proc *p) 400 tcp_usr_connect(struct socket *so, struct sockaddr *nam, struct proc *p) 446 tcp6_usr_connect(struct socket *so, struct sockaddr *nam, struct proc * [all...] |
/darwin-on-arm/xnu/bsd/dev/i386/ |
H A D | systemcalls.c | 61 extern int32_t dtrace_systrace_syscall(struct proc *, void *, int *); 101 struct proc *p; 116 /* Get the approriate proc; may be different from task's for vfork() */ 121 p = (struct proc *)get_bsdtask_info(current_task()); 123 /* Verify that we are not being called from a task without a proc */ 283 struct proc *p; 296 /* Get the approriate proc; may be different from task's for vfork() */ 298 p = (struct proc *)get_bsdtask_info(current_task()); 302 /* Verify that we are not being called from a task without a proc */ 475 struct proc * [all...] |