| /freebsd-14.2/usr.bin/rpcgen/ |
| H A D | rpc_clntout.c | 80 proc_list *proc; in write_program() local 83 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_program() 86 ptype(proc->res_prefix, proc->res_type, 1); in write_program() 127 ptype(proc->res_prefix, proc->res_type, 1); in printarglist() 136 ptype(proc->res_prefix, proc->res_type, 1); in printarglist() 148 ptype(proc->res_prefix, proc->res_type, 1); in printarglist() 189 ptype(proc->res_prefix, proc->res_type, 0); in printbody() 211 stringfix(proc->res_type), (mtflag)?"":ampr(proc->res_type), in printbody() 234 proc->proc_name,proc->args.argname); in printbody() 237 stringfix(proc->res_type), (mtflag)?"":ampr(proc->res_type), in printbody() [all …]
|
| H A D | rpc_sample.c | 81 proc_list *proc; in write_sample_client() local 91 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_sample_client() 95 ptype(proc->res_prefix, proc->res_type, 1); in write_sample_client() 98 ptype(proc->res_prefix, proc->res_type, 1); in write_sample_client() 102 if(proc->arg_num < 2 && !newstyle) { in write_sample_client() 135 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_sample_client() 176 ptype(proc->res_prefix, proc->res_type, 1); in write_sample_client() 193 proc_list *proc; in write_sample_server() local 196 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_sample_server() 199 return_type(proc); in write_sample_server() [all …]
|
| H A D | rpc_tblout.c | 87 proc_list *proc; in write_table() local 106 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_table() 107 current = atoi(proc->proc_num); in write_table() 122 pvname_svc(proc->proc_name, vp->vers_num); in write_table() 126 pvname(proc->proc_name, vp->vers_num); in write_table() 131 if( proc->arg_num > 1 ) in write_table() 132 printit((char*) NULL, proc->args.argname ); in write_table() 135 printit( proc->args.decls->decl.prefix, in write_table() 136 proc->args.decls->decl.type ); in write_table() 138 printit(proc->res_prefix, proc->res_type); in write_table()
|
| H A D | rpc_svcout.c | 334 proc_list *proc; in write_real_program() local 339 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_real_program() 342 internal_proctype(proc); in write_real_program() 349 if (proc->arg_num > 1) in write_real_program() 388 proc_list *proc; in write_program() local 405 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_program() 433 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_program() 438 ptype(proc->res_prefix, proc->res_type, 0); in write_program() 478 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_program() 573 nullproc(proc_list *proc) in nullproc() argument [all …]
|
| H A D | rpc_hout.c | 248 proc_list *proc; in define_printed() local 251 for (proc = vers->procs; proc != NULL; proc = proc->next) { in define_printed() 252 if (proc == stop) { in define_printed() 284 proc_list *proc; in pprogramdef() local 307 for (proc = vers->procs; proc != NULL; proc = proc->next) { in pprogramdef() 309 puldefine(proc->proc_name, proc->proc_num); in pprogramdef() 312 pprocdef(proc, vers, "CLIENT *", 0); in pprogramdef() 329 ptype(proc->res_prefix, proc->res_type, 1); in pprocdef() 337 parglist(proc, addargtype); in pprocdef() 349 if (proc->arg_num < 2 && newstyle && in parglist() [all …]
|
| /freebsd-14.2/cddl/usr.sbin/dwatch/libexec/ |
| H A D | proc | 15 proc) 17 proc:::create, \ 18 proc:::exec, \ 21 proc:::exit, \ 24 proc:::signal-send )} 26 proc-signal) 32 proc-status) 34 proc:::create, \ 35 proc:::exec, \ 38 proc:::exit )} [all …]
|
| H A D | Makefile | 11 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-14.2/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() 41 proc->~Processor(); in ProcDestroy() 42 InternalFree(proc); in ProcDestroy() 48 thr->proc1 = proc; in ProcWire() 49 proc->thr = thr; in ProcWire() 53 CHECK_EQ(thr->proc1, proc); in ProcUnwire() 54 CHECK_EQ(proc->thr, thr); in ProcUnwire() [all …]
|
| H A D | tsan_sync.cpp | 48 u32 idx = block_alloc_.Alloc(&thr->proc()->block_cache); in AllocBlock() 59 uptr MetaMap::FreeBlock(Processor *proc, uptr p, bool reset) { in FreeBlock() argument 64 FreeRange(proc, p, sz, reset); in FreeBlock() 112 FreeRange(proc, p, sz, reset); in ResetRange() 119 FreeRange(proc, p, sz, reset); in ResetRange() 125 FreeRange(proc, p, diff, reset); in ResetRange() 131 FreeRange(proc, p + sz - diff, diff, reset); in ResetRange() 232 myidx = sync_alloc_.Alloc(&thr->proc()->sync_cache); in GetSync() 277 void MetaMap::OnProcIdle(Processor *proc) { in OnProcIdle() argument 278 block_alloc_.FlushCache(&proc->block_cache); in OnProcIdle() [all …]
|
| H A D | tsan_mman.cpp | 62 Processor *proc; member 72 proc(ProcCreate()), in GlobalProc() 89 if (thr->proc()) in ScopedGlobalProcessor() 106 ProcWire(gp->proc, thr); in ScopedGlobalProcessor() 112 if (thr->proc() != gp->proc) in ~ScopedGlobalProcessor() 114 ProcUnwire(gp->proc, thr); in ~ScopedGlobalProcessor() 152 void AllocatorProcStart(Processor *proc) { in AllocatorProcStart() argument 153 allocator()->InitCache(&proc->alloc_cache); in AllocatorProcStart() 157 void AllocatorProcFinish(Processor *proc) { in AllocatorProcFinish() argument 158 allocator()->DestroyCache(&proc->alloc_cache); in AllocatorProcFinish() [all …]
|
| /freebsd-14.2/sys/fs/pseudofs/ |
| H A D | pseudofs_vnops.c | 108 struct proc *proc; in pfs_visible() local 134 struct proc *proc; in pfs_lookup_proc() local 145 *p = proc; in pfs_lookup_proc() 180 struct proc *proc; in pfs_close() local 217 struct proc *proc; in pfs_getattr() local 284 struct proc *proc; in pfs_ioctl() local 337 struct proc *proc; in pfs_getextattr() local 674 struct proc *proc; in pfs_read() local 848 struct proc *p, *proc; in pfs_readdir() local 985 struct proc *proc = NULL; in pfs_readlink() local [all …]
|
| /freebsd-14.2/sys/sys/ |
| H A D | racct.h | 45 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 | 189 struct proc; 651 struct proc { struct 1103 LIST_HEAD(proclist, proc); 1104 TAILQ_HEAD(procqueue, proc); 1123 struct proc **fr_procp; 1169 int cr_cansignal(struct ucred *cred, struct proc *proc, int signum); 1173 void faultin(struct proc *p); 1178 int inferior(struct proc *p); 1198 void proc_add_orphan(struct proc *child, struct proc *parent); 1208 struct proc *proc_realparent(struct proc *child); [all …]
|
| H A D | resourcevar.h | 134 struct proc; 140 void calccru(struct proc *p, struct timeval *up, struct timeval *sp); 141 void calcru(struct proc *p, struct timeval *up, struct timeval *sp); 149 int kern_proc_setrlimit(struct thread *td, struct proc *p, u_int which, 168 rlim_t lim_cur_proc(struct proc *p, int which); 169 void lim_fork(struct proc *p1, struct proc *p2); 177 rlim_t lim_max_proc(struct proc *p, int which); 179 void lim_rlimit_proc(struct proc *p, int which, struct rlimit *rlp); 183 void rufetch(struct proc *p, struct rusage *ru); 187 void ruxagg(struct proc *p, struct thread *td); [all …]
|
| H A 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 **,
|
| H A D | rctl.h | 43 struct proc; 69 struct proc *rs_proc; 142 int rctl_enforce(struct proc *p, int resource, uint64_t amount); 144 int64_t rctl_pcpu_available(const struct proc *p); 145 uint64_t rctl_get_limit(struct proc *p, int resource); 146 uint64_t rctl_get_available(struct proc *p, int resource); 148 void rctl_proc_ucred_changed(struct proc *p, struct ucred *newcred); 149 int rctl_proc_fork(struct proc *parent, struct proc *child);
|
| /freebsd-14.2/lib/libkvm/ |
| H A D | kvm_proc.c | 124 struct proc proc; in kvm_proclist() local 125 struct proc pproc; in kvm_proclist() 217 kp->ki_fd = proc.p_fd; in kvm_proclist() 218 kp->ki_pd = proc.p_pd; in kvm_proclist() 230 if ((proc.p_flag & P_INMEM) && proc.p_stats != NULL) { in kvm_proclist() 251 if (proc.p_oppid) in kvm_proclist() 253 else if (proc.p_pptr) { in kvm_proclist() 262 if (proc.p_pgrp == NULL) in kvm_proclist() 266 proc.p_pgrp); in kvm_proclist() 364 kp->ki_xstat = KW_EXITCODE(proc.p_xexit, proc.p_xsig); in kvm_proclist() [all …]
|
| /freebsd-14.2/usr.sbin/rtprio/ |
| H A 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-14.2/tools/test/stress2/misc/ |
| H A D | procfs6.sh | 34 if ! mount | grep -q /proc; then 35 mount -t procfs null /proc || exit 1 38 [ `ls /proc | wc -l` -eq 0 ] && { ls -l /proc; exit 1; } 39 [ `ls /proc/$$ | wc -l` -eq 0 ] && { ls -l /proc; exit 1; } 41 [ $mounted ] && umount /proc
|
| /freebsd-14.2/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-14.2/tools/debugscripts/ |
| H A D | gdbinit.i386 | 235 set $proc = allproc.lh_first 237 set $pptr = $proc.p_pptr 248 set $proc = $aproc 279 set $proc = allproc.lh_first 289 set $proc = $aproc 307 set $pptr = $proc 309 if ($proc.p_stat) 313 $proc.p_pgrp->pg_id, $proc.p_flag, $proc.p_stat, \ 315 if ($proc.p_wchan) 322 if ($proc->p_flag & 4) [all …]
|
| H A D | gdbinit.kernel | 206 set $pptr = $proc 208 if ($proc.p_state) 212 $proc.p_pgrp->pg_id, $proc.p_flag, $proc.p_state, \ 230 set $proc = $aproc 245 set $pptr = $proc.p_pptr 247 set $pptr = $proc 249 set $myvectorproc = $proc 250 if ($proc.p_state) 255 $proc.p_uarea, $proc.p_ucred->cr_ruid, $pptr->p_pid, \ 256 $proc.p_pgrp->pg_id, $proc.p_flag, $proc.p_state, \ [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmap/ |
| H A D | mmap_sync_001_pos.ksh | 34 if [ $(</proc/sys/vm/dirty_expire_centisecs) -eq 1 ]; then 38 if [ $(</proc/sys/vm/dirty_background_ratio) -eq 0 ]; then 42 if [ $(</proc/sys/vm/dirty_writeback_centisecs) -eq 1 ]; then 54 read -r saved_vm_dirty_expire_centisecs < /proc/sys/vm/dirty_expire_centisecs 55 read -r saved_vm_dirty_background_ratio < /proc/sys/vm/dirty_background_ratio 56 read -r saved_vm_dirty_writeback_centisecs < /proc/sys/vm/dirty_writeback_centisecs
|
| /freebsd-14.2/usr.sbin/rpcbind/ |
| H A D | rpcb_stat.c | 62 rpcbs_procinfo(rpcvers_t rtype, rpcproc_t proc) in rpcbs_procinfo() argument 67 if (proc > rpcb_highproc_2) in rpcbs_procinfo() 72 if (proc > rpcb_highproc_3) in rpcbs_procinfo() 76 if (proc > rpcb_highproc_4) in rpcbs_procinfo() 81 inf[rtype].info[proc]++; in rpcbs_procinfo() 149 rpcvers_t vers, rpcproc_t proc, char *netid, rpcblist_ptr rbl) in rpcbs_rmtcall() argument 162 (rl->proc == proc) && in rpcbs_rmtcall() 184 rl->proc = proc; in rpcbs_rmtcall()
|
| /freebsd-14.2/sys/compat/linuxkpi/common/src/ |
| H A D | linux_current.c | 57 find_other_mm(struct proc *p) in find_other_mm() 81 struct proc *proc; in linux_alloc_current() local 111 proc = td->td_proc; in linux_alloc_current() 113 PROC_LOCK(proc); in linux_alloc_current() 114 mm_other = find_other_mm(proc); in linux_alloc_current() 118 PROC_UNLOCK(proc); in linux_alloc_current() 128 PROC_LOCK(proc); in linux_alloc_current() 148 PROC_UNLOCK(proc); in linux_alloc_current() 199 struct proc *p; in linux_get_pid_task_int() 247 struct proc *p; in linux_task_exiting() [all …]
|