Lines Matching refs:callp
80 struct sysent *callp;
119 callp = (code >= NUM_SYSENT) ? &sysent[63] : &sysent[code];
121 if (callp == sysent) {
124 callp = (code >= NUM_SYSENT) ? &sysent[63] : &sysent[code];
129 if (callp->sy_arg_bytes != 0) {
132 assert((unsigned) callp->sy_arg_bytes <= sizeof (uthread->uu_arg));
136 nargs = callp->sy_arg_bytes;
152 mungerp = callp->sy_arg_munge32;
184 error = (*(callp->sy_call))((void *) p, (void *) vt, &(uthread->uu_rval[0]));
249 struct sysent *callp;
283 callp = (code >= NUM_SYSENT) ? &sysent[63] : &sysent[code];
286 if (callp == sysent) {
292 callp = (code >= NUM_SYSENT) ? &sysent[63] : &sysent[code];
297 if (callp->sy_narg != 0) {
304 assert(callp->sy_narg <= 8);
306 if (callp->sy_narg > args_in_regs) {
309 copyin_count = (callp->sy_narg - args_in_regs) * sizeof(uint64_t);
322 if (callp->sy_flags & UNSAFE_64BIT) {
323 callp = &sysent[63];
345 error = (*(callp->sy_call))((void *) p, uargp, &(uthread->uu_rval[0]));
366 switch (callp->sy_return_type) {
427 struct sysent *callp;
441 callp = (code >= NUM_SYSENT) ? &sysent[63] : &sysent[code];
443 if (callp == sysent)
451 if (callp->sy_call == dtrace_systrace_syscall)
469 switch (callp->sy_return_type) {
502 callp = (code >= NUM_SYSENT) ? &sysent[63] : &sysent[code];
505 if (callp->sy_call == dtrace_systrace_syscall)
509 if (callp == sysent) {