| /f-stack/freebsd/sys/ |
| H A D | racct.h | 47 struct proc; 192 int racct_proc_fork(struct proc *parent, struct proc *child); 193 void racct_proc_fork_done(struct proc *child); 194 void racct_proc_exit(struct proc *p); 199 void racct_proc_throttled(struct proc *p); 200 void racct_proc_throttle(struct proc *p, int timeout); 247 racct_get_limit(struct proc *p, int resource) in racct_get_limit() 254 racct_get_available(struct proc *p, int resource) in racct_get_available() 264 racct_proc_fork(struct proc *parent, struct proc *child) in racct_proc_fork() 271 racct_proc_fork_done(struct proc *child) in racct_proc_fork_done() [all …]
|
| H A D | proc.h | 188 struct proc; 596 struct proc { struct 1019 LIST_HEAD(proclist, proc); 1020 TAILQ_HEAD(procqueue, proc); 1039 struct proc **fr_procp; 1070 int cr_cansignal(struct ucred *cred, struct proc *proc, int signum); 1074 void faultin(struct proc *p); 1080 int inferior(struct proc *p); 1105 struct proc *proc_realparent(struct proc *child); 1107 void proc_reparent(struct proc *child, struct proc *newparent, bool set_oppid); [all …]
|
| H A D | kthread.h | 44 struct proc **global_procpp; /* ptr to proc ptr save area */ 54 int kproc_create(void (*)(void *), void *, struct proc **, 57 int kproc_resume(struct proc *); 60 int kproc_suspend(struct proc *, int); 61 void kproc_suspend_check(struct proc *); 65 struct proc **, 71 struct proc *, struct thread **,
|
| H A D | resourcevar.h | 112 struct proc; 118 void calccru(struct proc *p, struct timeval *up, struct timeval *sp); 119 void calcru(struct proc *p, struct timeval *up, struct timeval *sp); 126 int kern_proc_setrlimit(struct thread *td, struct proc *p, u_int which, 147 rlim_t lim_cur_proc(struct proc *p, int which); 148 void lim_fork(struct proc *p1, struct proc *p2); 154 rlim_t lim_max_proc(struct proc *p, int which); 156 void lim_rlimit_proc(struct proc *p, int which, struct rlimit *rlp); 160 void rufetch(struct proc *p, struct rusage *ru); 164 void ruxagg(struct proc *p, struct thread *td); [all …]
|
| H A D | rctl.h | 45 struct proc; 71 struct proc *rs_proc; 144 int rctl_enforce(struct proc *p, int resource, uint64_t amount); 146 int64_t rctl_pcpu_available(const struct proc *p); 147 uint64_t rctl_get_limit(struct proc *p, int resource); 148 uint64_t rctl_get_available(struct proc *p, int resource); 150 void rctl_proc_ucred_changed(struct proc *p, struct ucred *newcred); 151 int rctl_proc_fork(struct proc *parent, struct proc *child);
|
| H A D | procdesc.h | 57 struct proc; 65 struct proc *pd_proc; /* (t) Process. */ 98 int procdesc_exit(struct proc *); 99 int procdesc_find(struct thread *, int fd, cap_rights_t *, struct proc **); 101 void procdesc_new(struct proc *, int); 104 void procdesc_reap(struct proc *);
|
| H A D | signalvar.h | 252 struct proc *sq_proc; 328 struct proc; 385 void execsigs(struct proc *p); 387 void killproc(struct proc *p, const char *why); 390 int pksignal(struct proc *p, int sig, ksiginfo_t *ksi); 394 void kern_psignal(struct proc *p, int sig); 404 void sig_drop_caught(struct proc *p); 412 void siginit(struct proc *p); 415 void sigqueue_delete_proc(struct proc *p, int sig); 417 void sigqueue_init(struct sigqueue *queue, struct proc *p); [all …]
|
| H A D | dtrace_bsd.h | 74 typedef void (*dtrace_fork_func_t)(struct proc *, struct proc *); 75 typedef void (*dtrace_execexit_func_t)(struct proc *); 168 void kdtrace_proc_ctor(struct proc *p); 169 void kdtrace_proc_dtor(struct proc *p);
|
| H A D | eventhandler.h | 229 struct proc; 232 typedef void (*exitlist_fn)(void *, struct proc *); 233 typedef void (*forklist_fn)(void *, struct proc *, struct proc *, int); 234 typedef void (*execlist_fn)(void *, struct proc *, struct image_params *); 235 typedef void (*proc_ctor_fn)(void *, struct proc *); 236 typedef void (*proc_dtor_fn)(void *, struct proc *); 237 typedef void (*proc_init_fn)(void *, struct proc *); 238 typedef void (*proc_fini_fn)(void *, struct proc *);
|
| H A D | timers.h | 53 struct proc *it_proc; 112 void itimers_exec(struct proc *p); 113 void itimers_exit(struct proc *p); 114 int itimer_accept(struct proc *p, int tid, ksiginfo_t *ksi);
|
| H A D | ucred.h | 114 struct proc; 147 struct ucred *crcopysafe(struct proc *p, struct ucred *cr); 150 void proc_set_cred_init(struct proc *p, struct ucred *cr); 151 void proc_set_cred(struct proc *p, struct ucred *cr); 152 void proc_unset_cred(struct proc *p);
|
| /f-stack/tools/compat/include/sys/ |
| H A D | resourcevar.h | 115 struct proc; 121 void calccru(struct proc *p, struct timeval *up, struct timeval *sp); 122 void calcru(struct proc *p, struct timeval *up, struct timeval *sp); 130 int kern_proc_setrlimit(struct thread *td, struct proc *p, u_int which, 136 rlim_t lim_cur_proc(struct proc *p, int which); 137 void lim_fork(struct proc *p1, struct proc *p2); 142 rlim_t lim_max_proc(struct proc *p, int which); 144 void lim_rlimit_proc(struct proc *p, int which, struct rlimit *rlp); 148 void rufetch(struct proc *p, struct rusage *ru); 149 void rufetchcalc(struct proc *p, struct rusage *ru, struct timeval *up, [all …]
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | proc.h | 34 #include_next <sys/proc.h> 62 typedef struct proc proc_t; 67 do_thread_create(caddr_t stk, size_t stksize, void (*proc)(void *), void *arg, in do_thread_create() 85 error = kproc_kthread_add(proc, arg, ppp, &td, RFSTOPPED, in do_thread_create() 98 #define thread_create_named(name, stk, stksize, proc, arg, len, \ argument 100 do_thread_create(stk, stksize, proc, arg, len, pp, state, pri, name) 101 #define thread_create(stk, stksize, proc, arg, len, pp, state, pri) \ argument 102 do_thread_create(stk, stksize, proc, arg, len, pp, state, pri, #proc)
|
| /f-stack/freebsd/kern/ |
| H A D | kern_procctl.c | 73 struct proc *p; in protect_setchildren() 105 protect_set(struct thread *td, struct proc *p, int flags) in protect_set() 134 reap_acquire(struct thread *td, struct proc *p) in reap_acquire() 151 reap_release(struct thread *td, struct proc *p) in reap_release() 166 reap_status(struct thread *td, struct proc *p, in reap_status() 169 struct proc *reap, *p2, *first_p; in reap_status() 203 struct proc *reap, *p2; in reap_getpids() 262 struct proc *parent; 281 struct proc *reap, *p2; in reap_kill() 468 aslr_ctl(struct thread *td, struct proc *p, int state) in aslr_ctl() [all …]
|
| H A D | kern_kthread.c | 91 struct proc *p2; in kproc_create() 160 struct proc *p; in kproc_exit() 189 kproc_suspend(struct proc *p, int timo) in kproc_suspend() 206 kproc_resume(struct proc *p) in kproc_resume() 224 kproc_suspend_check(struct proc *p) in kproc_suspend_check() 264 kthread_add(void (*func)(void *), void *arg, struct proc *p, in kthread_add() 337 struct proc *p; in kthread_exit() 377 struct proc *p; in kthread_suspend() 408 struct proc *p; in kthread_resume() 436 struct proc *p; in kthread_suspend_check() [all …]
|
| H A D | kern_thread.c | 127 SDT_PROVIDER_DECLARE(proc); 819 struct proc *p; in thread_cow_update() 854 struct proc *p; in thread_exit() 962 thread_wait(struct proc *p) in thread_wait() 1019 struct proc *p = td->td_proc; in thread_unlink() 1277 struct proc *p; in thread_suspend_check_needed() 1324 struct proc *p; in thread_suspend_check() 1434 struct proc *p; in thread_check_susp() 1486 struct proc *p; in thread_suspend_one() 1620 struct proc *p; in tdfind_hash() [all …]
|
| H A D | p1003_1b.c | 116 struct proc *targetp; 144 struct proc *targetp; 163 struct proc *targetp; 188 struct proc *targetp; 206 struct proc *targetp; 233 struct proc *targetp; 256 struct proc *targetp; 281 struct proc *targetp; 342 struct proc *targetp; 364 struct proc *p;
|
| H A D | kern_proc.c | 209 struct proc *p; in proc_ctor() 231 struct proc *p; in proc_dtor() 265 struct proc *p; in proc_init() 289 struct proc *p; in proc_fini() 412 struct proc * 415 struct proc *p; in pfind_any_locked() 440 struct proc *p; in _pfind() 463 struct proc * 473 struct proc * 506 struct proc *p; in pget() [all …]
|
| H A D | kern_prot.c | 102 struct proc *p = td->td_proc; in sys_getpid() 129 struct proc *p = td->td_proc; in kern_getppid() 145 struct proc *p = td->td_proc; in sys_getpgrp() 162 struct proc *p; in sys_getpgid() 201 struct proc *p; in kern_getsid() 329 struct proc *p = td->td_proc; in sys_setsid() 482 struct proc *p = td->td_proc; in sys_setuid() 1246 struct proc *p; in sys___setugid() 1493 cr_cansignal(struct ucred *cred, struct proc *proc, int signum) in cr_cansignal() argument 1930 struct proc *p; in crcowsync() [all …]
|
| H A D | kern_exit.c | 99 SDT_PROVIDER_DECLARE(proc); 102 struct proc * 105 struct proc *p, *parent; in proc_realparent() 149 reaper_clear(struct proc *p) in reaper_clear() 151 struct proc *p1; in reaper_clear() 172 struct proc *p1; in proc_clear_orphan() 612 struct proc *pp; in exit1() 851 struct proc *q, *t; in proc_reap() 1213 struct proc *p, *q; in kern_wait6() 1357 proc_add_orphan(struct proc *child, struct proc *parent) in proc_add_orphan() [all …]
|
| H A D | kern_racct.c | 327 racct_getpcpu(struct proc *p, u_int pcpu) in racct_getpcpu() 777 racct_get_limit(struct proc *p, int resource) in racct_get_limit() 803 racct_get_available(struct proc *p, int resource) in racct_get_available() 828 racct_pcpu_available(struct proc *p) in racct_pcpu_available() 917 racct_proc_fork(struct proc *parent, struct proc *child) in racct_proc_fork() 976 racct_proc_fork_done(struct proc *child) in racct_proc_fork_done() 993 racct_proc_exit(struct proc *p) in racct_proc_exit() 1103 racct_proc_throttled(struct proc *p) in racct_proc_throttled() 1123 racct_proc_throttle(struct proc *p, int timeout) in racct_proc_throttle() 1180 racct_proc_wakeup(struct proc *p) in racct_proc_wakeup() [all …]
|
| /f-stack/ |
| H A D | start.sh | 44 PROCESSOR=$(grep 'processor' /proc/cpuinfo |sort |uniq |wc -l) 60 ${bin} --conf ${conf} --proc-type=primary --proc-id=${proc_id} ${others} & 64 ${bin} --conf ${conf} --proc-type=secondary --proc-id=${proc_id} ${others} &
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/src/ |
| H A D | thd.c | 5 thd_create(thd_t *thd, void *(*proc)(void *), void *arg) { in thd_create() 6 LPTHREAD_START_ROUTINE routine = (LPTHREAD_START_ROUTINE)proc; in thd_create() 24 thd_create(thd_t *thd, void *(*proc)(void *), void *arg) { in thd_create() 25 if (pthread_create(thd, NULL, proc, arg) != 0) { in thd_create()
|
| /f-stack/freebsd/vm/ |
| H A D | vm_extern.h | 39 struct proc; 98 int vm_forkproc(struct thread *, struct proc *, struct thread *, 100 void vm_waitproc(struct proc *); 115 int vmspace_exec(struct proc *, vm_offset_t, vm_offset_t); 116 int vmspace_unshare(struct proc *); 118 struct vmspace *vmspace_acquire_ref(struct proc *); 120 void vmspace_exitfree(struct proc *);
|
| /f-stack/freebsd/i386/linux/ |
| H A D | imgact_linux.c | 109 PROC_LOCK(imgp->proc); in exec_linux_imgact() 111 a_out->a_data + bss_size > lim_cur_proc(imgp->proc, RLIMIT_DATA) || in exec_linux_imgact() 112 racct_set(imgp->proc, RACCT_DATA, a_out->a_data + bss_size) != 0) { in exec_linux_imgact() 113 PROC_UNLOCK(imgp->proc); in exec_linux_imgact() 116 PROC_UNLOCK(imgp->proc); in exec_linux_imgact() 126 vmspace = imgp->proc->p_vmspace; in exec_linux_imgact() 220 imgp->proc->p_sysent = &linux_sysvec; in exec_linux_imgact()
|