Home
last modified time | relevance | path

Searched refs:proc (Results 1 – 25 of 1039) sorted by relevance

12345678910>>...42

/openbsd/sys/sys/
H A Dsyscallargs.h1162 int sys_exit(struct proc *, void *, register_t *);
1163 int sys_fork(struct proc *, void *, register_t *);
1164 int sys_read(struct proc *, void *, register_t *);
1166 int sys_open(struct proc *, void *, register_t *);
1170 int sys_link(struct proc *, void *, register_t *);
1200 int sys_sync(struct proc *, void *, register_t *);
1201 int sys_stat(struct proc *, void *, register_t *);
1204 int sys_dup(struct proc *, void *, register_t *);
1215 int sys_mmap(struct proc *, void *, register_t *);
1218 int sys_acct(struct proc *, void *, register_t *);
[all …]
H A Dpledge.h119 int pledge_fail(struct proc *, int, uint64_t);
123 int pledge_sendfd(struct proc *p, struct file *);
126 int pledge_chown(struct proc *p, uid_t, gid_t);
133 int pledge_ioctl_vmm(struct proc *p, long com);
134 int pledge_ioctl_psp(struct proc *p, long com);
135 int pledge_flock(struct proc *p);
136 int pledge_fcntl(struct proc *p, int cmd);
137 int pledge_swapctl(struct proc *p, int cmd);
138 int pledge_kill(struct proc *p, pid_t pid);
139 int pledge_profil(struct proc *, u_int);
[all …]
H A Dproc.h121 struct proc;
153 struct proc *ps_mainproc;
337 struct proc { struct
526 LIST_HEAD(proclist, proc);
563 void setrunnable(struct proc *);
566 void unsleep(struct proc *);
569 void exit2(struct proc *);
570 void cpu_fork(struct proc *_curp, struct proc *_child, void *_stack,
572 void cpu_exit(struct proc *);
583 refreshcreds(struct proc *p) in refreshcreds()
[all …]
H A Dexec.h73 struct proc;
84 int (*ev_proc)(struct proc *p, struct exec_vmcmd *cmd);
153 int vmcmd_map_readvn(struct proc *, struct exec_vmcmd *);
154 int vmcmd_map_zero(struct proc *, struct exec_vmcmd *);
155 int vmcmd_mutable(struct proc *, struct exec_vmcmd *);
156 int vmcmd_randomize(struct proc *, struct exec_vmcmd *);
160 int check_exec(struct proc *, struct exec_package *);
165 int (*proc)(struct proc *p, struct exec_vmcmd *),
168 #define NEW_VMCMD(evsp,proc,len,addr,vp,offset,prot) \ argument
169 new_vmcmd(evsp,proc,len,addr,vp,offset,prot, 0);
[all …]
H A Dsched.h109 struct proc *spc_idleproc; /* idle proc for this cpu */
110 TAILQ_HEAD(prochead, proc) spc_qs[SCHED_NQS];
111 LIST_HEAD(,proc) spc_deadproc;
151 struct proc;
152 void schedclock(struct proc *);
156 void userret(struct proc *p);
161 void sched_exit(struct proc *);
164 void cpu_switchto(struct proc *, struct proc *);
165 struct proc *sched_chooseproc(void);
166 struct cpu_info *sched_choosecpu(struct proc *);
[all …]
H A Dvnode.h342 struct proc *a_p;
350 struct proc *a_p;
358 struct proc *a_p;
366 struct proc *a_p;
374 struct proc *a_p;
400 struct proc *a_p;
403 struct proc *);
422 struct proc *a_p;
500 struct proc *a_p;
506 struct proc *a_p;
[all …]
H A Dfiledesc.h133 int dupfdopen(struct proc *, int, int);
134 int fdalloc(struct proc *p, int want, int *result);
135 void fdexpand(struct proc *);
136 struct file *fnew(struct proc *_p);
137 int falloc(struct proc *_p, struct file **_rfp, int *_rfd);
141 void fdfree(struct proc *p);
142 int fdrelease(struct proc *p, int);
145 void fdcloseexec(struct proc *);
146 struct file *fd_iterfile(struct file *, struct proc *);
151 int closef(struct file *, struct proc *);
[all …]
H A Dsignalvar.h111 int coredump(struct proc *p);
112 void execsigs(struct proc *p);
113 int cursig(struct proc *p, struct sigctx *, int);
116 void psignal(struct proc *p, int sig);
117 void ptsignal(struct proc *p, int sig, enum signal_type type);
119 void trapsignal(struct proc *p, int sig, u_long code, int type,
121 __dead void sigexit(struct proc *, int);
122 void sigabort(struct proc *);
123 int sigismasked(struct proc *, int);
125 int killpg1(struct proc *, int, int, int);
/openbsd/usr.bin/rpcgen/
H A Drpc_clntout.c74 proc_list *proc; local
77 for (proc = vp->procs; proc != NULL; proc = proc->next) {
79 ptype(proc->res_prefix, proc->res_type, 1);
84 printbody(proc);
99 proc_list *proc; in printarglist()
155 printbody(proc) in printbody() argument
156 proc_list *proc; in printbody()
173 ptype(proc->res_prefix, proc->res_type, 0);
185 stringfix(proc->res_type), ampr(proc->res_type), RESULT);
194 proc->args.argname);
[all …]
H A Drpc_sample.c84 proc_list *proc; local
97 for (proc = vp->procs; proc != NULL; proc = proc->next) {
99 ptype(proc->res_prefix, proc->res_type, 1);
102 if (proc->arg_num < 2 && !newstyle) {
133 for (proc = vp->procs; proc != NULL; proc = proc->next) {
167 proc_list *proc; local
170 for (proc = vp->procs; proc != NULL; proc = proc->next) {
175 return_type(proc);
182 if (!streq(proc->res_type, "void"))
183 return_type(proc);
[all …]
H A Drpc_tblout.c81 proc_list *proc; local
100 for (proc = vp->procs; proc != NULL; proc = proc->next) {
101 current = atoi(proc->proc_num);
118 pvname_svc(proc->proc_name, vp->vers_num);
122 pvname(proc->proc_name, vp->vers_num);
127 if (proc->arg_num > 1)
128 printit((char*) NULL, proc->args.argname);
131 printit(proc->args.decls->decl.prefix,
132 proc->args.decls->decl.type);
134 printit(proc->res_prefix, proc->res_type);
H A Drpc_svcout.c289 proc_list *proc; local
294 for (proc = vp->procs; proc != NULL; proc = proc->next) {
302 if (proc->arg_num > 1)
312 if (proc->arg_num > 1)
346 proc_list *proc; local
381 for (proc = vp->procs; proc != NULL; proc = proc->next) {
433 for (proc = vp->procs; proc != NULL; proc = proc->next) {
501 char *proc; in printif()
511 nullproc(proc) in nullproc() argument
512 proc_list *proc; in nullproc()
[all …]
H A Drpc_hout.c240 proc_list *proc; local
243 for (proc = vers->procs; proc != NULL; proc = proc->next) {
244 if (proc == stop) {
260 proc_list *proc; local
292 for (proc = vers->procs; proc != NULL; proc = proc->next) {
294 puldefine(proc->proc_name, proc->proc_num);
307 proc_list *proc; in pprocdef()
314 ptype(proc->res_prefix, proc->res_type, 1);
325 parglist(proc, addargtype);
332 parglist(proc, addargtype) in parglist() argument
[all …]
/openbsd/usr.sbin/lpd/
H A Dresolver.c154 m_end(proc); in resolver_dispatch_request()
162 s->proc = proc; in resolver_dispatch_request()
175 m_close(proc); in resolver_dispatch_request()
182 m_end(proc); in resolver_dispatch_request()
193 s->proc = proc; in resolver_dispatch_request()
211 m_close(proc); in resolver_dispatch_request()
247 m_end(proc); in resolver_dispatch_result()
275 m_end(proc); in resolver_dispatch_result()
287 m_end(proc); in resolver_dispatch_result()
327 m_close(s->proc); in resolver_getaddrinfo_cb()
[all …]
H A Dcontrol.c172 struct imsgproc *proc; in control_accept() local
191 proc = proc_attach(PROC_CLIENT, sock); in control_accept()
192 if (proc == NULL) { in control_accept()
198 proc_enable(proc); in control_accept()
202 control_close(struct imsgproc *proc) in control_close() argument
204 proc_free(proc); in control_close()
220 log_imsg(proc, imsg); in control_dispatch_priv()
224 m_end(proc); in control_dispatch_priv()
228 m_end(proc); in control_dispatch_priv()
242 control_close(proc); in control_dispatch_client()
[all …]
H A Dengine_lpr.c88 m_end(proc); in lpr_dispatch_frontend()
94 m_get_int(proc, &lng); in lpr_dispatch_frontend()
103 m_end(proc); in lpr_dispatch_frontend()
109 m_end(proc); in lpr_dispatch_frontend()
120 m_end(proc); in lpr_dispatch_frontend()
125 m_end(proc); in lpr_dispatch_frontend()
132 m_end(proc); in lpr_dispatch_frontend()
139 m_end(proc); in lpr_dispatch_frontend()
144 m_end(proc); in lpr_dispatch_frontend()
149 m_end(proc); in lpr_dispatch_frontend()
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_proc.cpp24 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 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()
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 …]
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dgnu-nat.c119 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 Dgnu-nat.h32 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 Dalpha-mdebug-tdep.c80 #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
/openbsd/sys/nfs/
H A Dnfs_var.h83 struct proc *, struct mbuf **);
85 struct proc *, struct mbuf **);
87 struct proc *, struct mbuf **);
91 struct proc *, struct mbuf **);
97 struct proc *, struct mbuf **);
101 struct proc *, struct mbuf **);
103 struct proc *, struct mbuf **);
107 struct proc *, struct mbuf **);
117 struct proc *, struct mbuf **);
119 struct proc *, struct mbuf **);
[all …]
/openbsd/usr.sbin/smtpd/
H A Dresolver.c45 struct mproc *proc; member
184 s->proc = proc; in resolver_dispatch_request()
197 m_close(proc); in resolver_dispatch_request()
215 s->proc = proc; in resolver_dispatch_request()
233 m_close(proc); in resolver_dispatch_request()
248 s->proc = proc; in resolver_dispatch_request()
264 m_close(proc); in resolver_dispatch_request()
399 m_close(s->proc); in resolver_getaddrinfo_cb()
405 m_close(s->proc); in resolver_getaddrinfo_cb()
422 m_close(s->proc); in resolver_getnameinfo_cb()
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/f/
H A Dglobal.c317 && g->u.proc.defined) in ffeglobal_new_progunit_()
368 g->u.proc.n_args = -1; in ffeglobal_new_progunit_()
369 g->u.proc.other_t = NULL; in ffeglobal_new_progunit_()
427 g->u.proc.n_args = -1; in ffeglobal_new_progunit_()
752 if (g->u.proc.n_args >= 0) in ffeglobal_proc_def_nargs()
776 g->u.proc.n_args = n_args; in ffeglobal_proc_def_nargs()
785 g->u.proc.arg_info in ffeglobal_proc_def_nargs()
827 if (g->u.proc.defined) in ffeglobal_proc_ref_arg()
1073 if (g->u.proc.n_args >= 0) in ffeglobal_proc_ref_nargs()
1128 g->u.proc.arg_info in ffeglobal_proc_ref_nargs()
[all …]
/openbsd/sys/arch/alpha/alpha/
H A Dprocess_machdep.c99 struct proc *p; in process_read_regs()
111 struct proc *p; in process_read_fpregs()
126 struct proc *p; in process_write_regs()
138 struct proc *p; in process_set_pc()
149 struct proc *p; in process_write_fpregs()
163 int ptrace_set_bpt(struct proc *p, struct mdbpt *bpt);
164 int ptrace_clear_bpt(struct proc *p, struct mdbpt *bpt);
206 ptrace_read_register(struct proc *p, int regno) in ptrace_read_register()
253 ptrace_clear_bpt(struct proc *p, struct mdbpt *bpt) in ptrace_clear_bpt()
259 ptrace_set_bpt(struct proc *p, struct mdbpt *bpt) in ptrace_set_bpt()
[all …]

12345678910>>...42