Searched defs:sysnum (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_getrlimit.c47 int sysnum; local
69 sysnum = SYS_getrlimit64;
71 sysnum = SYS_getrlimit;
73 sysnum = SYS_getrlimit;
76 error = Psyscall(Pr, &rval, sysnum, 2, &argd[0]);
95 int sysnum; local
117 sysnum = SYS_setrlimit64;
119 sysnum = SYS_setrlimit;
121 sysnum = SYS_setrlimit;
124 error = Psyscall(Pr, &rval, sysnum,
143 int sysnum; local
191 int sysnum; local
[all...]
H A DPsyscall.c62 int sysnum = P->status.pr_lwp.pr_syscall; local
65 dprintf("agent LWP is stopped or asleep in syscall %d\n", sysnum);
67 stop = Psysexit(P, sysnum, TRUE);
72 (void) Psysexit(P, sysnum, stop);
H A Dproc_names.c455 proc_str2sys(const char *str, int *sysnum) argument
462 *sysnum = i;
468 *sysnum = i;
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dsyscall.c87 syscall(int sysnum, ...) argument
94 va_start(ap, sysnum);
95 switch(sysnum) {
642 ret_val = _syscall(syscallnum[sysnum], ap);
H A Dmsgsys.c72 msgsys(int sysnum, ...) argument
84 va_start(ap, sysnum);
85 switch (sysnum) {
H A Dsemsys.c80 semsys(int sysnum, ...) argument
91 va_start(ap, sysnum);
92 switch (sysnum) {
H A Dshmsys.c123 shmsys(int sysnum, ...) argument
131 va_start(ap, sysnum);
132 switch (sysnum) {
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_evset.c429 int id, sysnum; local
438 if (proc_str2sys(argv->a_un.a_str, &sysnum) == -1) {
446 sysnum = (int)(intmax_t)argv->a_un.a_val;
449 id = mdb_tgt_add_sysexit(mdb.m_target, sysnum,
452 id = mdb_tgt_add_sysenter(mdb.m_target, sysnum,
457 mdb_warn("failed to trace system call %d", sysnum);
H A Dmdb_target.c1771 mdb_tgt_add_sysenter(mdb_tgt_t *t, int sysnum, argument
1774 return (t->t_ops->t_add_sysenter(t, sysnum, spec_flags, func, p));
1778 mdb_tgt_add_sysexit(mdb_tgt_t *t, int sysnum, argument
1781 return (t->t_ops->t_add_sysexit(t, sysnum, spec_flags, func, p));
H A Dmdb_proc.c3693 int sysnum; local
3696 sysnum = (intptr_t)vep->ve_args;
3698 sysnum = (intptr_t)sep->se_data;
3700 (void) proc_sysname(sysnum, name, sizeof (name));
3711 int sysnum = (intptr_t)sep->se_data; local
3713 return (psp->pr_why == PR_SYSENTRY && psp->pr_what == sysnum);
3753 int sysnum; local
3756 sysnum = (intptr_t)vep->ve_args;
3758 sysnum = (intptr_t)sep->se_data;
3760 (void) proc_sysname(sysnum, nam
3771 int sysnum = (intptr_t)sep->se_data; local
4434 pt_add_sysenter(mdb_tgt_t *t, int sysnum, int spec_flags, mdb_tgt_se_f *func, void *data) argument
4447 pt_add_sysexit(mdb_tgt_t *t, int sysnum, int spec_flags, mdb_tgt_se_f *func, void *data) argument
[all...]
/illumos-gate/usr/src/uts/common/dtrace/
H A Dsystrace.c123 int sysnum = SYSTRACE_SYSNUM((uintptr_t)parg); local
130 ASSERT(systrace_sysent[sysnum].stsy_entry == DTRACE_IDNONE);
132 ASSERT(systrace_sysent32[sysnum].stsy_entry == DTRACE_IDNONE);
135 ASSERT(systrace_sysent[sysnum].stsy_return == DTRACE_IDNONE);
137 ASSERT(systrace_sysent32[sysnum].stsy_return == DTRACE_IDNONE);
146 int sysnum = SYSTRACE_SYSNUM((uintptr_t)parg); local
147 int enabled = (systrace_sysent[sysnum].stsy_entry != DTRACE_IDNONE ||
148 systrace_sysent[sysnum].stsy_return != DTRACE_IDNONE);
151 systrace_sysent[sysnum].stsy_entry = id;
153 systrace_sysent32[sysnum]
182 int sysnum = SYSTRACE_SYSNUM((uintptr_t)parg); local
[all...]
/illumos-gate/usr/src/uts/intel/ia32/sys/
H A Dtraptrace.h73 int sysnum; member in struct:__anon9487::_ttr_info::_gate_entry
89 #define ttr_sysnum ttr_info.gate_entry.sysnum
/illumos-gate/usr/src/uts/common/os/
H A Dmodconf.c1383 int sysnum; local
1398 if ((sysnum = mod_getsysnum(mod_name)) == -1) {
1403 if (sysnum > 0 && sysnum < NSYSCALL &&
1404 (se[sysnum].sy_flags & (SE_LOADABLE | SE_NOUNLOAD)))
1405 return (se + sysnum);
1407 cmn_err(CE_WARN, "system call entry %d is already in use", sysnum);
H A Dmodsubr.c809 mod_getsysname(int sysnum) argument
811 return (syscallnames[sysnum]);
H A Dsig.c2590 realsigprof_slow(int sysnum, int nsysarg, int error) argument
2614 sip->si_syscall = sysnum;
2635 realsigprof_fast(int sysnum, int nsysarg, int error) argument
2664 sip->si_syscall = sysnum;
2713 realsigprof(int sysnum, int nsysarg, int error) argument
2727 realsigprof_slow(sysnum, nsysarg, error);
2730 realsigprof_fast(sysnum, nsysarg, error);
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/
H A Dunix.c194 int sysnum = rec->ttr_sysnum; local
198 mdb_printf("%-3x", sysnum);
210 addr = (uintptr_t)sym.st_value + sysnum * sizeof (struct sysent);
213 mdb_warn("\nsysnum %d out-of-range\n", sysnum);
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dcorenote.c188 conv_cnote_syscall(Word sysnum, Conv_fmt_flags_t fmt_flags, argument
335 switch (sysnum) {
361 use_num = (sysnum > SYS_umount2);
365 return (conv_invalid_val(inv_buf, sysnum, fmt_flags));
367 return (conv_map_ds(ELFOSABI_NONE, EM_NONE, sysnum, ds, fmt_flags,

Completed in 90 milliseconds