| /freebsd-12.1/sys/sys/ |
| H A D | sysent.h | 40 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 D | kern_syscalls.c | 67 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 D | makesyscalls.sh | 42 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 D | Makefile | 12 sysent: init_sysent.c syscalls.c ../sys/syscall.h ../sys/syscall.mk \ target
|
| /freebsd-12.1/sys/dev/filemon/ |
| H A D | filemon_wrapper.c | 405 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 D | ctags.test | 4 char sysent[20]; 5 int nsysent = sizeof (sysent) / sizeof (sysent[0]);
|
| /freebsd-12.1/sys/cddl/dev/systrace/ |
| H A D | systrace.c | 77 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 D | ibcs2_isc.c | 50 extern struct sysent isc_sysent[]; 56 struct sysent *callp; in ibcs2_isc()
|
| H A D | ibcs2_xenix.c | 63 extern struct sysent xenix_sysent[]; 69 struct sysent *callp; in ibcs2_xenix()
|
| /freebsd-12.1/sys/compat/freebsd32/ |
| H A D | freebsd32_util.h | 59 extern struct sysent freebsd32_sysent[]; 75 static struct sysent syscallname##_sysent32 = { \
|
| /freebsd-12.1/sys/riscv/riscv/ |
| H A D | machdep.c | 574 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 D | proc.h | 51 struct sysent *callp;
|
| /freebsd-12.1/sys/arm64/arm64/ |
| H A D | machdep.c | 625 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 D | machdep.c | 609 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 D | syscall.c | 53 static struct sysent hello_sysent = {
|
| /freebsd-12.1/sys/powerpc/include/ |
| H A D | proc.h | 60 struct sysent *callp;
|
| /freebsd-12.1/sys/amd64/linux32/ |
| H A D | Makefile | 11 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 D | Makefile | 11 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 D | proc.h | 83 struct sysent *callp;
|
| /freebsd-12.1/sys/arm64/linux/ |
| H A D | Makefile | 11 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 D | Makefile | 11 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 D | proc.h | 52 struct sysent *callp;
|
| /freebsd-12.1/sys/sparc64/include/ |
| H A D | proc.h | 60 struct sysent *callp;
|
| /freebsd-12.1/sys/compat/cloudabi32/ |
| H A D | Makefile | 9 sysent: cloudabi32_sysent.c cloudabi32_syscall.h cloudabi32_proto.h \ target
|
| /freebsd-12.1/sys/compat/cloudabi64/ |
| H A D | Makefile | 9 sysent: cloudabi64_sysent.c cloudabi64_syscall.h cloudabi64_proto.h \ target
|