Home
last modified time | relevance | path

Searched refs:sysent (Results 1 – 13 of 13) sorted by relevance

/dragonfly/sys/sys/
H A Dsysent.h44 struct sysent { /* system call table */ struct
58 struct sysent *sv_table; /* pointer to sysent */ argument
82 extern struct sysent sysent[];
92 struct sysent *new_sysent; /* new sysent */
93 struct sysent old_sysent; /* old sysent */
110 static struct sysent syscallname##_sysent = { \
119 int syscall_register (int *offset, struct sysent *new_sysent,
120 struct sysent *old_sysent);
121 int syscall_deregister (int *offset, struct sysent *old_sysent);
/dragonfly/sys/kern/
H A Dkern_syscalls.c50 syscall_register(int *offset, struct sysent *new_sysent, in syscall_register()
51 struct sysent *old_sysent) in syscall_register()
57 if (sysent[i].sy_call == (sy_call_t *)sys_lkmnosys) in syscall_register()
64 else if (sysent[*offset].sy_call != (sy_call_t *)sys_lkmnosys) in syscall_register()
67 *old_sysent = sysent[*offset]; in syscall_register()
68 sysent[*offset] = *new_sysent; in syscall_register()
73 syscall_deregister(int *offset, struct sysent *old_sysent) in syscall_deregister()
76 sysent[*offset] = *old_sysent; in syscall_deregister()
H A Dmakesyscalls.sh23 sysent="sysent.switch.$$"
28 trap "rm $sysdcl $syscompat $syscompatdcl $sysent $sysinc $sysarg $sysun" 0
30 touch $sysdcl $syscompat $syscompatdcl $sysent $sysinc $sysarg $sysun
61 sysent = \"$sysent\"
374 cat $sysinc $sysent >> $syssw
H A DMakefile9 sysent: ${.CURDIR}/init_sysent.c target
H A Dinit_sysent.c16 struct sysent sysent[] = { variable
H A Dinit_main.c342 .sv_table = sysent,
/dragonfly/usr.bin/ctags/test/
H A Dctags.test4 char sysent[20];
5 int nsysent = sizeof (sysent) / sizeof (sysent[0]);
/dragonfly/share/examples/kld/syscall/module/
H A Dsyscall.c53 static struct sysent hello_sysent = {
/dragonfly/sys/vfs/nfs/
H A Dnfs_subs.c605 nfs_prev_nfssvc_sy_narg = sysent[SYS_nfssvc].sy_narg; in nfs_init()
606 sysent[SYS_nfssvc].sy_narg = 2; in nfs_init()
608 nfs_prev_nfssvc_sy_call = sysent[SYS_nfssvc].sy_call; in nfs_init()
609 sysent[SYS_nfssvc].sy_call = (sy_call_t *)sys_nfssvc; in nfs_init()
621 sysent[SYS_nfssvc].sy_narg = nfs_prev_nfssvc_sy_narg; in nfs_uninit()
622 sysent[SYS_nfssvc].sy_call = nfs_prev_nfssvc_sy_call; in nfs_uninit()
/dragonfly/sys/
H A DMakefile22 (cd ${.CURDIR}/kern; ${MAKE} sysent)
/dragonfly/sys/cpu/x86_64/misc/
H A Delf_machdep.c42 .sv_table = sysent,
/dragonfly/sys/platform/vkernel64/x86_64/
H A Dtrap.c1018 struct sysent *callp; in syscall2()
1224 struct sysent *callp; in sys_xsyscall()
/dragonfly/sys/platform/pc64/x86_64/
H A Dtrap.c1163 struct sysent *callp; in syscall2()
1389 struct sysent *callp; in sys_xsyscall()