Home | History | Annotate | Download | only in kern

Lines Matching defs:sy

64 	const struct sysent *sy;
75 sy = l->l_sysent;
76 if (sy->sy_call != sys_nomodule) {
85 code = sy - em->e_sysent;
94 sy->sy_call == sys_nomodule) {
109 struct sysent *sy;
117 sy = em->e_sysent;
128 if (sy[sp[i].sp_code].sy_call != sys_nomodule &&
129 sy[sp[i].sp_code].sy_call != sys_nosys) {
138 sy[sp[i].sp_code].sy_call = sp[i].sp_call;
147 struct sysent *sy;
157 sy = em->e_sysent;
165 KASSERT(sy[sp[i].sp_code].sy_call == sp[i].sp_call);
166 sy[sp[i].sp_code].sy_call =
186 if (l->l_sysent == &sy[sp[i].sp_code]) {
201 sy[sp[i].sp_code].sy_call = sp[i].sp_call;
236 trace_enter(register_t code, const struct sysent *sy, const void *args)
244 if (sy->sy_entry) {
247 (*e->e_dtrace_syscall)(sy->sy_entry, code, sy, args,
256 ktrsyscall(code, args, sy->sy_narg);
279 trace_exit(register_t code, const struct sysent *sy, const void *args,
287 if (sy->sy_return) {
290 (*p->p_emul->e_dtrace_syscall)(sy->sy_return, code, sy,