| /freebsd-13.1/usr.bin/rpcgen/ |
| H A D | rpc_clntout.c | 82 proc_list *proc; in write_program() local 85 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_program() 88 ptype(proc->res_prefix, proc->res_type, 1); in write_program() 129 ptype(proc->res_prefix, proc->res_type, 1); in printarglist() 138 ptype(proc->res_prefix, proc->res_type, 1); in printarglist() 150 ptype(proc->res_prefix, proc->res_type, 1); in printarglist() 191 ptype(proc->res_prefix, proc->res_type, 0); in printbody() 213 stringfix(proc->res_type), (mtflag)?"":ampr(proc->res_type), in printbody() 236 proc->proc_name,proc->args.argname); in printbody() 239 stringfix(proc->res_type), (mtflag)?"":ampr(proc->res_type), in printbody() [all …]
|
| H A D | rpc_sample.c | 83 proc_list *proc; in write_sample_client() local 93 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_sample_client() 97 ptype(proc->res_prefix, proc->res_type, 1); in write_sample_client() 100 ptype(proc->res_prefix, proc->res_type, 1); in write_sample_client() 104 if(proc->arg_num < 2 && !newstyle) { in write_sample_client() 137 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_sample_client() 178 ptype(proc->res_prefix, proc->res_type, 1); in write_sample_client() 195 proc_list *proc; in write_sample_server() local 198 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_sample_server() 201 return_type(proc); in write_sample_server() [all …]
|
| H A D | rpc_tblout.c | 89 proc_list *proc; in write_table() local 108 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_table() 109 current = atoi(proc->proc_num); in write_table() 124 pvname_svc(proc->proc_name, vp->vers_num); in write_table() 128 pvname(proc->proc_name, vp->vers_num); in write_table() 133 if( proc->arg_num > 1 ) in write_table() 134 printit((char*) NULL, proc->args.argname ); in write_table() 137 printit( proc->args.decls->decl.prefix, in write_table() 138 proc->args.decls->decl.type ); in write_table() 140 printit(proc->res_prefix, proc->res_type); in write_table()
|
| H A D | rpc_svcout.c | 336 proc_list *proc; in write_real_program() local 341 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_real_program() 344 internal_proctype(proc); in write_real_program() 351 if (proc->arg_num > 1) in write_real_program() 390 proc_list *proc; in write_program() local 407 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_program() 435 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_program() 440 ptype(proc->res_prefix, proc->res_type, 0); in write_program() 480 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_program() 575 nullproc(proc_list *proc) in nullproc() argument [all …]
|
| H A D | rpc_hout.c | 250 proc_list *proc; in define_printed() local 253 for (proc = vers->procs; proc != NULL; proc = proc->next) { in define_printed() 254 if (proc == stop) { in define_printed() 286 proc_list *proc; in pprogramdef() local 309 for (proc = vers->procs; proc != NULL; proc = proc->next) { in pprogramdef() 311 puldefine(proc->proc_name, proc->proc_num); in pprogramdef() 314 pprocdef(proc, vers, "CLIENT *", 0); in pprogramdef() 331 ptype(proc->res_prefix, proc->res_type, 1); in pprocdef() 339 parglist(proc, addargtype); in pprocdef() 351 if (proc->arg_num < 2 && newstyle && in parglist() [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl_proc.cpp | 24 proc->thr = nullptr; in ProcCreate() 26 AllocatorProcStart(proc); in ProcCreate() 30 return proc; in ProcCreate() 36 AllocatorProcFinish(proc); in ProcDestroy() 42 proc->~Processor(); in ProcDestroy() 43 InternalFree(proc); in ProcDestroy() 49 thr->proc1 = proc; in ProcWire() 50 proc->thr = thr; in ProcWire() 54 CHECK_EQ(thr->proc1, proc); in ProcUnwire() 55 CHECK_EQ(proc->thr, thr); in ProcUnwire() [all …]
|
| H A D | tsan_sync.cpp | 35 void SyncVar::Reset(Processor *proc) { in Reset() argument 43 if (proc == 0) { in Reset() 47 clock.Reset(&proc->clock_cache); in Reset() 48 read_clock.Reset(&proc->clock_cache); in Reset() 75 FreeRange(proc, p, sz); in FreeBlock() 101 s->Reset(proc); in FreeRange() 122 FreeRange(proc, p, sz); in ResetRange() 129 FreeRange(proc, p, sz); in ResetRange() 135 FreeRange(proc, p, diff); in ResetRange() 141 FreeRange(proc, p + sz - diff, diff); in ResetRange() [all …]
|
| H A D | tsan_mman.cpp | 71 Processor *proc; member 84 if (thr->proc()) in ScopedGlobalProcessor() 101 ProcWire(gp->proc, thr); in ScopedGlobalProcessor() 107 if (thr->proc() != gp->proc) in ~ScopedGlobalProcessor() 109 ProcUnwire(gp->proc, thr); in ~ScopedGlobalProcessor() 129 void AllocatorProcStart(Processor *proc) { in AllocatorProcStart() argument 130 allocator()->InitCache(&proc->alloc_cache); in AllocatorProcStart() 134 void AllocatorProcFinish(Processor *proc) { in AllocatorProcFinish() argument 135 allocator()->DestroyCache(&proc->alloc_cache); in AllocatorProcFinish() 231 uptr sz = ctx->metamap.FreeBlock(thr->proc(), p); in OnUserFree() [all …]
|
| /freebsd-13.1/cddl/usr.sbin/dwatch/libexec/ |
| H A D | proc | 16 proc) 18 proc:::create, \ 19 proc:::exec, \ 22 proc:::exit, \ 25 proc:::signal-send )} 27 proc-signal) 33 proc-status) 35 proc:::create, \ 36 proc:::exec, \ 39 proc:::exit )} [all …]
|
| H A D | Makefile | 12 proc \ 32 LINKS+= ${LIBEXECDIR}/dwatch/proc ${LIBEXECDIR}/dwatch/proc-create 33 LINKS+= ${LIBEXECDIR}/dwatch/proc ${LIBEXECDIR}/dwatch/proc-exec 34 LINKS+= ${LIBEXECDIR}/dwatch/proc ${LIBEXECDIR}/dwatch/proc-exec-failure 35 LINKS+= ${LIBEXECDIR}/dwatch/proc ${LIBEXECDIR}/dwatch/proc-exec-success 36 LINKS+= ${LIBEXECDIR}/dwatch/proc ${LIBEXECDIR}/dwatch/proc-exit 37 LINKS+= ${LIBEXECDIR}/dwatch/proc ${LIBEXECDIR}/dwatch/proc-signal 38 LINKS+= ${LIBEXECDIR}/dwatch/proc ${LIBEXECDIR}/dwatch/proc-signal-clear 39 LINKS+= ${LIBEXECDIR}/dwatch/proc ${LIBEXECDIR}/dwatch/proc-signal-discard 40 LINKS+= ${LIBEXECDIR}/dwatch/proc ${LIBEXECDIR}/dwatch/proc-signal-send [all …]
|
| /freebsd-13.1/sys/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 | 189 struct proc; 602 struct proc { struct 1035 LIST_HEAD(proclist, proc); 1036 TAILQ_HEAD(procqueue, proc); 1055 struct proc **fr_procp; 1087 int cr_cansignal(struct ucred *cred, struct proc *proc, int signum); 1091 void faultin(struct proc *p); 1097 int inferior(struct proc *p); 1117 void proc_add_orphan(struct proc *child, struct proc *parent); 1127 struct proc *proc_realparent(struct proc *child); [all …]
|
| 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, 145 rlim_t lim_cur_proc(struct proc *p, int which); 146 void lim_fork(struct proc *p1, struct proc *p2); 152 rlim_t lim_max_proc(struct proc *p, int which); 154 void lim_rlimit_proc(struct proc *p, int which, struct rlimit *rlp); 158 void rufetch(struct proc *p, struct rusage *ru); 162 void ruxagg(struct proc *p, struct thread *td); [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 | 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);
|
| /freebsd-13.1/sys/fs/pseudofs/ |
| H A D | pseudofs_vnops.c | 114 struct proc *proc; in pfs_visible() local 140 struct proc *proc; in pfs_lookup_proc() local 151 *p = proc; in pfs_lookup_proc() 186 struct proc *proc; in pfs_close() local 223 struct proc *proc; in pfs_getattr() local 290 struct proc *proc; in pfs_ioctl() local 343 struct proc *proc; in pfs_getextattr() local 680 struct proc *proc; in pfs_read() local 854 struct proc *p, *proc; in pfs_readdir() local 991 struct proc *proc = NULL; in pfs_readlink() local [all …]
|
| /freebsd-13.1/contrib/apr/misc/unix/ |
| H A D | otherchild.c | 63 ocr->proc = proc; in apr_proc_other_child_register() 111 if (ocr->proc->pid != proc->pid) in apr_proc_other_child_alert() 114 ocr->proc = NULL; in apr_proc_other_child_alert() 130 if (ocr->proc == NULL) in apr_proc_other_child_refresh() 133 if (!ocr->proc->hproc) { in apr_proc_other_child_refresh() 137 ocr->proc = NULL; in apr_proc_other_child_refresh() 143 ocr->proc = NULL; in apr_proc_other_child_refresh() 152 ocr->proc = NULL; in apr_proc_other_child_refresh() 160 if (ocr->proc == NULL) in apr_proc_other_child_refresh() 165 ocr->proc = NULL; in apr_proc_other_child_refresh() [all …]
|
| /freebsd-13.1/lib/libkvm/ |
| H A D | kvm_proc.c | 130 struct proc proc; in kvm_proclist() local 131 struct proc pproc; in kvm_proclist() 223 kp->ki_fd = proc.p_fd; in kvm_proclist() 224 kp->ki_pd = proc.p_pd; in kvm_proclist() 236 if ((proc.p_flag & P_INMEM) && proc.p_stats != NULL) { in kvm_proclist() 257 if (proc.p_oppid) in kvm_proclist() 259 else if (proc.p_pptr) { in kvm_proclist() 268 if (proc.p_pgrp == NULL) in kvm_proclist() 272 proc.p_pgrp); in kvm_proclist() 370 kp->ki_xstat = KW_EXITCODE(proc.p_xexit, proc.p_xsig); in kvm_proclist() [all …]
|
| /freebsd-13.1/contrib/apr-util/dbd/unsupported/ |
| H A D | apr_dbd_freetds.c | 68 DBPROCESS *proc; member 80 DBPROCESS *proc; member 111 rv = dbsqlexec(proc); in freetds_exec() 168 res->proc = sql->proc; in dbd_freetds_select() 349 DBPROCESS* proc = row->res->proc; in dbd_freetds_get_entry() local 634 sql->proc = process; in dbd_freetds_open() 641 dbclose(handle->proc); in dbd_freetds_close() 650 dbclose(handle->proc); in dbd_freetds_check_conn() 652 if (!handle->proc || dbdead(handle->proc)) { in dbd_freetds_check_conn() 657 dbcancel(handle->proc); in dbd_freetds_check_conn() [all …]
|
| /freebsd-13.1/usr.sbin/rtprio/ |
| H A D | rtprio.c | 59 pid_t proc = 0; in main() local 72 proc = parseint(argv[1], "pid"); in main() 73 proc = abs(proc); in main() 76 if (rtprio(RTP_LOOKUP, proc, &rtp) != 0) in main() 112 proc = parseint(argv[2], "pid"); in main() 113 proc = abs(proc); in main() 116 if (rtprio(RTP_SET, proc, &rtp) != 0) in main() 119 if (proc == 0) { in main()
|
| /freebsd-13.1/sys/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)
|
| /freebsd-13.1/tools/debugscripts/ |
| H A D | gdbinit.i386 | 236 set $proc = allproc.lh_first 238 set $pptr = $proc.p_pptr 249 set $proc = $aproc 280 set $proc = allproc.lh_first 290 set $proc = $aproc 308 set $pptr = $proc 310 if ($proc.p_stat) 314 $proc.p_pgrp->pg_id, $proc.p_flag, $proc.p_stat, \ 316 if ($proc.p_wchan) 323 if ($proc->p_flag & 4) [all …]
|
| H A D | gdbinit.kernel | 207 set $pptr = $proc 209 if ($proc.p_state) 213 $proc.p_pgrp->pg_id, $proc.p_flag, $proc.p_state, \ 231 set $proc = $aproc 246 set $pptr = $proc.p_pptr 248 set $pptr = $proc 250 set $myvectorproc = $proc 251 if ($proc.p_state) 256 $proc.p_uarea, $proc.p_ucred->cr_ruid, $pptr->p_pid, \ 257 $proc.p_pgrp->pg_id, $proc.p_flag, $proc.p_state, \ [all …]
|
| /freebsd-13.1/usr.sbin/rpcbind/ |
| H A D | rpcb_stat.c | 63 rpcbs_procinfo(rpcvers_t rtype, rpcproc_t proc) in rpcbs_procinfo() argument 68 if (proc > rpcb_highproc_2) in rpcbs_procinfo() 73 if (proc > rpcb_highproc_3) in rpcbs_procinfo() 77 if (proc > rpcb_highproc_4) in rpcbs_procinfo() 82 inf[rtype].info[proc]++; in rpcbs_procinfo() 150 rpcvers_t vers, rpcproc_t proc, char *netid, rpcblist_ptr rbl) in rpcbs_rmtcall() argument 163 (rl->proc == proc) && in rpcbs_rmtcall() 185 rl->proc = proc; in rpcbs_rmtcall()
|
| /freebsd-13.1/sys/compat/linuxkpi/common/src/ |
| H A D | linux_current.c | 53 find_other_mm(struct proc *p) in find_other_mm() 77 struct proc *proc; in linux_alloc_current() local 107 proc = td->td_proc; in linux_alloc_current() 109 PROC_LOCK(proc); in linux_alloc_current() 110 mm_other = find_other_mm(proc); in linux_alloc_current() 114 PROC_UNLOCK(proc); in linux_alloc_current() 124 PROC_LOCK(proc); in linux_alloc_current() 144 PROC_UNLOCK(proc); in linux_alloc_current() 195 struct proc *p; in linux_get_pid_task_int() 243 struct proc *p; in linux_task_exiting() [all …]
|