Home
last modified time | relevance | path

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

12345678910>>...88

/freebsd/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 …]
/freebsd/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 Dlinprocfs.412 linprocfs /compat/linux/proc linprocfs rw 0 0
85 .Bl -tag -width /compat/linux/proc/filesystems -compact
86 .It Pa /compat/linux/proc
89 .It Pa /compat/linux/proc/cmdline
91 .It Pa /compat/linux/proc/cpuinfo
93 .It Pa /compat/linux/proc/devices
97 .It Pa /compat/linux/proc/filesystems
101 .It Pa /compat/linux/proc/meminfo
103 .It Pa /compat/linux/proc/modules
106 .It Pa /compat/linux/proc/mounts
[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 …]
/freebsd/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 ${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/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/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 …]
/freebsd/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/share/man/man5/
H A Dprocfs.5
H A Dlinprocfs.5
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmap/
H A Dmmap_sync_001_pos.ksh29 log_must eval "echo $saved_vm_dirty_expire_centisecs > /proc/sys/vm/dirty_expire_centisecs"
30 log_must eval "echo $saved_vm_dirty_background_ratio > /proc/sys/vm/dirty_background_ratio"
31 log_must eval "echo $saved_vm_dirty_writeback_centisecs > /proc/sys/vm/dirty_writeback_centisecs"
35 if [ $(</proc/sys/vm/dirty_expire_centisecs) -eq 1 ]; then
36 log_must eval "echo 3000 > /proc/sys/vm/dirty_expire_centisecs"
39 if [ $(</proc/sys/vm/dirty_background_ratio) -eq 0 ]; then
40 log_must eval "echo 10 > /proc/sys/vm/dirty_background_ratio"
43 if [ $(</proc/sys/vm/dirty_writeback_centisecs) -eq 1 ]; then
44 log_must eval "echo 500 > /proc/sys/vm/dirty_writeback_centisecs"
49 log_unsupported "Only supported on Linux, requires /proc/sys/vm/ tunables"
[all …]
/freebsd/sys/sys/
H A Dracct.h44 struct proc;
178 int racct_add(struct proc *p, int resource, uint64_t amount);
180 void racct_add_force(struct proc *p, int resource, uint64_t amount);
181 void racct_add_buf(struct proc *p, const struct buf *bufp, int is_write);
182 int racct_set(struct proc *p, int resource, uint64_t amount);
183 int racct_set_unlocked(struct proc *p, int resource, uint64_t amount);
184 void racct_set_force(struct proc *p, int resource, uint64_t amount);
185 void racct_sub(struct proc *p, int resource, uint64_t amount);
187 uint64_t racct_get_limit(struct proc *p, int resource);
188 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;
236 struct proc *td_proc; /* (*) Associated process. */
237 TAILQ_ENTRY(thread) td_plist; /* (*) All threads in this proc. */
[all …]
H A Dresourcevar.h48 * c - locked by proc mtx
50 * w - locked by proc itim lock
51 * w2 - locked by proc prof lock
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);
151 int kern_proc_setrlimit(struct thread *td, struct proc *p, u_int which,
170 rlim_t lim_cur_proc(struct proc *p, int which);
171 void lim_fork(struct proc *p1, struct proc *p2);
179 rlim_t lim_max_proc(struct proc *p, int which);
[all …]
/freebsd/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<"sparclet", []>;
[all …]
/freebsd/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 at %p", p); in kvm_proclist()
142 if (proc.p_state == PRS_NEW) in kvm_proclist()
[all …]
/freebsd/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/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_53", [SM53, PTX42]>;
[all …]
/freebsd/contrib/sqlite3/autosetup/
H A Dautosetup18 proc main {argv} {
248 proc opt-bool {args} {
279 proc opt-val {names {default ""}} {
320 proc opt-str {names varname args} {
366 proc option-check-names {args} {
377 proc options-add {opts} {
520 proc module-options {opts} {
524 proc max {a b} {
528 proc options-wrap-desc {text length firstprefix nextprefix initial} {
552 proc options-show {what} {
[all …]
/freebsd/libexec/flua/lfbsd/
H A Dlfbsd.c90 struct fbsd_process *proc; in lua_exec() local
117 proc = lua_newuserdata(L, sizeof(*proc)); in lua_exec()
118 proc->stdin_fileno = stdin_pipe[1]; in lua_exec()
119 proc->stdout_fileno = stdout_pipe[1]; in lua_exec()
161 proc->pid = pid; in lua_exec()
170 struct fbsd_process *proc; in lua_process_close() local
173 proc = luaL_checkudata(L, 1, FBSD_PROCESSHANDLE); in lua_process_close()
174 while (waitpid(proc->pid, &pstat, 0) == -1) { in lua_process_close()
189 if (proc->stdin_fileno >= 0) { in lua_process_close()
190 close(proc->stdin_fileno); in lua_process_close()
[all …]

12345678910>>...88