Searched refs:sysent (Results 1 - 25 of 200) sorted by relevance

12345678

/freebsd-10-stable/sys/ia64/include/
H A Dproc.h48 struct sysent *callp;
/freebsd-10-stable/sys/kern/
H A Dkern_syscalls.c36 #include <sys/sysent.h>
42 * Acts like "nosys" but can be identified in sysent for dynamic call
62 syscall_thread_drain(struct sysent *se)
78 syscall_thread_enter(struct thread *td, struct sysent *se)
94 syscall_thread_exit(struct thread *td, struct sysent *se)
107 syscall_register(int *offset, struct sysent *new_sysent,
108 struct sysent *old_sysent)
114 if (sysent[i].sy_call == (sy_call_t *)lkmnosys)
121 else if (sysent[*offset].sy_call != (sy_call_t *)lkmnosys &&
122 sysent[*offse
[all...]
H A Dmakesyscalls.sh21 switchname="sysent"
26 sysaue="sysent.aue.$$"
27 sysdcl="sysent.dcl.$$"
28 syscompat="sysent.compat.$$"
29 syscompatdcl="sysent.compatdcl.$$"
30 syscompat4="sysent.compat4.$$"
31 syscompat4dcl="sysent.compat4dcl.$$"
32 syscompat6="sysent.compat6.$$"
33 syscompat6dcl="sysent.compat6dcl.$$"
34 syscompat7="sysent
[all...]
H A DMakefile7 @echo "make sysent only"
9 sysent: init_sysent.c syscalls.c ../sys/syscall.h ../sys/syscall.mk \
/freebsd-10-stable/sys/sys/
H A Dsysent.h38 struct sysent;
45 typedef void (*systrace_probe_func_t)(u_int32_t, int, struct sysent *, void *,
56 struct sysent { /* system call table */ struct
87 struct sysent *sv_table; /* pointer to sysent */
157 extern struct sysent sysent[];
171 int *offset; /* offset into sysent */
172 struct sysent *new_sysent; /* new sysent */
[all...]
/freebsd-10-stable/sys/i386/ibcs2/
H A Dibcs2_isc.c38 #include <sys/sysent.h>
48 extern struct sysent isc_sysent[];
54 struct sysent *callp;
/freebsd-10-stable/share/examples/kld/syscall/module/
H A Dsyscall.c33 #include <sys/sysent.h>
49 * The `sysent' for the new syscall
51 static struct sysent hello_sysent = {
57 * The offset in sysent where the syscall is allocated.
/freebsd-10-stable/sys/compat/freebsd32/
H A Dfreebsd32_util.h36 #include <sys/sysent.h>
57 extern struct sysent freebsd32_sysent[];
73 static struct sysent syscallname##_sysent32 = { \
100 int syscall32_register(int *offset, struct sysent *new_sysent,
101 struct sysent *old_sysent);
102 int syscall32_deregister(int *offset, struct sysent *old_sysent);
H A DMakefile6 @echo "make sysent only"
8 sysent: freebsd32_sysent.c freebsd32_syscall.h freebsd32_proto.h freebsd32_systrace_args.c
/freebsd-10-stable/sys/amd64/linux/
H A DMakefile6 @echo "make sysent only"
8 sysent: linux_sysent.c linux_syscall.h linux_proto.h linux_syscalls.c linux_systrace_args.c
/freebsd-10-stable/sys/amd64/linux32/
H A DMakefile6 @echo "make sysent only"
8 sysent: linux32_sysent.c linux32_syscall.h linux32_proto.h linux32_syscalls.c linux32_systrace_args.c
/freebsd-10-stable/sys/compat/svr4/
H A DMakefile6 @echo "make sysent only"
8 sysent: svr4_sysent.c svr4_syscall.h svr4_proto.h
/freebsd-10-stable/sys/i386/linux/
H A DMakefile6 @echo "make sysent only"
8 sysent: linux_sysent.c linux_syscall.h linux_proto.h linux_syscalls.c linux_systrace_args.c
/freebsd-10-stable/sys/ia64/ia64/
H A Dsys_machdep.c36 #include <sys/sysent.h>
/freebsd-10-stable/sys/powerpc/include/
H A Dproc.h71 struct sysent *callp;
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Dsystrace.c53 systrace_init(struct sysent *actual, systrace_sysent_t **interposed)
55 systrace_sysent_t *sysent = *interposed; local
58 if (sysent == NULL) {
59 *interposed = sysent = kmem_zalloc(sizeof (systrace_sysent_t) *
64 struct sysent *a = &actual[i];
65 systrace_sysent_t *s = &sysent[i];
91 systrace_init(sysent, &systrace_sysent);
164 ASSERT(sysent[sysnum].sy_callc == dtrace_systrace_syscall);
168 (void) atomic_cas_ptr(&sysent[sysnum].sy_callc,
187 (void) atomic_cas_ptr(&sysent[sysnu
[all...]
/freebsd-10-stable/sys/dev/filemon/
H A Dfilemon_wrapper.c37 #include <sys/sysent.h>
405 sysent[SYS_chdir].sy_call = (sy_call_t *) filemon_wrapper_chdir;
406 sysent[SYS_open].sy_call = (sy_call_t *) filemon_wrapper_open;
407 sysent[SYS_openat].sy_call = (sy_call_t *) filemon_wrapper_openat;
408 sysent[SYS_rename].sy_call = (sy_call_t *) filemon_wrapper_rename;
409 sysent[SYS_unlink].sy_call = (sy_call_t *) filemon_wrapper_unlink;
410 sysent[SYS_link].sy_call = (sy_call_t *) filemon_wrapper_link;
411 sysent[SYS_symlink].sy_call = (sy_call_t *) filemon_wrapper_symlink;
412 sysent[SYS_linkat].sy_call = (sy_call_t *) filemon_wrapper_linkat;
437 sysent[SYS_chdi
[all...]
/freebsd-10-stable/sys/arm/include/
H A Dproc.h73 struct sysent *callp;
/freebsd-10-stable/sys/compat/ia32/
H A Dia32_util.h39 #include <sys/sysent.h>
/freebsd-10-stable/sys/fs/procfs/
H A Dprocfs_type.c40 #include <sys/sysent.h>
/freebsd-10-stable/sys/ia64/ia32/
H A Dia32_misc.c36 #include <sys/sysent.h>
/freebsd-10-stable/sys/mips/include/
H A Dproc.h85 struct sysent *callp;
/freebsd-10-stable/sys/sparc64/include/
H A Dproc.h71 struct sysent *callp;
/freebsd-10-stable/sys/cddl/dev/systrace/
H A Dsystrace.c54 #include <sys/sysent.h>
76 extern struct sysent linux_sysent[];
90 extern struct sysent linux32_sysent[];
118 #define SYSENT sysent
192 * Note: This function is called for _all_ syscalls, regardless of which sysent
197 systrace_probe(u_int32_t id, int sysnum, struct sysent *sysent, void *params, argument
209 if (params && sysent->sy_systrace_args_func != NULL) {
214 (*sysent->sy_systrace_args_func)(sysnum, params, uargs, &n_args);
290 ASSERT(sysent[sysnu
[all...]
/freebsd-10-stable/sys/amd64/include/
H A Dproc.h85 struct sysent *callp;

Completed in 305 milliseconds

12345678