sysent
struct sysent sys;
addr = (uintptr_t)sym.st_value + sysnum * sizeof (struct sysent);
sy_flags = sysent[scid].sy_flags & SE_RVAL_MASK;
sy_flags = sysent[scid].sy_flags & SE_RVAL_MASK;
sy_flags = sysent[scid].sy_flags & SE_RVAL_MASK;
sy_flags = sysent[scid].sy_flags & SE_RVAL_MASK;
sy_flags = sysent[scid].sy_flags & SE_RVAL_MASK;
sy_flags = sysent[scid].sy_flags & SE_RVAL_MASK;
sy_flags = sysent[scid].sy_flags & SE_RVAL_MASK;
sy_flags = sysent[scid].sy_flags & SE_RVAL_MASK;
sy_flags = sysent[scid].sy_flags & SE_RVAL_MASK;
sy_flags = sysent[scid].sy_flags & SE_RVAL_MASK;
sy_flags = sysent[scid].sy_flags & SE_RVAL_MASK;
sy_flags = sysent[scid].sy_flags & SE_RVAL_MASK;
ASSERT(sysent[sysnum].sy_callc == dtrace_systrace_syscall);
(void) atomic_cas_ptr(&sysent[sysnum].sy_callc,
(void) atomic_cas_ptr(&sysent[sysnum].sy_callc,
systrace_init(struct sysent *actual, systrace_sysent_t **interposed)
systrace_sysent_t *sysent = *interposed;
if (sysent == NULL) {
*interposed = sysent = kmem_zalloc(sizeof (systrace_sysent_t) *
struct sysent *a = &actual[i];
systrace_sysent_t *s = &sysent[i];
systrace_init(sysent, &systrace_sysent);
static struct sysent autofssysent = {
static struct sysent door_sysent = {
static struct sysent door_sysent32 = {
static struct sysent nfssysent = {
static struct sysent port_sysent = {
static struct sysent port_sysent32 = {
static struct sysent sharefs_sysent = {
static struct sysent cpc_sysent = {
static struct sysent acctsysent = {
static struct sysent kaio_sysent = {
static struct sysent kaio_sysent32 = {
static struct sysent kaio_sysent = {
static struct sysent in_sync_sysent = {
static struct sysent *
mod_getsysent(struct modlinkage *modlp, struct sysent *se)
static struct sysent *mod_getsysent(struct modlinkage *, struct sysent *);
mod_infosysnum(struct modlinkage *modlp, struct sysent table[])
struct sysent *sysp;
struct sysent table[])
struct sysent *sysp;
struct sysent *mp;
struct sysent table[])
struct sysent *sysp;
*p0 = mod_infosysnum(modlp, sysent);
return (mod_installsys_sysent(modl, modlp, sysent));
return (mod_removesys_sysent(modl, modlp, sysent));
struct sysent *callp;
for (callnum = 0, callp = sysent; callnum < NSYSCALL;
sysent[callnum].sy_callc == nosys)
(sysent[callnum].sy_callc == loadable_syscall)) {
((sysent[callnum].sy_flags & SE_32RVAL2) == 0)) {
static struct sysent ipcmsg_sysent = {
static struct sysent ipcmsg_sysent32 = {
static struct sysent ipcshm_sysent = {
static struct sysent ipcshm_sysent32 = {
struct sysent nosys_ent = SYSENT_NOSYS();
struct sysent sysent[NSYSCALL] =
struct sysent sysent32[NSYSCALL] =
static struct sysent rpcsysent = {
struct sysent *sys_sysent;
extern struct sysent sysent[];
extern struct sysent sysent32[];
extern struct sysent nosys_ent; /* entry for invalid system call */
static struct sysent ac_sysent = {
static struct sysent exacctsys_sysent = {
static struct sysent exacctsys_sysent32 = {
static struct sysent pipe_sysent = {
static struct sysent pset_sysent = {
static struct sysent ipcsem_sysent = {
struct sysent *sys;
sys = &sysent[rec->ttr_sysnum];
struct sysent *se = LWP_GETSYSENT(lwp);
struct sysent *callp = se + code;
struct sysent *callp;
lock_syscall(struct sysent *table, uint_t code)
struct sysent *callp;
struct sysent *callp;
struct sysent *se = LWP_GETSYSENT(lwp);
static struct sysent sysent_err = {
struct sysent *
struct sysent *callp;
struct sysent *se = LWP_GETSYSENT(lwp);
struct sysent *callp;
static krwlock_t *lock_syscall(struct sysent *, uint_t);
(lwp_getdatamodel(lwp) == DATAMODEL_NATIVE ? sysent : sysent32)
#define LWP_GETSYSENT(lwp) (sysent)
struct sysent *se;
struct sysent *callp;
struct sysent *se = LWP_GETSYSENT(ttolwp(curthread));
struct sysent *callp;
struct sysent *se = LWP_GETSYSENT(lwp);
struct sysent *callp = se + code;
struct sysent *callp;
static krwlock_t *lock_syscall(struct sysent *, uint_t);
static struct sysent *
return (sysent);
#define LWP_GETSYSENT(lwp) (sysent)
struct sysent *callp;
lock_syscall(struct sysent *table, uint_t code)
struct sysent *callp;