Searched refs:proc (Results 26 - 50 of 314) sorted by relevance

1234567891011>>

/darwin-on-arm/xnu/bsd/sys/
H A Dsystm.h110 #include <sys/proc.h>
159 int seltrue(dev_t dev, int which, struct proc *p);
161 void realitexpire(struct proc *);
181 void startprofclock(struct proc *);
182 void stopprofclock(struct proc *);
186 void load_init_program(struct proc *p);
H A Dkernel_types.h65 struct proc;
66 typedef struct proc * proc_t;
110 typedef struct proc * proc_t;
H A Dresourcevar.h75 struct rusage p_ru; /* stats for this proc */
130 void addupc_intr(struct proc *p, uint32_t pc, u_int ticks);
131 void addupc_task(struct proc *p, user_addr_t pc, u_int ticks);
132 void calcru(struct proc *p, struct timeval *up, struct timeval *sp,
H A Dacct.h111 int acct_process(struct proc *p);
H A Dsysent.h38 typedef int32_t sy_call_t(struct proc *, void *, int *);
H A Dev.h110 struct proc * ee_proc;
116 int waitevent_close(struct proc *p, struct fileproc *);
H A Dimgact.h72 struct proc;
H A Dtrace.h138 extern struct proc *traceproc;
H A Dsem_internal.h158 struct proc *un_proc; /* owner of this structure */
244 * Process sem_undo vectors at proc exit.
246 void semexit(struct proc *p);
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_priv.c63 #include <sys/proc.h>
H A Dkern_resource.c110 int donice(struct proc *curp, struct proc *chgp, int n);
111 int dosetrlimit(struct proc *p, u_int which, struct rlimit *limp);
113 static void do_background_socket(struct proc *p, thread_t thread, int priority);
114 static int do_background_thread(struct proc *curp, thread_t thread, int priority);
115 static int do_background_proc(struct proc *curp, struct proc *targetp, int priority);
128 __private_extern__ int maxfilesperproc = OPEN_MAX; /* per-proc open files limit */
160 getpriority(struct proc *curp, struct getpriority_args *uap, int32_t *retval)
162 struct proc *
[all...]
H A Dsubr_xxx.c181 nosys(struct proc *p, __unused struct nosys_args *args, __unused int32_t *retval)
/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Dsystrace.h56 int32_t (*stsy_underlying)(struct proc *, void *, int *);
78 extern int32_t dtrace_systrace_syscall(struct proc *, void *, int *);
/darwin-on-arm/xnu/bsd/netat/
H A Dat_pcb.h127 int atalk_getref(struct fileproc *, int , gref_t ** , struct proc *, int);
128 int atalk_getref_locked(struct fileproc *, int , gref_t ** , struct proc *, int);
H A Dddp.h193 struct proc *p);
195 struct proc *p);
197 struct proc *p);
200 struct ifnet *ifp, struct proc *p);
209 struct proc *p);
H A Dadsp_InitGlobals.c41 #include <sys/proc.h>
H A Daurp_gdata.c45 #include <sys/proc.h>
/darwin-on-arm/xnu/bsd/netinet6/
H A Dip6protosw.h115 struct proc;
171 struct mbuf *, struct mbuf *, struct proc *);
/darwin-on-arm/xnu/security/
H A Dmac_audit.c114 mac_proc_check_getauid(struct proc *curp)
131 mac_proc_check_setauid(struct proc *curp, uid_t auid)
148 mac_proc_check_getaudit(struct proc *curp)
165 mac_proc_check_setaudit(struct proc *curp, struct auditinfo_addr *ai)
349 mac_proc_check_getauid(__unused struct proc *curp)
356 mac_proc_check_setauid(__unused struct proc *curp, __unused uid_t auid)
363 mac_proc_check_getaudit(__unused struct proc *curp)
370 mac_proc_check_setaudit(__unused struct proc *curp,
H A Dmac_internal.h84 #include <sys/proc.h>
221 proc_t proc = vfs_context_proc(ctx); local
223 if (proc == NULL)
226 return (mac_proc_check_enforce(proc, enforce_flags));
231 proc_t proc = vfs_context_proc(ctx); local
233 if (proc == NULL)
236 mac_proc_set_enforce(proc, enforce_flags);
/darwin-on-arm/xnu/bsd/security/audit/
H A Daudit.c575 audit_syscall_enter(unsigned int code, proc_t proc, struct uthread *uthread) argument
608 cred = kauth_cred_proc_ref(proc);
625 if (audit_mac_syscall_enter(code, proc, uthread, cred, event) == 0)
642 suser(cred, &proc->p_acflag) != 0) {
647 uthread->uu_ar = audit_new(event, proc, uthread);
650 uthread->uu_ar = audit_new(event, proc, uthread);
667 audit_syscall_exit(unsigned int code, int error, __unused proc_t proc, argument
671 audit_syscall_exit(int error, __unsed proc_t proc, struct uthread *uthread)
706 proc_t proc; local
719 proc
778 audit_proc_coredump(proc_t proc, char *path, int errcode) argument
[all...]
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_hotfiles.h108 struct proc;
/darwin-on-arm/xnu/bsd/miscfs/devfs/
H A Ddevfs_proto.h46 int devfs_dntovn(devnode_t * dnp, struct vnode **vn_pp, struct proc * p);
/darwin-on-arm/xnu/bsd/dev/arm/
H A Dunix_syscalls.c109 struct proc *p;
119 * Get the approriate proc; may be different from task's for vfork()
125 p = (struct proc *) get_bsdtask_info(current_task());
128 * Verify that we are not being called from a task without a proc
267 struct proc *proc; local
273 proc = current_proc();
283 AUDIT_SYSCALL_EXIT(code, proc, uthread, error);
/darwin-on-arm/xnu/bsd/net/
H A Draw_usrreq.c67 #include <sys/proc.h>
203 raw_uattach(struct socket *so, int proto, __unused struct proc *p)
215 raw_ubind(__unused struct socket *so, __unused struct sockaddr *nam, __unused struct proc *p)
221 raw_uconnect(__unused struct socket *so, __unused struct sockaddr *nam, __unused struct proc *p)
283 struct sockaddr *nam, struct mbuf *control, __unused struct proc *p)

Completed in 89 milliseconds

1234567891011>>