Home
last modified time | relevance | path

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

12345678910>>...19

/titanic_41/usr/src/man/man3proc/
H A DMakefile19 MANSECT= 3proc
21 MANFILES= proc_service.3proc \
22 ps_lgetregs.3proc \
23 ps_pglobal_lookup.3proc \
24 ps_pread.3proc \
25 ps_pstop.3proc
27 MANLINKS= ps_kill.3proc \
28 ps_lcontinue.3proc \
29 ps_lgetfpregs.3proc \
30 ps_lgetxregs.3proc \
[all …]
/titanic_41/usr/src/cmd/rpcgen/
H A Drpc_clntout.c79 proc_list *proc; in write_program() local
82 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_program()
85 ptype(proc->res_prefix, proc->res_type, 1); in write_program()
87 pvname(proc->proc_name, vp->vers_num); in write_program()
88 printarglist(proc, RESULT, "clnt", "CLIENT *"); in write_program()
91 pvname(proc->proc_name, vp->vers_num); in write_program()
92 printarglist(proc, RESULT, "clnt", "CLIENT *"); in write_program()
96 printbody(proc); in write_program()
112 printarglist(proc_list *proc, char *result, char *addargname, char *addargtype) in printarglist() argument
114 bool_t oneway = streq(proc->res_type, "oneway"); in printarglist()
[all …]
H A Drpc_sample.c84 proc_list *proc; in write_sample_client() local
97 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_sample_client()
101 if (!streq(proc->res_type, "oneway")) { in write_sample_client()
103 if (!streq(proc->res_type, "void")) in write_sample_client()
104 ptype(proc->res_prefix, in write_sample_client()
105 proc->res_type, 1); in write_sample_client()
111 ptype(proc->res_prefix, proc->res_type, 1); in write_sample_client()
115 if (proc->arg_num < 2 && !newstyle) { in write_sample_client()
117 if (!streq(proc->args.decls->decl.type, "void")) in write_sample_client()
118 ptype(proc->args.decls->decl.prefix, in write_sample_client()
[all …]
H A Drpc_hout.c250 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 if (streq(proc->proc_name, stop->proc_name)) in define_printed()
279 proc_list *proc; in pprogramdef() local
304 for (proc = vers->procs; proc != NULL; in pprogramdef()
305 proc = proc->next) { in pprogramdef()
306 if (!define_printed(proc, def->def.pr.versions)) in pprogramdef()
307 puldefine(proc->proc_name, in pprogramdef()
308 proc->proc_num, PROCEDURE); in pprogramdef()
[all …]
H A Drpc_svcout.c350 proc_list *proc; in write_real_program() local
356 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_real_program()
357 int oneway = streq(proc->res_type, "oneway"); in write_real_program()
360 if (proc->arg_num < 2 && in write_real_program()
361 streq(proc->args.decls->decl.type, "void")) { in write_real_program()
365 internal_proctype(proc); in write_real_program()
369 pvname(proc->proc_name, vp->vers_num); in write_real_program()
374 if (proc->arg_num > 1) in write_real_program()
376 f_print(fout, proc->args.argname); in write_real_program()
378 ptype(proc->args.decls->decl.prefix, in write_real_program()
[all …]
H A Drpc_tblout.c91 proc_list *proc; in write_table() local
113 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_table()
114 current = atoi(proc->proc_num); in write_table()
136 pvname_svc(proc->proc_name, vp->vers_num); in write_table()
140 pvname(proc->proc_name, vp->vers_num); in write_table()
145 if (proc->arg_num > 1) in write_table()
146 printit(NULL, proc->args.argname); in write_table()
149 printit(proc->args.decls->decl.prefix, in write_table()
150 proc->args.decls->decl.type); in write_table()
152 printit(proc->res_prefix, proc->res_type); in write_table()
/titanic_41/usr/src/lib/libast/common/misc/
H A Dprocopen.c153 modify(Proc_t* proc, int forked, int op, long arg1, long arg2) in modify() argument
212 m->next = proc->mods; in modify()
213 proc->mods = m; in modify()
263 proc->pgrp = arg1; in modify()
270 proc->mods = m->next; in modify()
274 proc->mods = m->next; in modify()
278 NoP(proc); in modify()
290 restore(Proc_t* proc) in restore() argument
296 NoP(proc); in restore()
298 m = proc->mods; in restore()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_nfs_acl.c171 interpret_nfs_acl(flags, type, xid, vers, proc, data, len) in interpret_nfs_acl() argument
172 int flags, type, xid, vers, proc; in interpret_nfs_acl()
178 interpret_nfs_acl2(flags, type, xid, vers, proc, data, len);
183 interpret_nfs_acl3(flags, type, xid, vers, proc, data, len);
188 interpret_nfs_acl4(flags, type, xid, vers, proc, data, len);
194 interpret_nfs_acl2(int flags, int type, int xid, int vers, int proc, in interpret_nfs_acl2() argument
203 if (proc < 0 || proc > MAXPROC_V2) in interpret_nfs_acl2()
211 procnames_short_v2[proc]); in interpret_nfs_acl2()
213 switch (proc) { in interpret_nfs_acl2()
242 procnames_short_v2[proc]); in interpret_nfs_acl2()
[all …]
H A Dsnoop_nis.c126 interpret_nisbind(flags, type, xid, vers, proc, data, len) in interpret_nisbind() argument
127 int flags, type, xid, vers, proc; in interpret_nisbind()
135 if (proc < 0 || proc > MAXPROC_BIND)
148 procnames_bind_short[proc]);
150 switch (proc) {
167 procnames_bind_short[proc]);
169 switch (proc) {
199 proc, procnames_bind_long[proc]);
201 switch (proc) {
219 switch (proc) {
[all …]
H A Dsnoop_nlm.c87 interpret_nlm(flags, type, xid, vers, proc, data, len) in interpret_nlm() argument
88 int flags, type, xid, vers, proc; in interpret_nlm()
93 case 1: interpret_nlm_1(flags, type, xid, vers, proc, data, len);
95 case 3: interpret_nlm_3(flags, type, xid, vers, proc, data, len);
97 case 4: interpret_nlm_4(flags, type, xid, vers, proc, data, len);
148 interpret_nlm_1(flags, type, xid, vers, proc, data, len) in interpret_nlm_1() argument
149 int flags, type, xid, vers, proc; in interpret_nlm_1()
155 if (proc < 0 || proc > MAXPROC_1)
168 procnames_short_1[proc]);
170 switch (proc) {
[all …]
H A Dsnoop_pmap.c57 interpret_pmap(flags, type, xid, vers, proc, data, len) in interpret_pmap() argument
58 int flags, type, xid, vers, proc; in interpret_pmap()
63 case 2: interpret_pmap_2(flags, type, xid, vers, proc, data, len);
68 case 4: interpret_pmap_4(flags, type, xid, vers, proc, data, len);
98 interpret_pmap_2(flags, type, xid, vers, proc, data, len) in interpret_pmap_2() argument
99 int flags, type, xid, vers, proc; in interpret_pmap_2()
110 if (proc < 0 || proc > MAXPROC_2)
113 if (proc == PMAPPROC_CALLIT) {
133 procnames_short_2[proc]);
135 switch (proc) {
[all …]
H A Dsnoop_bparam.c65 interpret_bparam(flags, type, xid, vers, proc, data, len) in interpret_bparam() argument
66 int flags, type, xid, vers, proc; in interpret_bparam()
74 if (proc < 0 || proc > MAXPROC)
87 procnames_short[proc]);
90 switch (proc) {
107 procnames_short[proc]);
109 switch (proc) {
138 proc, procnames_long[proc]);
141 switch (proc) {
154 switch (proc) {
H A Dsnoop_nfs.c105 interpret_nfs(flags, type, xid, vers, proc, data, len) in interpret_nfs() argument
106 int flags, type, xid, vers, proc; in interpret_nfs()
112 interpret_nfs2(flags, type, xid, vers, proc, data, len);
117 interpret_nfs3(flags, type, xid, vers, proc, data, len);
122 interpret_nfs4(flags, type, xid, vers, proc, data, len);
128 interpret_nfs2(flags, type, xid, vers, proc, data, len) in interpret_nfs2() argument
129 int flags, type, xid, vers, proc; in interpret_nfs2()
138 if (proc < 0 || proc > MAXPROC)
147 procnames_short[proc]);
149 switch (proc) {
[all …]
H A Dsnoop_rquota.c64 interpret_rquota(flags, type, xid, vers, proc, data, len) in interpret_rquota() argument
65 int flags, type, xid, vers, proc; in interpret_rquota()
74 if (proc < 0 || proc > MAXPROC)
89 procnames_short[proc],
95 procnames_short[proc]);
115 proc, procnames_long[proc]);
118 switch (proc) {
H A Dsnoop_mount.c96 interpret_mount(flags, type, xid, vers, proc, data, len) in interpret_mount() argument
97 int flags, type, xid, vers, proc; in interpret_mount()
104 if (proc < 0 || proc > MAXPROC)
116 vers, procnames_short[proc]);
118 switch (proc) {
143 vers, procnames_short[proc]);
145 switch (proc) {
193 proc, procnames_long[proc]);
195 mountcall(proc, vers);
197 mountreply(proc, vers);
[all …]
/titanic_41/usr/src/uts/common/sys/
H A Drctl.h157 struct proc *rcv_action_recipient; /* process to receive signal */
165 struct proc;
174 struct proc *proc; member
182 void (*rco_action)(struct rctl *, struct proc *,
184 rctl_qty_t (*rco_get_usage)(struct rctl *, struct proc *);
185 int (*rco_set)(struct rctl *, struct proc *,
187 int (*rco_test)(struct rctl *, struct proc *,
200 void rcop_no_action(struct rctl *, struct proc *, rctl_entity_p_t *);
201 rctl_qty_t rcop_no_usage(struct rctl *, struct proc *);
202 int rcop_no_set(struct rctl *, struct proc *, rctl_entity_p_t *, rctl_qty_t);
[all …]
/titanic_41/usr/src/lib/libkvm/common/
H A Dtest.c53 struct proc *tst_getproc(pid_t);
54 struct proc *tst_nextproc(void);
55 struct user *tst_getu(struct proc *);
57 int tst_getcmd(struct proc *, struct user *);
64 int tst_getcmd(struct proc *, struct user *);
88 struct proc *proc; in main() local
141 while ((proc = tst_nextproc()) != NULL) { in main()
143 if (kvm_read(cookie, (uintptr_t)proc->p_pidp, &pid, in main()
153 while ((proc = tst_nextproc()) != NULL) { in main()
154 if ((u = tst_getu(proc)) != NULL) in main()
[all …]
/titanic_41/usr/src/uts/sun4u/io/
H A Dzuluvm.c93 static int zuluvm_proc_release(zuluvm_state_t *zdev, zuluvm_proc_t *proc);
256 zuluvm_proc_t *proc = NULL; in zuluvm_tlb_handler() local
279 proc = zdev->zvm.proc1; in zuluvm_tlb_handler()
285 proc = zdev->zvm.proc2; in zuluvm_tlb_handler()
321 if (proc == NULL || proc->valid == 0 || proc->zhat == NULL) { in zuluvm_tlb_handler()
340 zhat = proc->zhat; in zuluvm_tlb_handler()
839 "zuluvm", /* */, tnf_opaque, proc, p); in zuluvm_find_proc()
850 zuluvm_proc_t *proc = (zuluvm_proc_t *)arg; in zuluvm_as_free() local
851 zuluvm_state_t *zdev = proc->zdev; in zuluvm_as_free()
867 valid = proc->valid; in zuluvm_as_free()
[all …]
/titanic_41/usr/src/uts/sun4u/starcat/sys/post/
H A Dscat_const.h87 #define IS_VALID_PROC(proc) ((proc) >= 0 && (proc) < PROC_COUNT) argument
92 #define PROC2EXP(proc) ((proc) / 6) argument
93 #define PROC2SPM(proc) ((proc) % 6) argument
94 #define PROC2CPU(proc) (PROC2SPM(proc) & 0x3) argument
95 #define PROC2SLT(proc) (PROC2SPM(proc) >> 2) argument
96 #define PROC2BBC(proc) (((PROC2CPU(proc)) & 0x2) >> 1) argument
97 #define PROC2PRT(proc) ((proc) & 0x1) argument
98 #define EXPSLT(proc) PROC2EXP(proc), PROC2SLT(proc) argument
99 #define EXPSLTCPU(proc) PROC2EXP(proc), PROC2SLT(proc), PROC2CPU(proc) argument
/titanic_41/usr/src/uts/common/io/audio/impl/
H A Daudio_sun.c246 daproc_t *proc; in devaudio_proc_alloc() local
248 if ((proc = kmem_zalloc(sizeof (*proc), KM_NOSLEEP)) == NULL) { in devaudio_proc_alloc()
251 info = &proc->p_info; in devaudio_proc_alloc()
312 return (proc); in devaudio_proc_alloc()
316 devaudio_proc_free(daproc_t *proc) in devaudio_proc_free() argument
318 kmem_free(proc, sizeof (*proc)); in devaudio_proc_free()
325 daproc_t *proc; in devaudio_proc_hold() local
353 for (proc = list_head(l); proc != NULL; proc = list_next(l, proc)) { in devaudio_proc_hold()
354 if (proc->p_id == pid) { in devaudio_proc_hold()
355 proc->p_refcnt++; in devaudio_proc_hold()
[all …]
/titanic_41/usr/src/uts/sun4u/starfire/io/
H A Didn_xf.c189 procname_t proc = "cic_read_domain_mask"; in cic_read_domain_mask() local
196 proc, board, bus, csr_addr); in cic_read_domain_mask()
208 procname_t proc = "cic_read_sm_mask"; in cic_read_sm_mask() local
215 proc, board, bus, csr_addr); in cic_read_sm_mask()
227 procname_t proc = "cic_write_sm_mask"; in cic_write_sm_mask() local
245 proc, board, bus, csr_addr); in cic_write_sm_mask()
247 proc, (ushort_t)sm_mask); in cic_write_sm_mask()
266 procname_t proc = "cic_read_sm_bar"; in cic_read_sm_bar() local
273 proc, board, bus, csr_addr); in cic_read_sm_bar()
281 proc, board, bus, csr_addr); in cic_read_sm_bar()
[all …]
H A Didn_proto.c422 procname_t proc = "idn_assign_cookie"; in idn_assign_cookie() local
431 PR_PROTO("%s:%d: assigned RECV cookie 0x%x\n", proc, domid, cookie); in idn_assign_cookie()
440 procname_t proc = "idn_update_priority"; in idn_update_priority() local
451 proc, domid, pri, IDNVOTE_PRIVALUE(dp->dvote)); in idn_update_priority()
454 proc, domid, IDNVOTE_PRIVALUE(dp->dvote)); in idn_update_priority()
468 procname_t proc = "idn_link"; in idn_link() local
522 proc, domid, cpuid); in idn_link()
541 PR_PROTO("%s:%d: ALLOCATED idn_link(%d)\n", proc, domid, cpuid); in idn_link()
551 proc, domid, idnop_str[IDNOP_CONNECTED], in idn_link()
561 proc, domid, cpuid); in idn_link()
[all …]
/titanic_41/usr/src/lib/libast/common/path/
H A Dpathprobe.c88 char* proc = (char*)aproc; in pathprobe() local
117 if (*proc != '/') in pathprobe()
119 if (p = strchr(proc, ' ')) in pathprobe()
121 strncopy(buf, proc, p - proc + 1); in pathprobe()
122 proc = buf; in pathprobe()
124 if (!(proc = pathpath(cmd, proc, NiL, PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE))) in pathprobe()
125 proc = (char*)aproc; in pathprobe()
128 n = strlen(proc); in pathprobe()
129 strncopy(proc + n, p, PATH_MAX - n - 1); in pathprobe()
138 pathkey(key, attr, lang, tool, proc); in pathprobe()
[all …]
/titanic_41/usr/src/uts/common/os/
H A Dserializer.c152 serializer_exec(serializer_t *s, srproc_t proc, mblk_t *mp, void *arg) in serializer_exec() argument
157 ASSERT(proc != NULL); in serializer_exec()
162 s->ser_proc = proc; in serializer_exec()
163 proc(mp, arg); in serializer_exec()
170 serializer_enqueue(serializer_t *s, srproc_t proc, mblk_t *mp, void *arg) in serializer_enqueue() argument
175 mblk_t *, mp, void *, arg, srproc_t, proc); in serializer_enqueue()
177 mp->b_queue = (queue_t *)proc; in serializer_enqueue()
198 srproc_t *proc = (srproc_t *)mp->b_queue; in serializer_drain() local
213 mblk_t *, mp, void *, arg, srproc_t, proc); in serializer_drain()
214 serializer_exec(s, proc, mp, arg); in serializer_drain()
[all …]
/titanic_41/usr/src/uts/common/fs/
H A DMakefile35 ROOTDIRS= $(ROOTDIR) $(ROOTDIR)/proc
38 ROOTPROCHDRS= $(PROCHDRS:%=$(ROOTDIR)/proc/%)
44 $(ROOTDIR)/proc/%: proc/%
48 proc/%.check: proc/%.h
52 $(PROCHDRS:%.h=proc/%.check)

12345678910>>...19