Home
last modified time | relevance | path

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

1234

/freebsd-12.1/sys/sys/
H A Dsysent.h40 struct sysent;
61 struct sysent { /* system call table */ struct
97 struct sysent *sv_table; /* pointer to sysent */
166 extern struct sysent sysent[];
181 struct sysent *new_sysent; /* new sysent */
182 struct sysent old_sysent; /* old sysent */
203 static struct sysent syscallname##_sysent = { \
237 struct sysent new_sysent;
238 struct sysent old_sysent;
275 struct sysent *new_sysent, struct sysent *old_sysent, int flags);
[all …]
/freebsd-12.1/sys/kern/
H A Dkern_syscalls.c67 syscall_thread_drain(struct sysent *se) in syscall_thread_drain()
83 _syscall_thread_enter(struct thread *td, struct sysent *se) in _syscall_thread_enter()
97 _syscall_thread_exit(struct thread *td, struct sysent *se) in _syscall_thread_exit()
108 kern_syscall_register(struct sysent *sysents, int *offset, in kern_syscall_register()
109 struct sysent *new_sysent, struct sysent *old_sysent, int flags) in kern_syscall_register()
140 const struct sysent *old_sysent) in kern_syscall_deregister()
142 struct sysent *se; in kern_syscall_deregister()
215 return (kern_syscall_helper_register(sysent, sd, flags)); in syscall_helper_register()
219 kern_syscall_helper_register(struct sysent *sysents, in kern_syscall_helper_register()
241 return (kern_syscall_helper_unregister(sysent, sd)); in syscall_helper_unregister()
[all …]
H A Dmakesyscalls.sh42 sysent="sysent.switch.$$"
50 …syscompat7dcl $syscompat10 $syscompat10dcl $syscompat11 $syscompat11dcl $sysent $sysinc $sysarg $s…
52 …syscompat7dcl $syscompat10 $syscompat10dcl $syscompat11 $syscompat11dcl $sysent $sysinc $sysarg $s…
121 sysent = \"$sysent\"
753 cat $sysinc $sysent >> $syssw
H A DMakefile12 sysent: init_sysent.c syscalls.c ../sys/syscall.h ../sys/syscall.mk \ target
/freebsd-12.1/sys/dev/filemon/
H A Dfilemon_wrapper.c405 sysent[SYS_chdir].sy_call = (sy_call_t *) filemon_wrapper_chdir; in filemon_wrapper_install()
406 sysent[SYS_open].sy_call = (sy_call_t *) filemon_wrapper_open; in filemon_wrapper_install()
410 sysent[SYS_link].sy_call = (sy_call_t *) filemon_wrapper_link; in filemon_wrapper_install()
437 sysent[SYS_chdir].sy_call = (sy_call_t *)sys_chdir; in filemon_wrapper_deinstall()
438 sysent[SYS_open].sy_call = (sy_call_t *)sys_open; in filemon_wrapper_deinstall()
439 sysent[SYS_openat].sy_call = (sy_call_t *)sys_openat; in filemon_wrapper_deinstall()
440 sysent[SYS_rename].sy_call = (sy_call_t *)sys_rename; in filemon_wrapper_deinstall()
441 sysent[SYS_unlink].sy_call = (sy_call_t *)sys_unlink; in filemon_wrapper_deinstall()
442 sysent[SYS_link].sy_call = (sy_call_t *)sys_link; in filemon_wrapper_deinstall()
443 sysent[SYS_symlink].sy_call = (sy_call_t *)sys_symlink; in filemon_wrapper_deinstall()
[all …]
/freebsd-12.1/usr.bin/ctags/test/
H A Dctags.test4 char sysent[20];
5 int nsysent = sizeof (sysent) / sizeof (sysent[0]);
/freebsd-12.1/sys/cddl/dev/systrace/
H A Dsystrace.c77 extern struct sysent linux_sysent[];
91 extern struct sysent linux32_sysent[];
119 #define SYSENT sysent
301 ASSERT(sysent[sysnum].sy_entry == 0); in systrace_destroy()
303 ASSERT(sysent[sysnum].sy_return == 0); in systrace_destroy()
/freebsd-12.1/sys/i386/ibcs2/
H A Dibcs2_isc.c50 extern struct sysent isc_sysent[];
56 struct sysent *callp; in ibcs2_isc()
H A Dibcs2_xenix.c63 extern struct sysent xenix_sysent[];
69 struct sysent *callp; in ibcs2_xenix()
/freebsd-12.1/sys/compat/freebsd32/
H A Dfreebsd32_util.h59 extern struct sysent freebsd32_sysent[];
75 static struct sysent syscallname##_sysent32 = { \
/freebsd-12.1/sys/riscv/riscv/
H A Dmachdep.c574 struct sysentvec *sysent; in sendsig() local
636 sysent = p->p_sysent; in sendsig()
637 if (sysent->sv_sigcode_base != 0) in sendsig()
638 tf->tf_ra = (register_t)sysent->sv_sigcode_base; in sendsig()
640 tf->tf_ra = (register_t)(sysent->sv_psstrings - in sendsig()
641 *(sysent->sv_szsigcode)); in sendsig()
/freebsd-12.1/sys/riscv/include/
H A Dproc.h51 struct sysent *callp;
/freebsd-12.1/sys/arm64/arm64/
H A Dmachdep.c625 struct sysentvec *sysent; in sendsig() local
684 sysent = p->p_sysent; in sendsig()
685 if (sysent->sv_sigcode_base != 0) in sendsig()
686 tf->tf_lr = (register_t)sysent->sv_sigcode_base; in sendsig()
688 tf->tf_lr = (register_t)(sysent->sv_psstrings - in sendsig()
689 *(sysent->sv_szsigcode)); in sendsig()
/freebsd-12.1/sys/arm/arm/
H A Dmachdep.c609 struct sysentvec *sysent; local
685 sysent = p->p_sysent;
686 if (sysent->sv_sigcode_base != 0)
687 tf->tf_usr_lr = (register_t)sysent->sv_sigcode_base;
689 tf->tf_usr_lr = (register_t)(sysent->sv_psstrings -
690 *(sysent->sv_szsigcode));
/freebsd-12.1/share/examples/kld/syscall/module/
H A Dsyscall.c53 static struct sysent hello_sysent = {
/freebsd-12.1/sys/powerpc/include/
H A Dproc.h60 struct sysent *callp;
/freebsd-12.1/sys/amd64/linux32/
H A DMakefile11 sysent: linux32_sysent.c linux32_syscall.h linux32_proto.h linux32_syscalls.c linux32_systrace_arg… target
/freebsd-12.1/sys/amd64/linux/
H A DMakefile11 sysent: linux_sysent.c linux_syscall.h linux_proto.h linux_syscalls.c linux_systrace_args.c target
/freebsd-12.1/sys/arm/include/
H A Dproc.h83 struct sysent *callp;
/freebsd-12.1/sys/arm64/linux/
H A DMakefile11 sysent: linux_sysent.c linux_syscall.h linux_proto.h linux_syscalls.c linux_systrace_args.c target
/freebsd-12.1/sys/i386/linux/
H A DMakefile11 sysent: linux_sysent.c linux_syscall.h linux_proto.h linux_syscalls.c linux_systrace_args.c target
/freebsd-12.1/sys/arm64/include/
H A Dproc.h52 struct sysent *callp;
/freebsd-12.1/sys/sparc64/include/
H A Dproc.h60 struct sysent *callp;
/freebsd-12.1/sys/compat/cloudabi32/
H A DMakefile9 sysent: cloudabi32_sysent.c cloudabi32_syscall.h cloudabi32_proto.h \ target
/freebsd-12.1/sys/compat/cloudabi64/
H A DMakefile9 sysent: cloudabi64_sysent.c cloudabi64_syscall.h cloudabi64_proto.h \ target

1234