| /freebsd-12.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_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_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_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-12.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 | 11 proc \ 31 LINKS+= ${LIBEXECDIR}/dwatch/proc ${LIBEXECDIR}/dwatch/proc-create 32 LINKS+= ${LIBEXECDIR}/dwatch/proc ${LIBEXECDIR}/dwatch/proc-exec 33 LINKS+= ${LIBEXECDIR}/dwatch/proc ${LIBEXECDIR}/dwatch/proc-exec-failure 34 LINKS+= ${LIBEXECDIR}/dwatch/proc ${LIBEXECDIR}/dwatch/proc-exec-success 35 LINKS+= ${LIBEXECDIR}/dwatch/proc ${LIBEXECDIR}/dwatch/proc-exit 36 LINKS+= ${LIBEXECDIR}/dwatch/proc ${LIBEXECDIR}/dwatch/proc-signal 37 LINKS+= ${LIBEXECDIR}/dwatch/proc ${LIBEXECDIR}/dwatch/proc-signal-clear 38 LINKS+= ${LIBEXECDIR}/dwatch/proc ${LIBEXECDIR}/dwatch/proc-signal-discard 39 LINKS+= ${LIBEXECDIR}/dwatch/proc ${LIBEXECDIR}/dwatch/proc-signal-send [all …]
|
| /freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl_proc.cc | 25 proc->thr = nullptr; in ProcCreate() 27 AllocatorProcStart(proc); in ProcCreate() 31 return proc; in ProcCreate() 37 AllocatorProcFinish(proc); in ProcDestroy() 43 proc->~Processor(); in ProcDestroy() 44 InternalFree(proc); in ProcDestroy() 50 thr->proc1 = proc; in ProcWire() 51 proc->thr = thr; in ProcWire() 55 CHECK_EQ(thr->proc1, proc); in ProcUnwire() 56 CHECK_EQ(proc->thr, thr); in ProcUnwire() [all …]
|
| H A D | tsan_sync.cc | 39 void SyncVar::Reset(Processor *proc) { in Reset() argument 47 if (proc == 0) { in Reset() 51 clock.Reset(&proc->clock_cache); in Reset() 52 read_clock.Reset(&proc->clock_cache); in Reset() 79 FreeRange(proc, p, sz); in FreeBlock() 105 s->Reset(proc); in FreeRange() 126 FreeRange(proc, p, sz); in ResetRange() 133 FreeRange(proc, p, sz); in ResetRange() 139 FreeRange(proc, p, diff); in ResetRange() 145 FreeRange(proc, p + sz - diff, diff); in ResetRange() [all …]
|
| H A D | tsan_mman.cc | 72 Processor *proc; member 76 , proc(ProcCreate()) { in GlobalProc() 88 if (thr->proc()) in ScopedGlobalProcessor() 105 ProcWire(gp->proc, thr); in ScopedGlobalProcessor() 111 if (thr->proc() != gp->proc) in ~ScopedGlobalProcessor() 113 ProcUnwire(gp->proc, thr); in ~ScopedGlobalProcessor() 126 void AllocatorProcStart(Processor *proc) { in AllocatorProcStart() argument 127 allocator()->InitCache(&proc->alloc_cache); in AllocatorProcStart() 131 void AllocatorProcFinish(Processor *proc) { in AllocatorProcFinish() argument 132 allocator()->DestroyCache(&proc->alloc_cache); in AllocatorProcFinish() [all …]
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | gnu-nat.c | 119 struct proc *_proc_free (struct proc *proc); 120 int proc_update_sc (struct proc *proc); 246 __proc_pid (struct proc *proc) in __proc_pid() argument 255 proc_update_sc (struct proc *proc) in proc_update_sc() argument 262 proc_debug (proc, "sc: %d --> %d", proc->cur_sc, proc->sc); in proc_update_sc() 296 proc->cur_sc = proc->sc; in proc_update_sc() 544 struct proc *proc = xmalloc (sizeof (struct proc)); in make_proc() local 561 proc->resume_sc = proc->run_sc; in make_proc() 604 _proc_free (struct proc *proc) in _proc_free() argument 607 struct proc *next = proc->next; in _proc_free() [all …]
|
| H A D | gnu-nat.h | 32 struct proc *inf_tid_to_thread (struct inf *inf, int tid); 39 struct proc struct 70 struct proc *next; argument 76 #define proc_is_task(proc) ((proc)->tid == PROC_TID_TASK) argument 77 #define proc_is_thread(proc) ((proc)->tid != PROC_TID_TASK) argument 79 extern int __proc_pid (struct proc *proc); 85 extern thread_state_t proc_get_state (struct proc *proc, int will_modify); 88 extern char *proc_string (struct proc *proc); 91 do { struct proc *__proc = (_proc); \
|
| H A D | alpha-mdebug-tdep.c | 80 #define PROC_LOW_ADDR(proc) ((proc)->pdr.adr) argument 81 #define PROC_FRAME_OFFSET(proc) ((proc)->pdr.frameoffset) argument 82 #define PROC_FRAME_REG(proc) ((proc)->pdr.framereg) argument 83 #define PROC_REG_MASK(proc) ((proc)->pdr.regmask) argument 84 #define PROC_FREG_MASK(proc) ((proc)->pdr.fregmask) argument 85 #define PROC_REG_OFFSET(proc) ((proc)->pdr.regoffset) argument 86 #define PROC_FREG_OFFSET(proc) ((proc)->pdr.fregoffset) argument 87 #define PROC_PC_REG(proc) ((proc)->pdr.pcreg) argument 88 #define PROC_LOCALOFF(proc) ((proc)->pdr.localoff) argument
|
| /freebsd-12.1/sys/fs/pseudofs/ |
| H A D | pseudofs_vnops.c | 112 struct proc *proc; in pfs_visible() local 126 *p = proc; in pfs_visible() 166 struct proc *proc; in pfs_close() local 182 proc = NULL; in pfs_close() 203 struct proc *proc; in pfs_getattr() local 270 struct proc *proc; in pfs_ioctl() local 323 struct proc *proc; in pfs_getextattr() local 620 struct proc *proc; in pfs_read() local 765 struct proc *p, *proc; in pfs_readdir() local 887 struct proc *proc = NULL; in pfs_readlink() local [all …]
|
| /freebsd-12.1/sys/sys/ |
| H A D | racct.h | 48 struct proc; 184 uint64_t racct_get_limit(struct proc *p, int resource); 190 int racct_proc_fork(struct proc *parent, struct proc *child); 191 void racct_proc_fork_done(struct proc *child); 192 void racct_proc_exit(struct proc *p); 197 void racct_proc_throttle(struct proc *p, int timeout); 244 racct_get_limit(struct proc *p, int resource) in racct_get_limit() 251 racct_get_available(struct proc *p, int resource) in racct_get_available() 261 racct_proc_fork(struct proc *parent, struct proc *child) in racct_proc_fork() 268 racct_proc_fork_done(struct proc *child) in racct_proc_fork_done() [all …]
|
| H A D | proc.h | 183 struct proc; 565 struct proc { struct 982 LIST_HEAD(proclist, proc); 983 TAILQ_HEAD(procqueue, proc); 1001 struct proc **fr_procp; 1029 int cr_cansignal(struct ucred *cred, struct proc *proc, int signum); 1033 void faultin(struct proc *p); 1039 int inferior(struct proc *p); 1063 struct proc *proc_realparent(struct proc *child); 1065 void proc_reparent(struct proc *child, struct proc *newparent, bool set_oppid); [all …]
|
| 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); 129 int kern_proc_setrlimit(struct thread *td, struct proc *p, u_int which, 135 rlim_t lim_cur_proc(struct proc *p, int which); 136 void lim_fork(struct proc *p1, struct proc *p2); 141 rlim_t lim_max_proc(struct proc *p, int which); 143 void lim_rlimit_proc(struct proc *p, int which, struct rlimit *rlp); 147 void rufetch(struct proc *p, struct rusage *ru); 148 void rufetchcalc(struct proc *p, struct rusage *ru, struct timeval *up, [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 **,
|
| /freebsd-12.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-12.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() 235 if ((proc.p_flag & P_INMEM) && proc.p_stats != NULL) { in kvm_proclist() 256 if (proc.p_oppid) in kvm_proclist() 258 else if (proc.p_pptr) { in kvm_proclist() 267 if (proc.p_pgrp == NULL) in kvm_proclist() 271 proc.p_pgrp); in kvm_proclist() 359 if (proc.p_comm[0] != 0) in kvm_proclist() 369 kp->ki_xstat = KW_EXITCODE(proc.p_xexit, proc.p_xsig); in kvm_proclist() [all …]
|
| /freebsd-12.1/contrib/apr-util/dbd/ |
| H A D | apr_dbd_freetds.c | 66 DBPROCESS *proc; member 78 DBPROCESS *proc; member 109 rv = dbsqlexec(proc); in freetds_exec() 166 res->proc = sql->proc; in dbd_freetds_select() 347 DBPROCESS* proc = row->res->proc; in dbd_freetds_get_entry() local 632 sql->proc = process; in dbd_freetds_open() 639 dbclose(handle->proc); in dbd_freetds_close() 648 dbclose(handle->proc); in dbd_freetds_check_conn() 650 if (!handle->proc || dbdead(handle->proc)) { in dbd_freetds_check_conn() 655 dbcancel(handle->proc); in dbd_freetds_check_conn() [all …]
|
| /freebsd-12.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-12.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 …]
|
| /freebsd-12.1/sys/cddl/compat/opensolaris/sys/ |
| H A D | proc.h | 34 #include_next <sys/proc.h> 61 typedef struct proc proc_t; 63 extern struct proc *zfsproc; 66 do_thread_create(caddr_t stk, size_t stksize, void (*proc)(void *), void *arg, in do_thread_create() 80 error = kproc_kthread_add(proc, arg, &zfsproc, &td, RFSTOPPED, in do_thread_create() 81 stksize / PAGE_SIZE, "zfskern", "solthread %p", proc); in do_thread_create() 91 #define thread_create(stk, stksize, proc, arg, len, pp, state, pri) \ argument 92 do_thread_create(stk, stksize, proc, arg, len, pp, state, pri)
|
| /freebsd-12.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()
|