Searched refs:proc (Results 1 - 25 of 314) sorted by relevance

1234567891011>>

/darwin-on-arm/xnu/bsd/sys/
H A Ddtrace_ptss.h87 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 Dsignalvar.h194 int coredump(struct proc *p);
195 void execsigs(struct proc *p, thread_t thread);
197 int issignal_locked(struct proc *p);
198 int CURSIG(struct proc *p);
199 int clear_procsiglist(struct proc *p, int bit, int in_signalstart);
200 int set_procsigmask(struct proc *p, int bit);
202 void siginit(struct proc *p) __attribute__((section("__TEXT, initcode")));
203 void trapsignal(struct proc *p, int sig, unsigned code);
204 void pt_setrunnable(struct proc *p);
210 void sendsig(struct proc *, /*sig_
[all...]
H A Daio_kern.h46 TAILQ_ENTRY( aio_workq_entry ) aio_proc_link; /* Proteced by proc's aio lock */
52 struct proc *procp; /* user proc that queued this request */
91 _aio_close(struct proc *p, int fd);
94 _aio_exit(struct proc *p);
97 _aio_exec(struct proc *p);
H A Deventvar.h74 struct proc *kq_p; /* process containing kqueue */
84 extern struct kqueue *kqueue_alloc(struct proc *);
90 extern int kevent_register(struct kqueue *, struct kevent64_s *, struct proc *);
92 void *, struct timeval *, struct proc *);
H A Dproc_internal.h79 #include <sys/proc.h>
111 LIST_HEAD(, proc) lc_members; /* Pointer to lc members. */
124 struct proc * s_leader; /* Session leader.(static) */
166 LIST_HEAD(, proc) pg_members; /* Pointer to pgrp members. (PGL) */
183 struct proc;
185 #define PROC_NULL (struct proc *)0
206 struct proc { struct
207 LIST_ENTRY(proc) p_list; /* List of all processes. */
211 struct proc * p_pptr; /* Pointer to parent process.(LL) */
222 lck_mtx_t p_mlock; /* mutex lock for proc */
[all...]
H A Dshm_internal.h139 struct proc;
143 void shmexit(struct proc *);
144 int shmfork(struct proc *, struct proc *);
145 __private_extern__ void shmexec(struct proc *);
H A Dfile_internal.h78 struct proc;
154 #define FOF_PCRED 0x00000002 /* cred from proc, not current thread */
191 int fp_drop(struct proc *p, int fd, struct fileproc *fp, int locked);
194 int fp_free(struct proc * p, int fd, struct fileproc * fp);
196 int fp_getfkq(struct proc *p, int fd, struct fileproc **resultfp, struct kqueue **resultkq);
198 int fp_getfpsem(struct proc *p, int fd, struct fileproc **resultfp, struct psemnode **resultpsem);
200 int fp_getfpshm(struct proc *p, int fd, struct fileproc **resultfp, struct pshmnode **resultpshm);
202 int fp_getfpipe(struct proc *p, int fd, struct fileproc **resultfp, struct pipe **resultpipe);
204 int fp_getfatalk(struct proc *p, int fd, struct fileproc **resultfp, struct atalk **resultatalk);
206 int fp_getfvp(struct proc *
[all...]
H A Dposix_sem.h50 #include <sys/proc.h>
64 struct proc * sem_proc;
H A Dposix_shm.h49 #include <sys/proc.h>
67 struct proc * pshm_proc;
H A Dtprintf.h75 tpr_t tprintf_open(struct proc *);
H A Dprotosw.h84 struct proc;
263 int (*pru_attach)(struct socket *so, int proto, struct proc *p);
265 struct proc *p);
267 struct proc *p);
270 struct ifnet *ifp, struct proc *p);
273 int (*pru_listen)(struct socket *so, struct proc *p);
279 struct proc *p);
311 struct proc *p);
313 struct proc *p);
315 struct proc *
[all...]
/darwin-on-arm/xnu/bsd/netat/
H A Dsys_dep.c79 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...]
/darwin-on-arm/xnu/bsd/machine/
H A Dcons.h63 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 *);
75 int kmopen(dev_t, int, int, struct proc *);
76 int kmclose(dev_t, int, int, struct proc *);
79 int kmioctl(dev_t, u_long, caddr_t, int, struct proc *);
/darwin-on-arm/xnu/bsd/dev/random/
H A Drandomdev.h51 int random_open(dev_t dev, int flags, int devtype, struct proc *pp);
52 int random_close(dev_t dev, int flags, int mode, struct proc *pp);
/darwin-on-arm/xnu/bsd/kern/
H A Dprocess_policy.c77 static int handle_background(int scope, int action, int policy, int policy_subtype, user_addr_t attrp, proc_t proc, uint64_t target_threadid);
78 static int handle_hwaccess(int scope, int action, int policy, int policy_subtype, user_addr_t attrp, proc_t proc, uint64_t target_threadid);
79 static int handle_lowresrouce(int scope, int action, int policy, int policy_subtype, user_addr_t attrp, proc_t proc, uint64_t target_threadid);
80 static int handle_resourceuse(int scope, int action, int policy, int policy_subtype, user_addr_t attrp, proc_t proc, uint64_t target_threadid);
81 static int handle_apptype(int scope, int action, int policy, int policy_subtype, user_addr_t attrp, proc_t proc, uint64_t target_threadid);
87 static int handle_applifecycle(int scope, int action, int policy, int policy_subtype, user_addr_t attrp, proc_t proc, uint64_t target_threadid);
103 process_policy(__unused struct proc *p, struct process_policy_args * uap, __unused int32_t *retval)
201 handle_background(int scope, int action, __unused int policy, __unused int policy_subtype, user_addr_t attrp, proc_t proc, uint64_t target_threadid) argument
209 intval = proc_get_task_bg_policy(proc->task);
212 intval = proc_get_thread_bg_policy(proc
300 handle_hwaccess(__unused int scope, __unused int action, __unused int policy, int policy_subtype, __unused user_addr_t attrp, __unused proc_t proc, __unused uint64_t target_threadid) argument
316 handle_lowresrouce(__unused int scope, int action, __unused int policy, int policy_subtype, __unused user_addr_t attrp, proc_t proc, __unused uint64_t target_threadid) argument
338 handle_resourceuse(__unused int scope, __unused int action, __unused int policy, int policy_subtype, user_addr_t attrp, proc_t proc, __unused uint64_t target_threadid) argument
395 handle_applifecycle(__unused int scope, int action, __unused int policy, int policy_subtype, user_addr_t attrp, proc_t proc, uint64_t target_threadid) argument
[all...]
/darwin-on-arm/xnu/security/
H A Dmac_process.c71 #include <sys/proc.h>
114 mac_cred_label_externalize_audit(struct proc *p, struct mac *mac)
164 mac_cred_label_associate_fork(kauth_cred_t cred, proc_t proc) argument
166 MAC_PERFORM(cred_label_associate_fork, cred, proc);
311 mac_proc_check_debug(proc_t curp, struct proc *proc) argument
323 MAC_CHECK(proc_check_debug, cred, proc);
347 mac_proc_check_get_task_name(struct ucred *cred, struct proc *p)
357 mac_proc_check_get_task(struct ucred *cred, struct proc *p)
372 mac_proc_check_map_anon(proc_t proc, user_addr_ argument
390 mac_proc_check_mprotect(proc_t proc, user_addr_t addr, user_size_t size, int prot) argument
408 mac_proc_check_run_cs_invalid(proc_t proc) argument
420 mac_proc_check_sched(proc_t curp, struct proc *proc) argument
439 mac_proc_check_signal(proc_t curp, struct proc *proc, int signum) argument
458 mac_proc_check_wait(proc_t curp, struct proc *proc) argument
603 mac_proc_check_ledger(proc_t curp, proc_t proc, int ledger_op) argument
[all...]
/darwin-on-arm/xnu/osfmk/i386/
H A Dcpu.c185 processor_t proc; local
190 ret = kmem_alloc(kernel_map, (vm_offset_t *) &proc, sizeof(*proc));
194 bzero((void *) proc, sizeof(*proc));
195 return proc;
199 cpu_processor_free(processor_t proc) argument
201 if (proc != NULL && proc != &processor_master)
202 kfree((void *) proc, sizeo
[all...]
/darwin-on-arm/xnu/bsd/netinet/
H A Din_dhcp.h47 struct proc * procp);
/darwin-on-arm/xnu/bsd/netinet6/
H A Dudp6_var.h78 struct proc *p);
H A Din6_pcb.h99 extern int in6_pcbbind(struct inpcb *, struct sockaddr *, struct proc *);
100 extern int in6_pcbconnect(struct inpcb *, struct sockaddr *, struct proc *);
123 struct proc *, int);
/darwin-on-arm/xnu/bsd/security/audit/
H A Daudit.h154 struct proc;
162 struct proc *proc, struct uthread *uthread);
169 struct proc *proc, struct uthread *uthread);
171 void audit_syscall_exit(int error, struct proc *proc,
241 void audit_arg_file(struct kaudit_record *ar, struct proc *p,
250 void audit_sysclose(struct kaudit_record *ar, struct proc *p, int fd);
252 void audit_proc_coredump(proc_t proc, cha
[all...]
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_quota.h80 struct proc;
94 int hfs_quotaoff(struct proc *, struct mount *, int);
95 int hfs_quotaon(struct proc *, struct mount *, int, caddr_t);
/darwin-on-arm/xnu/bsd/dev/arm/
H A Dcons.c55 #include <sys/proc.h>
84 int cnopen(__unused dev_t dev, int flag, int devtype, struct proc *pp)
90 int cnclose(__unused dev_t dev, int flag, int mode, struct proc *pp)
108 int cnioctl(__unused dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
133 int cnselect(__unused dev_t dev, int flag, void *wql, struct proc *p)
/darwin-on-arm/xnu/bsd/dev/i386/
H A Dcons.c55 #include <sys/proc.h>
86 cnopen(__unused dev_t dev, int flag, int devtype, struct proc *pp)
94 cnclose(__unused dev_t dev, int flag, int mode, struct proc *pp)
118 cnioctl(__unused dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
145 cnselect(__unused dev_t dev, int flag, void *wql, struct proc *p)
/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Ddtrace_ptss.c30 #include <sys/proc.h>
50 dtrace_ptss_claim_entry_locked(struct proc* p) {
98 dtrace_ptss_claim_entry(struct proc* p) {
136 dtrace_ptss_release_entry(struct proc* p, struct dtrace_ptss_page_entry* e) {
154 dtrace_ptss_allocate_page(struct proc* p)
220 dtrace_ptss_free_page(struct proc* p, struct dtrace_ptss_page* ptss_page)
240 dtrace_ptss_enable(struct proc* p) {
261 dtrace_ptss_exec_exit(struct proc* p) {
264 * hold the proc lock to avoid deadlock.
278 // This can be called when the process is exiting, I believe the proc'
[all...]

Completed in 130 milliseconds

1234567891011>>