/illumos-gate/usr/src/man/man3proc/ |
H A D | Makefile | 21 MANSECT= 3proc 24 Lctlfd.3proc \ 25 Lfree.3proc \ 26 Lgrab_error.3proc \ 27 Lgrab.3proc \ 28 Lprochandle.3proc \ 29 Lpsinfo.3proc \ 30 Lstate.3proc \ 31 Lstatus.3proc \ 32 Paddr_to_ctf.3proc \ [all …]
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | system-library.man3proc.inc | 18 link path=usr/share/man/man3proc/Lalt_stack.3proc target=Plwp_stack.3proc 19 link path=usr/share/man/man3proc/Lclearfault.3proc target=Pclearfault.3proc 20 link path=usr/share/man/man3proc/Lclearsig.3proc target=Pclearsig.3proc 21 file path=usr/share/man/man3proc/Lctlfd.3proc 22 link path=usr/share/man/man3proc/Ldstop.3proc target=Pstopstatus.3proc 23 file path=usr/share/man/man3proc/Lfree.3proc 24 link path=usr/share/man/man3proc/Lgetareg.3proc target=Pgetareg.3proc 25 link path=usr/share/man/man3proc/Lgetfpregs.3proc target=Plwp_getregs.3proc 26 link path=usr/share/man/man3proc/Lgetregs.3proc target=Plwp_getregs.3proc 27 link path=usr/share/man/man3proc/Lgetxregs.3proc target=Plwp_getxregs.3proc [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/smbios/ |
H A D | smbios_test_proc.c | 53 smbios_test_proc_fill(smb_processor_t *proc) in smbios_test_proc_fill() argument 55 proc->smbpr_hdr.smbh_type = SMB_TYPE_PROCESSOR; in smbios_test_proc_fill() 56 proc->smbpr_hdr.smbh_len = sizeof (smb_processor_t); in smbios_test_proc_fill() 57 proc->smbpr_socket = 1; in smbios_test_proc_fill() 58 proc->smbpr_type = SMB_PRT_CENTRAL; in smbios_test_proc_fill() 59 proc->smbpr_family = SMB_PRF_HOBBIT; in smbios_test_proc_fill() 60 proc->smbpr_manufacturer = 2; in smbios_test_proc_fill() 61 proc->smbpr_cpuid = htole64(smbios_proc_cpuid); in smbios_test_proc_fill() 62 proc->smbpr_version = 3; in smbios_test_proc_fill() 63 proc->smbpr_voltage = 0x8b; in smbios_test_proc_fill() [all …]
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_clntout.c | 79 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 D | rpc_sample.c | 84 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 D | rpc_hout.c | 250 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 D | rpc_svcout.c | 351 proc_list *proc; in write_real_program() local 357 for (proc = vp->procs; proc != NULL; proc = proc->next) { in write_real_program() 358 int oneway = streq(proc->res_type, "oneway"); in write_real_program() 361 if (proc->arg_num < 2 && in write_real_program() 362 streq(proc->args.decls->decl.type, "void")) { in write_real_program() 366 internal_proctype(proc); in write_real_program() 370 pvname(proc->proc_name, vp->vers_num); in write_real_program() 375 if (proc->arg_num > 1) in write_real_program() 377 f_print(fout, proc->args.argname); in write_real_program() 379 ptype(proc->args.decls->decl.prefix, in write_real_program() [all …]
|
H A D | rpc_tblout.c | 91 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()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | procopen.c | 160 modify(Proc_t* proc, int forked, int op, long arg1, long arg2) in modify() argument 247 m->next = proc->mods; in modify() 248 proc->mods = m; in modify() 300 proc->pgrp = arg1; in modify() 307 proc->mods = m->next; in modify() 311 proc->mods = m->next; in modify() 315 NoP(proc); in modify() 327 restore(Proc_t* proc) in restore() argument 333 NoP(proc); in restore() 335 m = proc->mods; in restore() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_nfs_acl.c | 171 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 D | snoop_nis.c | 124 interpret_nisbind(int flags, int type, int xid, int vers, int proc, char *data, in interpret_nisbind() argument 131 if (proc < 0 || proc > MAXPROC_BIND) in interpret_nisbind() 143 procnames_bind_short[proc]); in interpret_nisbind() 145 switch (proc) { in interpret_nisbind() 162 procnames_bind_short[proc]); in interpret_nisbind() 164 switch (proc) { in interpret_nisbind() 193 proc, procnames_bind_long[proc]); in interpret_nisbind() 195 switch (proc) { in interpret_nisbind() 213 switch (proc) { in interpret_nisbind() 243 interpret_nis(int flags, int type, int xid, int vers, int proc, char *data, in interpret_nis() argument [all …]
|
H A D | snoop_nlm.c | 87 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 D | snoop_pmap.c | 57 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 D | snoop_nfs.c | 103 interpret_nfs(flags, type, xid, vers, proc, data, len) in interpret_nfs() argument 104 int flags, type, xid, vers, proc; in interpret_nfs() 110 interpret_nfs2(flags, type, xid, vers, proc, data, len); 115 interpret_nfs3(flags, type, xid, vers, proc, data, len); 120 interpret_nfs4(flags, type, xid, vers, proc, data, len); 126 interpret_nfs2(flags, type, xid, vers, proc, data, len) in interpret_nfs2() argument 127 int flags, type, xid, vers, proc; in interpret_nfs2() 136 if (proc < 0 || proc > MAXPROC) 145 procnames_short[proc]); 147 switch (proc) { [all …]
|
H A D | snoop_bparam.c | 65 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 D | snoop_mount.c | 96 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 …]
|
H A D | snoop_rquota.c | 64 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) {
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | rctl.h | 157 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 …]
|
/illumos-gate/usr/src/lib/libkvm/common/ |
H A D | test.c | 51 struct proc *tst_getproc(pid_t); 52 struct proc *tst_nextproc(void); 53 struct user *tst_getu(struct proc *); 55 int tst_getcmd(struct proc *, struct user *); 62 int tst_getcmd(struct proc *, struct user *); 86 struct proc *proc; in main() local 139 while ((proc = tst_nextproc()) != NULL) { in main() 141 if (kvm_read(cookie, (uintptr_t)proc->p_pidp, &pid, in main() 151 while ((proc = tst_nextproc()) != NULL) { in main() 152 if ((u = tst_getu(proc)) != NULL) in main() [all …]
|
/illumos-gate/usr/src/uts/common/io/audio/impl/ |
H A D | audio_sun.c | 246 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 …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/ |
H A D | pathprobe.c | 52 pathprobe(char* path, char* attr, const char* lang, const char* tool, const char* proc, int op) in pathprobe() argument 54 return pathprobe_20100601(lang, tool, proc, op, path, PATH_MAX, attr, PATH_MAX); in pathprobe() 100 char* proc = (char*)aproc; in pathprobe_20100601() local 129 if (*proc != '/') in pathprobe_20100601() 131 if (p = strchr(proc, ' ')) in pathprobe_20100601() 133 strncopy(buf, proc, p - proc + 1); in pathprobe_20100601() 134 proc = buf; in pathprobe_20100601() 136 if (!(proc = pathpath(proc, NiL, PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE, cmd, sizeof(cmd)))) in pathprobe_20100601() 137 proc = (char*)aproc; in pathprobe_20100601() 140 n = strlen(proc); in pathprobe_20100601() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | serializer.c | 150 serializer_exec(serializer_t *s, srproc_t proc, mblk_t *mp, void *arg) in serializer_exec() argument 155 ASSERT(proc != NULL); in serializer_exec() 160 s->ser_proc = proc; in serializer_exec() 161 proc(mp, arg); in serializer_exec() 168 serializer_enqueue(serializer_t *s, srproc_t proc, mblk_t *mp, void *arg) in serializer_enqueue() argument 173 mblk_t *, mp, void *, arg, srproc_t, proc); in serializer_enqueue() 175 mp->b_queue = (queue_t *)proc; in serializer_enqueue() 196 srproc_t *proc = (srproc_t *)mp->b_queue; in serializer_drain() local 211 mblk_t *, mp, void *, arg, srproc_t, proc); in serializer_drain() 212 serializer_exec(s, proc, mp, arg); in serializer_drain() [all …]
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | auth.test | 28 proc auth {code arg1 arg2 arg3 arg4} { 44 proc auth {code arg1 arg2 arg3 arg4} { 64 proc auth {code arg1 arg2 arg3 arg4} { 76 proc auth {code arg1 arg2 arg3 arg4} { 93 proc auth {code arg1 arg2 arg3 arg4} { 105 proc auth {code arg1 arg2 arg3 arg4} { 118 proc auth {code arg1 arg2 arg3 arg4} { 130 proc auth {code arg1 arg2 arg3 arg4} { 144 proc auth {code arg1 arg2 arg3 arg4} { 158 proc auth {code arg1 arg2 arg3 arg4} { [all …]
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypv1_xdr.c | 62 yprequest_arms[0].proc = (xdrproc_t)xdr_ypreq_key; in _xdr_yprequest() 63 yprequest_arms[1].proc = (xdrproc_t)xdr_ypreq_nokey; in _xdr_yprequest() 64 yprequest_arms[2].proc = (xdrproc_t)xdr_ypmap_parms; in _xdr_yprequest() 65 yprequest_arms[3].proc = (xdrproc_t)NULL; in _xdr_yprequest() 85 ypresponse_arms[0].proc = (xdrproc_t)xdr_ypresp_val; in _xdr_ypresponse() 86 ypresponse_arms[1].proc = (xdrproc_t)xdr_ypresp_key_val; in _xdr_ypresponse() 87 ypresponse_arms[2].proc = (xdrproc_t)xdr_ypmap_parms; in _xdr_ypresponse() 88 ypresponse_arms[3].proc = (xdrproc_t)NULL; in _xdr_ypresponse()
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | Makefile | 35 ROOTDIRS= $(ROOTDIR) $(ROOTDIR)/proc 38 ROOTPROCHDRS= $(PROCHDRS:%=$(ROOTDIR)/proc/%) 44 $(ROOTDIR)/proc/%: proc/% 48 proc/%.check: proc/%.h 52 $(PROCHDRS:%.h=proc/%.check)
|