Home
last modified time | relevance | path

Searched full:proc (Results 1 – 25 of 2222) sorted by relevance

12345678910>>...89

/freebsd-src/usr.bin/rpcgen/
H A Drpc_clntout.c72 proc_list *proc; in write_program() local
75 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_program()
78 ptype(proc->res_prefix, proc->res_type, 1); in write_program()
80 pvname(proc->proc_name, vp->vers_num); in write_program()
81 printarglist(proc, RESULT, "clnt", "CLIENT *"); in write_program()
84 pvname(proc->proc_name, vp->vers_num); in write_program()
85 printarglist(proc, RESULT, "clnt", "CLIENT *"); in write_program()
89 printbody(proc); in write_program()
105 printarglist(proc_list *proc, const char *result, const char *addargname, in printarglist() argument
114 ptype(proc->args.decls->decl.prefix, in printarglist()
[all …]
H A Drpc_sample.c78 proc_list *proc; in write_sample_client() local
88 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_sample_client()
92 ptype(proc->res_prefix, proc->res_type, 1); in write_sample_client()
95 ptype(proc->res_prefix, proc->res_type, 1); in write_sample_client()
99 if(proc->arg_num < 2 && !newstyle) { in write_sample_client()
101 if(!streq(proc->args.decls->decl.type, "void")) in write_sample_client()
102 ptype(proc->args.decls->decl.prefix, in write_sample_client()
103 proc->args.decls->decl.type, 1); in write_sample_client()
107 pvname(proc->proc_name, vp->vers_num); in write_sample_client()
109 } else if (!streq(proc->args.decls->decl.type, "void")) { in write_sample_client()
[all …]
H A Drpc_tblout.c79 proc_list *proc; in write_table() local
98 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_table()
99 current = atoi(proc->proc_num); in write_table()
114 pvname_svc(proc->proc_name, vp->vers_num); in write_table()
118 pvname(proc->proc_name, vp->vers_num); in write_table()
123 if( proc->arg_num > 1 ) in write_table()
124 printit((char*) NULL, proc->args.argname ); in write_table()
127 printit( proc->args.decls->decl.prefix, in write_table()
128 proc->args.decls->decl.type ); in write_table()
130 printit(proc->res_prefix, proc->res_type); in write_table()
H A Drpc_hout.c240 proc_list *proc; in define_printed() local
243 for (proc = vers->procs; proc != NULL; proc = proc->next) { in define_printed()
244 if (proc == stop) { in define_printed()
246 } else if (streq(proc->proc_name, stop->proc_name)) { in define_printed()
276 proc_list *proc; in pprogramdef() local
299 for (proc = vers->procs; proc != NULL; proc = proc->next) { in pprogramdef()
300 if (!define_printed(proc, def->def.pr.versions)) { in pprogramdef()
301 puldefine(proc->proc_name, proc->proc_num); in pprogramdef()
304 pprocdef(proc, vers, "CLIENT *", 0); in pprogramdef()
306 pprocdef(proc, vers, "struct svc_req *", 1); in pprogramdef()
[all …]
H A Drpc_svcout.c326 proc_list *proc; in write_real_program() local
331 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_real_program()
334 internal_proctype(proc); in write_real_program()
338 pvname(proc->proc_name, vp->vers_num); in write_real_program()
341 if (proc->arg_num > 1) in write_real_program()
342 fputs(proc->args.argname, fout); in write_real_program()
344 ptype(proc->args.decls->decl.prefix, in write_real_program()
345 proc->args.decls->decl.type, 0); in write_real_program()
358 pvname_svc(proc->proc_name, vp->vers_num); in write_real_program()
360 if (proc->arg_num < 2) { /* single argument */ in write_real_program()
[all …]
/freebsd-src/share/man/man4/
H A Ddtrace_proc.432 .Fn proc:::create "struct proc *" "struct proc *" "int"
33 .Fn proc:::exec "char *"
34 .Fn proc:::exec-failure "int"
35 .Fn proc:::exec-success "char *"
36 .Fn proc:::exit "int"
37 .Fn proc:::signal-clear "int" "ksiginfo_t *"
38 .Fn proc:::signal-discard "struct thread *" "struct proc *" "int"
39 .Fn proc:::signal-send "struct thread *" "struct proc *" "int"
42 .Nm proc
47 .Fn proc:::create
[all …]
H A Dprocfs.412 proc /proc procfs rw 0 0
28 .Pa /proc .
247 .Bl -tag -width /proc/curproc/XXXXXXX -compact
248 .It Pa /proc
251 .It Pa /proc/pid
254 .It Pa /proc/curproc
256 .It Pa /proc/self
258 .It Pa /proc/curproc/cmdline
260 .It Pa /proc/curproc/etype
262 .It Pa /proc/curproc/exe
[all …]
H A Dlinprocfs.412 linproc /compat/linux/proc linprocfs rw 0 0
49 .Bl -tag -width /compat/linux/proc/self/XXXXXXX -compact
50 .It Pa /compat/linux/proc
53 .It Pa /compat/linux/proc/cpuinfo
55 .It Pa /compat/linux/proc/meminfo
57 .It Pa /compat/linux/proc/pid
60 .It Pa /compat/linux/proc/self
62 .It Pa /compat/linux/proc/self/exe
64 .It Pa /compat/linux/proc/self/mem
71 .Pa /compat/linux/proc :
[all …]
/freebsd-src/cddl/usr.sbin/dwatch/libexec/
H A Dproc15 proc)
17 proc:::create, \
18 proc:::exec, \
19 proc:::exec-failure, \
20 proc:::exec-success, \
21 proc:::exit, \
22 proc:::signal-clear, \
23 proc:::signal-discard, \
24 proc:::signal-send )}
26 proc-signal)
[all …]
H A DMakefile10 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
[all...]
/freebsd-src/sys/fs/pseudofs/
H A Dpseudofs_vnops.c46 #include <sys/proc.h>
89 pfs_visible_proc(struct thread *td, struct pfs_node *pn, struct proc *proc) in pfs_visible_proc() argument
92 if (proc == NULL) in pfs_visible_proc()
95 PROC_LOCK_ASSERT(proc, MA_OWNED); in pfs_visible_proc()
97 if ((proc->p_flag & P_WEXIT) != 0) in pfs_visible_proc()
99 if (p_cansee(td, proc) != 0) in pfs_visible_proc()
101 return (pn_vis(td, proc, pn)); in pfs_visible_proc()
106 struct proc **p) in pfs_visible()
108 struct proc *proc; in pfs_visible() local
117 proc = pfind(pid); in pfs_visible()
[all …]
/freebsd-src/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_proc.cpp23 Processor *proc = new(mem) Processor; in ProcCreate() local
24 proc->thr = nullptr; in ProcCreate()
26 AllocatorProcStart(proc); in ProcCreate()
29 proc->dd_pt = ctx->dd->CreatePhysicalThread(); in ProcCreate()
30 return proc; in ProcCreate()
33 void ProcDestroy(Processor *proc) { in ProcDestroy() argument
34 CHECK_EQ(proc->thr, nullptr); in ProcDestroy()
36 AllocatorProcFinish(proc); in ProcDestroy()
38 ctx->metamap.OnProcIdle(proc); in ProcDestroy()
40 ctx->dd->DestroyPhysicalThread(proc->dd_pt); in ProcDestroy()
[all …]
H A Dtsan_sync.cpp48 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()
68 bool MetaMap::FreeRange(Processor *proc, uptr p, uptr sz, bool reset) { in FreeRange() argument
84 block_alloc_.Free(&proc->block_cache, idx & ~kFlagMask); in FreeRange()
92 sync_alloc_.Free(&proc->sync_cache, idx & ~kFlagMask); in FreeRange()
108 void MetaMap::ResetRange(Processor *proc, uptr p, uptr sz, bool reset) { in ResetRange() argument
112 FreeRange(proc, p, sz, reset); in ResetRange()
119 FreeRange(proc, p, sz, reset); in ResetRange()
125 FreeRange(proc, p, diff, reset); in ResetRange()
[all …]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmap/
H A Dmmap_sync_001_pos.ksh28 log_must eval "echo $saved_vm_dirty_expire_centisecs > /proc/sys/vm/dirty_expire_centisecs"
29 log_must eval "echo $saved_vm_dirty_background_ratio > /proc/sys/vm/dirty_background_ratio"
30 log_must eval "echo $saved_vm_dirty_writeback_centisecs > /proc/sys/vm/dirty_writeback_centisecs"
34 if [ $(</proc/sys/vm/dirty_expire_centisecs) -eq 1 ]; then
35 log_must eval "echo 3000 > /proc/sys/vm/dirty_expire_centisecs"
38 if [ $(</proc/sys/vm/dirty_background_ratio) -eq 0 ]; then
39 log_must eval "echo 10 > /proc/sys/vm/dirty_background_ratio"
42 if [ $(</proc/sys/vm/dirty_writeback_centisecs) -eq 1 ]; then
43 log_must eval "echo 500 > /proc/sys/vm/dirty_writeback_centisecs"
48 log_unsupported "Only supported on Linux, requires /proc/sys/vm/ tunables"
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/remoteproc/
H A Dqcom,rpm-proc.yaml4 $id: http://devicetree.org/schemas/remoteproc/qcom,rpm-proc.yaml#
18 | RPM subsystem (qcom,rpm-proc) |
69 - qcom,apq8084-rpm-proc
70 - qcom,ipq6018-rpm-proc
71 - qcom,ipq9574-rpm-proc
72 - qcom,mdm9607-rpm-proc
73 - qcom,msm8226-rpm-proc
74 - qcom,msm8610-rpm-proc
75 - qcom,msm8909-rpm-proc
76 - qcom,msm8916-rpm-proc
[all...]
/freebsd-src/sys/sys/
H A Dracct.h44 struct proc;
174 int racct_add(struct proc *p, int resource, uint64_t amount);
176 void racct_add_force(struct proc *p, int resource, uint64_t amount);
177 void racct_add_buf(struct proc *p, const struct buf *bufp, int is_write);
178 int racct_set(struct proc *p, int resource, uint64_t amount);
179 int racct_set_unlocked(struct proc *p, int resource, uint64_t amount);
180 void racct_set_force(struct proc *p, int resource, uint64_t amount);
181 void racct_sub(struct proc *p, int resource, uint64_t amount);
183 uint64_t racct_get_limit(struct proc *p, int resource);
184 uint64_t racct_get_available(struct proc *p, int resource);
[all …]
H A Dproc.h72 #include <machine/proc.h> /* Machine-dependent proc substruct. */
87 struct proc *s_leader; /* (m + e) Session leader. */
107 LIST_HEAD(, proc) pg_members; /* (m + e) Pointer to pgrp members. */
139 * Below is a key of locks used to protect each member of struct proc. The
147 * c - locked by proc mtx
154 * j - locked by proc slock
158 * l - the attaching proc or attaching proc parent
187 struct proc;
651 struct proc { global() struct
654 p_slockproc global() argument
672 p_pidproc global() argument
674 p_pptrproc global() argument
677 p_reaperproc global() argument
686 p_ksiproc global() argument
687 p_sigqueueproc global() argument
689 p_oppidproc global() argument
693 p_vmspaceproc global() argument
694 p_swtickproc global() argument
695 p_cowgenproc global() argument
719 p_procdescproc global() argument
720 p_treeflagproc global() argument
721 p_pendingexitsproc global() argument
722 p_filemonproc global() argument
723 p_pdeathsigproc global() argument
751 p_pgrpproc global() argument
752 p_klistproc global() argument
754 p_mdproc global() argument
757 p_peersproc global() argument
758 p_leaderproc global() argument
763 p_dtraceproc global() argument
774 p_throttledproc global() argument
[all...]
H A Dresourcevar.h48 * c - locked by proc mtx
50 * w - locked by proc itim lock
51 * w2 - locked by proc prof lock
132 struct proc;
138 void calccru(struct proc *p, struct timeval *up, struct timeval *sp);
139 void calcru(struct proc *p, struct timeval *up, struct timeval *sp);
147 int kern_proc_setrlimit(struct thread *td, struct proc *p, u_int which,
166 rlim_t lim_cur_proc(struct proc *p, int which);
167 void lim_fork(struct proc *p1, struct proc *p
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparc.td116 class Proc<string Name, list<SubtargetFeature> Features,
120 def : Proc<"generic", []>;
121 def : Proc<"v7", [FeatureSoftMulDiv, FeatureNoFSMULD]>;
122 def : Proc<"v8", []>;
123 def : Proc<"supersparc", []>;
124 def : Proc<"sparclite", []>;
125 def : Proc<"f934", []>;
126 def : Proc<"hypersparc", []>;
127 def : Proc<"sparclite86x", []>;
128 def : Proc<"sparcle
[all...]
/freebsd-src/tools/debugscripts/
H A Dgdbinit.kernel200 set $proc = allproc.lh_first
202 printf "pid/ID ppid/tid uid pgrp flag st comm/name proc/thread\n"
204 set $pptr = $proc.p_pptr
206 set $pptr = $proc
208 if ($proc.p_state)
210 $proc.p_pid, $pptr->p_pid, \
211 $proc.p_ucred->cr_ruid, \
212 $proc.p_pgrp->pg_id, $proc.p_flag, $proc.p_state, \
213 &$proc.p_comm[0], $aproc
214 set $thread = $proc->p_threads.tqh_first
[all …]
H A Dgdbinit.i386235 set $proc = allproc.lh_first
237 set $pptr = $proc.p_pptr
238 if ($proc->p_pid == $arg0)
239 set $pcba = $proc->p_threads.tqh_first->td_pcb
244 set $aproc = $proc.p_list.le_next
248 set $proc = $aproc
279 set $proc = allproc.lh_first
281 if ($proc->p_pid == $arg0)
282 btr $proc->p_threads.tqh_first->td_pcb->pcb_ebp
285 set $aproc = $proc.p_list.le_next
[all …]
/freebsd-src/lib/libkvm/
H A Dkvm_proc.c38 * Proc traversal interface for kvm. ps and w are (probably) the exclusive
53 #include <sys/proc.h>
101 * Read proc's from memory file into buffer bp, which has space to hold
105 kvm_proclist(kvm_t *kd, int what, int arg, struct proc *p, in kvm_proclist()
122 struct proc proc; in kvm_proclist() local
123 struct proc pproc; in kvm_proclist()
136 for (; cnt < maxcnt && p != NULL; p = LIST_NEXT(&proc, p_list)) { in kvm_proclist()
138 if (KREAD(kd, (u_long)p, &proc)) { in kvm_proclist()
139 _kvm_err(kd, kd->program, "can't read proc a in kvm_proclist()
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTX.td52 class Proc<string Name, list<SubtargetFeature> Features>
55 def : Proc<"sm_20", [SM20, PTX32]>;
56 def : Proc<"sm_21", [SM21, PTX32]>;
57 def : Proc<"sm_30", [SM30]>;
58 def : Proc<"sm_32", [SM32, PTX40]>;
59 def : Proc<"sm_35", [SM35, PTX32]>;
60 def : Proc<"sm_37", [SM37, PTX41]>;
61 def : Proc<"sm_50", [SM50, PTX40]>;
62 def : Proc<"sm_52", [SM52, PTX41]>;
63 def : Proc<"sm_5
[all...]
/freebsd-src/share/man/man9/
H A Dkproc.946 .Fa "void (*func)(void *)" "void *arg" "struct proc **newpp"
53 .Fn kproc_resume "struct proc *p"
55 .Fn kproc_suspend "struct proc *p" "int timo"
57 .Fn kproc_suspend_check "struct proc *p"
61 .Fa "struct proc **procptr" "struct thread **tdptr"
107 struct proc **global_procpp;
120 .Vt "struct proc" .
125 .Vt "struct proc"
151 .Vt "struct proc"
170 .Vt "struct proc" .
[all …]
/freebsd-src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/
H A Dtst.startexit.ksh31 # 1. proc:::start
32 # 2. proc:::lwp-start
33 # 3. proc:::lwp-exit
34 # 4. proc:::exit
42 proc:::start
48 proc:::lwp-start
54 proc:::lwp-exit
60 proc:::exit

12345678910>>...89