Home
last modified time | relevance | path

Searched refs:sysents (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/kern/
H A Dkern_syscalls.c124 kern_syscall_register(struct sysent *sysents, int *offset, in kern_syscall_register() argument
134 if (sysents[i].sy_call == (sy_call_t *)lkmnosys) in kern_syscall_register()
141 } else if (sysents[*offset].sy_call != (sy_call_t *)lkmnosys && in kern_syscall_register()
142 sysents[*offset].sy_call != (sy_call_t *)lkmressys) { in kern_syscall_register()
143 KASSERT(sysents[*offset].sy_call != NULL, in kern_syscall_register()
148 KASSERT(sysents[*offset].sy_thrcnt == SY_THR_ABSENT, in kern_syscall_register()
150 *old_sysent = sysents[*offset]; in kern_syscall_register()
152 sysents[*offset] = *new_sysent; in kern_syscall_register()
153 atomic_store_rel_32(&sysents[*offset].sy_thrcnt, flags); in kern_syscall_register()
158 kern_syscall_deregister(struct sysent *sysents, int offset, in kern_syscall_deregister() argument
[all …]
/freebsd/sys/sys/
H A Dsysent.h308 int kern_syscall_register(struct sysent *sysents, int *offset,
310 int kern_syscall_deregister(struct sysent *sysents, int offset,
312 int kern_syscall_module_handler(struct sysent *sysents,
314 int kern_syscall_helper_register(struct sysent *sysents,
316 int kern_syscall_helper_unregister(struct sysent *sysents,