Lines Matching defs:callp
97 struct sysent *callp;
140 callp = (code >= NUM_SYSENT) ? &sysent[63] : &sysent[code];
142 if (__improbable(callp == sysent)) {
145 callp = (code >= NUM_SYSENT) ? &sysent[63] : &sysent[code];
150 if (callp->sy_arg_bytes != 0) {
153 assert((unsigned) callp->sy_arg_bytes <= sizeof (uthread->uu_arg));
157 nargs = callp->sy_arg_bytes;
174 mungerp = callp->sy_arg_munge32;
207 error = (*(callp->sy_call))((void *) p, (void *) vt, &(uthread->uu_rval[0]));
265 if (__improbable(!is_vfork && callp->sy_call == (sy_call_t *)execve && !error)) {
279 struct sysent *callp;
316 callp = (code >= NUM_SYSENT) ? &sysent[63] : &sysent[code];
319 if (__improbable(callp == sysent)) {
325 callp = (code >= NUM_SYSENT) ? &sysent[63] : &sysent[code];
330 if (callp->sy_narg != 0) {
338 assert(callp->sy_narg <= 8);
340 if (__improbable(callp->sy_narg > args_in_regs)) {
343 copyin_count = (callp->sy_narg - args_in_regs) * sizeof(uint64_t);
356 if (__improbable(callp->sy_flags & UNSAFE_64BIT)) {
357 callp = &sysent[63];
384 error = (*(callp->sy_call))((void *) p, uargp, &(uthread->uu_rval[0]));
410 switch (callp->sy_return_type) {
478 struct sysent *callp;
494 callp = (code >= NUM_SYSENT) ? &sysent[63] : &sysent[code];
496 if (callp == sysent)
504 if (callp->sy_call == dtrace_systrace_syscall)
521 switch (callp->sy_return_type) {
558 callp = (code >= NUM_SYSENT) ? &sysent[63] : &sysent[code];
561 if (callp->sy_call == dtrace_systrace_syscall)
566 if (callp == sysent) {