Home
last modified time | relevance | path

Searched refs:subcode (Results 1 – 25 of 27) sorted by relevance

12

/titanic_50/usr/src/cmd/truss/
H A Dsystable.c1085 subsys(int syscall, int subcode) in subsys() argument
1089 if (subcode != -1) { in subsys()
1092 if ((unsigned)subcode < NACCESSCODE) in subsys()
1093 stp = &faccessattable[subcode]; in subsys()
1096 if ((unsigned)subcode < NCHMODCODE) in subsys()
1097 stp = &fchmodattable[subcode]; in subsys()
1100 if ((unsigned)subcode < NCHOWNCODE) in subsys()
1101 stp = &fchownattable[subcode]; in subsys()
1104 if ((unsigned)subcode < NMKDIRCODE) in subsys()
1105 stp = &mkdiratattable[subcode]; in subsys()
[all …]
H A Dactions.c364 int subcode; in sysentry() local
383 subcode = getsubcode(pri); in sysentry()
384 stp = subsys(what, subcode); in sysentry()
473 name = sysname(pri, what, raw? -1 : subcode); in sysentry()
518 int subcode; in sysexit() local
581 subcode = getsubcode(pri); in sysexit()
582 stp = subsys(what, subcode); in sysexit()
587 if (what == SYS_forksys && subcode >= 3) in sysexit()
588 scp += subcode - 3; in sysexit()
589 else if (subcode != -1 && in sysexit()
[all …]
H A Dmain.c1807 int subcode; in file_to_parent() local
1809 for (subcode = 0; subcode < n; subcode++, in file_to_parent()
2168 int subcode; in report() local
2170 for (subcode = 0; subcode < n; subcode++, scp++) { in report()
2173 sysname(pri, i, subcode)); in report()
/titanic_50/usr/src/lib/libcpc/common/
H A Dlibcpc.c55 static void cpc_err(cpc_t *cpc, const char *fn, int subcode, ...);
429 int subcode = -1; in cpc_bind_curlwp() local
446 ret = syscall(SYS_cpc, CPC_BIND, -1, packed_set, packsize, &subcode); in cpc_bind_curlwp()
450 if (subcode != -1) in cpc_bind_curlwp()
451 cpc_err(cpc, "cpc_bind_curlwp", subcode); in cpc_bind_curlwp()
467 int subcode = -1; in cpc_bind_pctx() local
483 (void *)&subcode, -1); in cpc_bind_pctx()
491 } else if (subcode != -1) in cpc_bind_pctx()
492 cpc_err(cpc, "cpc_bind_pctx", subcode); in cpc_bind_pctx()
507 int subcode = -1; in cpc_bind_cpu() local
[all …]
H A Dobsoleted.c234 int subcode; in cpc_shared_bind_event() local
264 cpc_args.udata3 = (void *)&subcode; in cpc_shared_bind_event()
H A Dlibcpc.h78 typedef void (cpc_errhndlr_t)(const char *fn, int subcode, const char *fmt,
/titanic_50/usr/src/uts/common/syscall/
H A Dcorectl.c238 corectl(int subcode, uintptr_t arg1, uintptr_t arg2, uintptr_t arg3) in corectl() argument
252 switch (subcode) { in corectl()
268 if (subcode == CC_GET_GLOBAL_PATH) { in corectl()
273 } else if (subcode == CC_GET_DEFAULT_PATH) { in corectl()
318 if (subcode == CC_SET_PROCESS_PATH) { in corectl()
320 } else if (subcode == CC_SET_DEFAULT_PATH) { in corectl()
364 if (subcode == CC_SET_PROCESS_CONTENT) { in corectl()
366 } else if (subcode == CC_SET_DEFAULT_CONTENT) { in corectl()
H A Dpset.c843 pset(int subcode, long arg1, long arg2, long arg3, long arg4) in pset() argument
845 switch (subcode) { in pset()
H A Dlgrpsys.c2075 lgrpsys(int subcode, long ia, void *ap) in lgrpsys() argument
2080 switch (subcode) { in lgrpsys()
H A Dlwp_sobj.c2781 lwp_rwlock_sys(int subcode, lwp_rwlock_t *rwlp, timespec_t *tsp) in lwp_rwlock_sys() argument
2783 switch (subcode) { in lwp_rwlock_sys()
/titanic_50/usr/src/lib/libc/i386/threads/
H A Dasm_subr.s54 popl %edx / add subcode; save return address
65 popl %edx / add subcode; save return address
76 popl %edx / add subcode; save return address
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_smb.c1356 int subcode; in interpret_trans() local
1411 subcode = get2(setupdata); in interpret_trans()
1413 subcode = -1; /* invalid */ in interpret_trans()
1414 subcname = pipeapi_name(subcode); in interpret_trans()
1461 subcode, subcname); in interpret_trans()
1817 int subcode; in interpret_trans2() local
1858 subcode = get2(setupdata); in interpret_trans2()
1860 subcode = -1; /* invalid */ in interpret_trans2()
1883 show_printf("FunctionCode = %d", subcode); in interpret_trans2()
1888 switch (subcode) { in interpret_trans2()
/titanic_50/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_fip.c257 uint8_t subcode; in eib_fip_parse_login_ack() local
281 subcode = hdr->hd_subcode; in eib_fip_parse_login_ack()
282 if (subcode != FIP_SUBCODE_G_VNIC_LOGIN_ACK) { in eib_fip_parse_login_ack()
285 subcode); in eib_fip_parse_login_ack()
403 uint8_t subcode; in eib_fip_parse_ctl_pkt() local
431 subcode = hdr->hd_subcode; in eib_fip_parse_ctl_pkt()
432 if (subcode == FIP_SUBCODE_G_VHUB_UPDATE) { in eib_fip_parse_ctl_pkt()
441 vnic_state, subcode); in eib_fip_parse_ctl_pkt()
447 } else if (subcode == FIP_SUBCODE_G_VHUB_TABLE) { in eib_fip_parse_ctl_pkt()
454 vnic_state, subcode); in eib_fip_parse_ctl_pkt()
[all …]
H A Denx_fip.c382 uint8_t subcode; in eibnx_fip_parse_pkt() local
408 subcode = hdr->hd_subcode; in eibnx_fip_parse_pkt()
409 switch (subcode) { in eibnx_fip_parse_pkt()
421 "gw advertisement, ignoring", subcode); in eibnx_fip_parse_pkt()
/titanic_50/usr/src/uts/common/sys/
H A Dkcpc.h111 extern int kcpc_bind_thread(kcpc_set_t *set, struct _kthread *t, int *subcode);
117 extern int kcpc_bind_cpu(kcpc_set_t *set, int cpuid, int *subcode);
/titanic_50/usr/src/uts/common/os/
H A Dkcpc.c170 kcpc_bind_cpu(kcpc_set_t *set, processorid_t cpuid, int *subcode) in kcpc_bind_cpu() argument
181 *subcode = CPC_RESOURCE_UNAVAIL; in kcpc_bind_cpu()
190 if ((error = kcpc_configure_reqs(ctx, set, subcode)) != 0) { in kcpc_bind_cpu()
263 kcpc_bind_thread(kcpc_set_t *set, kthread_t *t, int *subcode) in kcpc_bind_thread() argument
288 *subcode = CPC_RESOURCE_UNAVAIL; in kcpc_bind_thread()
307 if ((error = kcpc_configure_reqs(ctx, set, subcode)) != 0) { in kcpc_bind_thread()
359 kcpc_configure_reqs(kcpc_ctx_t *ctx, kcpc_set_t *set, int *subcode) in kcpc_configure_reqs() argument
378 *subcode = -1; in kcpc_configure_reqs()
394 *subcode = ret; in kcpc_configure_reqs()
1899 int subcode; in kcpc_cpu_ctx_create() local
[all …]
H A Dfork.c113 forksys(int subcode, int flags) in forksys() argument
115 switch (subcode) { in forksys()
/titanic_50/usr/src/lib/libc/i386/sys/
H A Ddoor.s127 pushl $DOOR_RETURN / syscall subcode
/titanic_50/usr/src/uts/common/dtrace/
H A Ddcpc.c465 int i, j, subcode; in dcpc_program_cpu_event() local
478 if (kcpc_configure_reqs(ctx, set, &subcode) != 0) in dcpc_program_cpu_event()
/titanic_50/usr/src/uts/common/fs/doorfs/
H A Ddoor_sys.c120 int32_t arg5, int32_t subcode);
211 doorfs(long arg1, long arg2, long arg3, long arg4, long arg5, long subcode) in doorfs() argument
213 switch (subcode) { in doorfs()
270 int32_t arg4, int32_t arg5, int32_t subcode) in doorfs32() argument
272 switch (subcode) { in doorfs32()
/titanic_50/usr/src/cmd/cpc/common/
H A Dcputrack.c73 cputrack_errfn(const char *fn, int subcode, const char *fmt, va_list ap) in cputrack_errfn() argument
H A Dcpustat.c99 cpustat_errfn(const char *fn, int subcode, const char *fmt, va_list ap) in cpustat_errfn() argument
/titanic_50/usr/src/lib/liblgrp/common/
H A Dlgrp.c53 extern int _lgrpsys(int subcode, long arg, void *ap);
/titanic_50/usr/src/uts/common/io/usb/clients/hidparser/
H A Dhidparser.c2509 int subcode, in hidparser_report_err() argument
2521 BmParserErrorCode |= subcode & HIDPARSER_ERR_SUBCODE_MASK; in hidparser_report_err()
/titanic_50/usr/src/uts/common/io/scsi/targets/
H A Dsd.c27597 struct cdrom_subcode *subcode = NULL; local
27615 subcode = kmem_zalloc(sizeof (struct cdrom_subcode), KM_SLEEP);
27623 kmem_free(subcode, sizeof (struct cdrom_subcode));
27627 cdrom_subcode32tocdrom_subcode(cdsc32, subcode);
27630 if (ddi_copyin(data, subcode,
27634 kmem_free(subcode, sizeof (struct cdrom_subcode));
27640 if (ddi_copyin(data, subcode, sizeof (struct cdrom_subcode), flag)) {
27643 kmem_free(subcode, sizeof (struct cdrom_subcode));
27652 if ((subcode->cdsc_length & 0xFF000000) != 0) {
27656 subcode->cdsc_length, 0xFFFFFF);
[all …]

12