| /freebsd-10-stable/usr.bin/rpcgen/ |
| 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() 90 pvname(proc->proc_name, vp->vers_num); in write_program() 91 printarglist(proc, RESULT, "clnt", "CLIENT *"); in write_program() 94 pvname(proc->proc_name, vp->vers_num); in write_program() 95 printarglist(proc, RESULT, "clnt", "CLIENT *"); in write_program() 99 printbody(proc); in write_program() 115 printarglist(proc_list *proc, const char *result, const char *addargname, in printarglist() argument 124 ptype(proc->args.decls->decl.prefix, in printarglist() [all …]
|
| 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() 106 if(!streq(proc->args.decls->decl.type, "void")) in write_sample_client() 107 ptype(proc->args.decls->decl.prefix, in write_sample_client() 108 proc->args.decls->decl.type, 1); in write_sample_client() 112 pvname(proc->proc_name, vp->vers_num); in write_sample_client() 114 } else if (!streq(proc->args.decls->decl.type, "void")) { in write_sample_client() [all …]
|
| 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() 348 pvname(proc->proc_name, vp->vers_num); in write_real_program() 351 if (proc->arg_num > 1) in write_real_program() 352 fputs(proc->args.argname, fout); in write_real_program() 354 ptype(proc->args.decls->decl.prefix, in write_real_program() 355 proc->args.decls->decl.type, 0); in write_real_program() 368 pvname_svc(proc->proc_name, vp->vers_num); in write_real_program() 370 if (proc->arg_num < 2) { /* single argument */ in write_real_program() [all …]
|
| 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()
|
| 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() 256 } else if (streq(proc->proc_name, stop->proc_name)) { in define_printed() 286 proc_list *proc; in pprogramdef() local 309 for (proc = vers->procs; proc != NULL; proc = proc->next) { in pprogramdef() 310 if (!define_printed(proc, def->def.pr.versions)) { in pprogramdef() 311 puldefine(proc->proc_name, proc->proc_num); in pprogramdef() 314 pprocdef(proc, vers, "CLIENT *", 0); in pprogramdef() 316 pprocdef(proc, vers, "struct svc_req *", 1); in pprogramdef() [all …]
|
| /freebsd-10-stable/contrib/gdb/gdb/ |
| D | gnu-nat.c | 100 struct proc *inf_tid_to_proc (struct inf *inf, int tid); 102 struct proc *run_thread, 107 void inf_set_step_thread (struct inf *inf, struct proc *proc); 117 void proc_abort (struct proc *proc, int force); 118 struct proc *make_proc (struct inf *inf, mach_port_t port, int tid); 119 struct proc *_proc_free (struct proc *proc); 120 int proc_update_sc (struct proc *proc); 121 error_t proc_get_exception_port (struct proc *proc, mach_port_t * port); 122 error_t proc_set_exception_port (struct proc *proc, mach_port_t port); 123 static mach_port_t _proc_get_exc_port (struct proc *proc); [all …]
|
| 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); \
|
| 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-10-stable/sys/fs/pseudofs/ |
| D | pseudofs_vnops.c | 87 pfs_visible_proc(struct thread *td, struct pfs_node *pn, struct proc *proc) in pfs_visible_proc() argument 91 if (proc == NULL) in pfs_visible_proc() 94 PROC_LOCK_ASSERT(proc, MA_OWNED); in pfs_visible_proc() 96 visible = ((proc->p_flag & P_WEXIT) == 0); in pfs_visible_proc() 98 visible = (p_cansee(td, proc) == 0); in pfs_visible_proc() 100 visible = pn_vis(td, proc, pn); in pfs_visible_proc() 108 bool allproc_locked, struct proc **p) in pfs_visible() 110 struct proc *proc; in pfs_visible() local 119 proc = allproc_locked ? pfind_locked(pid) : pfind(pid); in pfs_visible() 120 if (proc == NULL) in pfs_visible() [all …]
|
| /freebsd-10-stable/contrib/apr/misc/unix/ |
| D | otherchild.c | 55 APR_DECLARE(void) apr_proc_other_child_register(apr_proc_t *proc, in apr_proc_other_child_register() argument 63 ocr->proc = proc; in apr_proc_other_child_register() 103 APR_DECLARE(apr_status_t) apr_proc_other_child_alert(apr_proc_t *proc, in apr_proc_other_child_alert() argument 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() 140 else if (!GetExitCodeProcess(ocr->proc->hproc, &status)) { in apr_proc_other_child_refresh() 141 CloseHandle(ocr->proc->hproc); in apr_proc_other_child_refresh() [all …]
|
| /freebsd-10-stable/cddl/contrib/dtracetoolkit/Examples/ |
| D | tcl_flowtime_example.txt | 12 0 17901 4436098008050 52 > proc 13 0 17901 4436098008063 12 < proc 126 0 17901 4436098010133 10 > proc 127 0 17901 4436098010142 8 < proc 129 0 17901 4436098010228 79 > proc 130 0 17901 4436098010237 8 < proc 131 0 17901 4436098010255 18 > proc 132 0 17901 4436098010264 9 < proc 133 0 17901 4436098010293 29 > proc 134 0 17901 4436098010301 7 < proc [all …]
|
| D | tcl_flow_example.txt | 10 0 16068 3904942506350 > proc 11 0 16068 3904942506363 < proc 124 0 16068 3904942508479 > proc 125 0 16068 3904942508488 < proc 127 0 16068 3904942508573 > proc 128 0 16068 3904942508582 < proc 129 0 16068 3904942508599 > proc 130 0 16068 3904942508609 < proc 131 0 16068 3904942508638 > proc 132 0 16068 3904942508645 < proc [all …]
|
| D | rwsnoop_example.txt | 70 2005 Jul 24 04:23:45 0 2804 ps R 168 /proc/2804/auxv 71 2005 Jul 24 04:23:45 0 2804 ps R 336 /proc/2804/psinfo 74 2005 Jul 24 04:23:45 0 2804 ps R 336 /proc/0/psinfo 75 2005 Jul 24 04:23:45 0 2804 ps R 336 /proc/1/psinfo 76 2005 Jul 24 04:23:45 0 2804 ps R 336 /proc/2/psinfo 77 2005 Jul 24 04:23:45 0 2804 ps R 336 /proc/3/psinfo 78 2005 Jul 24 04:23:45 0 2804 ps R 336 /proc/218/psinfo 79 2005 Jul 24 04:23:45 0 2804 ps R 336 /proc/7/psinfo 80 2005 Jul 24 04:23:45 0 2804 ps R 336 /proc/9/psinfo 81 2005 Jul 24 04:23:45 0 2804 ps R 336 /proc/360/psinfo [all …]
|
| /freebsd-10-stable/lib/libkvm/ |
| D | kvm_proc.c | 113 kvm_proclist(kvm_t *kd, int what, int arg, struct proc *p, in kvm_proclist() 130 struct proc proc; in kvm_proclist() local 131 struct proc pproc; in kvm_proclist() 141 for (; cnt < maxcnt && p != NULL; p = LIST_NEXT(&proc, p_list)) { in kvm_proclist() 143 if (KREAD(kd, (u_long)p, &proc)) { in kvm_proclist() 147 if (proc.p_state == PRS_NEW) in kvm_proclist() 149 if (proc.p_state != PRS_ZOMBIE) { in kvm_proclist() 150 if (KREAD(kd, (u_long)TAILQ_FIRST(&proc.p_threads), in kvm_proclist() 154 TAILQ_FIRST(&proc.p_threads)); in kvm_proclist() 158 if (KREAD(kd, (u_long)proc.p_ucred, &ucred) == 0) { in kvm_proclist() [all …]
|
| /freebsd-10-stable/sys/sys/ |
| D | proc.h | 78 struct proc *s_leader; /* (m + e) Session leader. */ 98 LIST_HEAD(, proc) pg_members; /* (m + e) Pointer to pgrp members. */ 169 struct proc; 208 struct proc *td_proc; /* (*) Associated process. */ 321 struct proc *td_rfppwait_p; /* (k) The vforked child */ 504 struct proc { struct 505 LIST_ENTRY(proc) p_list; /* (d) List of all processes. */ 524 LIST_ENTRY(proc) p_hash; /* (d) Hash chain. */ argument 525 LIST_ENTRY(proc) p_pglist; /* (g + e) List of processes in pgrp. */ 526 struct proc *p_pptr; /* (c + e) Pointer to parent process. */ argument [all …]
|
| D | racct.h | 43 struct proc; 149 int racct_add(struct proc *p, int resource, uint64_t amount); 151 void racct_add_force(struct proc *p, int resource, uint64_t amount); 152 int racct_set(struct proc *p, int resource, uint64_t amount); 153 void racct_set_force(struct proc *p, int resource, uint64_t amount); 154 void racct_sub(struct proc *p, int resource, uint64_t amount); 156 uint64_t racct_get_limit(struct proc *p, int resource); 157 uint64_t racct_get_available(struct proc *p, int resource); 162 int racct_proc_fork(struct proc *parent, struct proc *child); 163 void racct_proc_fork_done(struct proc *child); [all …]
|
| D | resourcevar.h | 110 struct proc; 116 void calccru(struct proc *p, struct timeval *up, struct timeval *sp); 117 void calcru(struct proc *p, struct timeval *up, struct timeval *sp); 123 int kern_proc_setrlimit(struct thread *td, struct proc *p, u_int which, 128 rlim_t lim_cur(struct proc *p, int which); 129 void lim_fork(struct proc *p1, struct proc *p2); 133 rlim_t lim_max(struct proc *p, int which); 134 void lim_rlimit(struct proc *p, int which, struct rlimit *rlp); 138 void rufetch(struct proc *p, struct rusage *ru); 139 void rufetchcalc(struct proc *p, struct rusage *ru, struct timeval *up, [all …]
|
| D | kthread.h | 42 struct proc **global_procpp; /* ptr to proc ptr save area */ 52 int kproc_create(void (*)(void *), void *, struct proc **, 55 int kproc_resume(struct proc *); 58 int kproc_suspend(struct proc *, int); 59 void kproc_suspend_check(struct proc *); 63 struct proc **, 69 struct proc *, struct thread **,
|
| /freebsd-10-stable/contrib/apr-util/dbd/ |
| D | apr_dbd_freetds.c | 66 DBPROCESS *proc; member 78 DBPROCESS *proc; member 101 static RETCODE freetds_exec(DBPROCESS *proc, const char *query, in freetds_exec() argument 105 RETCODE rv = dbcmd(proc, query); in freetds_exec() 109 rv = dbsqlexec(proc); in freetds_exec() 114 while (dbresults(proc) != NO_MORE_RESULTS) { in freetds_exec() 146 sql->err = freetds_exec(sql->proc, query, 1, NULL); in dbd_freetds_select() 154 sql->err = dbresults(sql->proc); in dbd_freetds_select() 166 res->proc = sql->proc; in dbd_freetds_select() 169 res->ntuples = dblastrow(sql->proc); in dbd_freetds_select() [all …]
|
| /freebsd-10-stable/usr.sbin/rtprio/ |
| D | rtprio.c | 57 pid_t proc = 0; in main() local 70 proc = parseint(argv[1], "pid"); in main() 71 proc = abs(proc); in main() 74 if (rtprio(RTP_LOOKUP, proc, &rtp) != 0) in main() 110 proc = parseint(argv[2], "pid"); in main() 111 proc = abs(proc); in main() 114 if (rtprio(RTP_SET, proc, &rtp) != 0) in main() 117 if (proc == 0) { in main()
|
| /freebsd-10-stable/share/dtrace/ |
| D | watch_execve | 51 this->proc = curthread->td_proc; 52 this->pid0 = this->proc->p_pid; 53 this->uid0 = this->proc->p_ucred->cr_uid; 54 this->gid0 = this->proc->p_ucred->cr_rgid; 55 this->p_args = this->proc->p_args; 60 this->ar_args : stringof(this->proc->p_comm); 84 this->proc = this->proc->p_pptr; 85 this->pid1 = this->proc->p_pid; 86 this->uid1 = this->proc->p_ucred->cr_uid; 87 this->gid1 = this->proc->p_ucred->cr_rgid; [all …]
|
| D | watch_kill | 54 this->proc = curthread->td_proc; 55 this->pid0 = this->proc->p_pid; 56 this->uid0 = this->proc->p_ucred->cr_uid; 57 this->gid0 = this->proc->p_ucred->cr_rgid; 58 this->p_args = this->proc->p_args; 63 this->ar_args : stringof(this->proc->p_comm); 87 this->proc = this->proc->p_pptr; 88 this->pid1 = this->proc->p_pid; 89 this->uid1 = this->proc->p_ucred->cr_uid; 90 this->gid1 = this->proc->p_ucred->cr_rgid; [all …]
|
| /freebsd-10-stable/sys/cddl/compat/opensolaris/sys/ |
| 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-10-stable/tools/debugscripts/ |
| D | gdbinit.i386 | 236 set $proc = allproc.lh_first 238 set $pptr = $proc.p_pptr 239 if ($proc->p_pid == $arg0) 240 set $pcba = $proc->p_threads.tqh_first->td_pcb 245 set $aproc = $proc.p_list.le_next 249 set $proc = $aproc 280 set $proc = allproc.lh_first 282 if ($proc->p_pid == $arg0) 283 btr $proc->p_threads.tqh_first->td_pcb->pcb_ebp 286 set $aproc = $proc.p_list.le_next [all …]
|
| /freebsd-10-stable/usr.sbin/rpcbind/ |
| 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()
|