Lines Matching full:lwp_ap
142 * lwp->lwp_ap normally points to the out regs in the reg structure.
168 ap = lwp->lwp_ap; in get_syscall_args()
196 * lwp->lwp_ap normally points to the out regs in the reg structure.
316 lwp->lwp_ap = lwp->lwp_arg; in save_syscall_args()
318 t->t_post_sys = 1; /* so lwp_ap will be reset */ in save_syscall_args()
327 lwp->lwp_ap = (long *)&lwptoregs(lwp)->r_o0; in reset_syscall_args()
369 * by lwp_ap. If the args need to be copied so that the outs can in pre_syscall()
371 * they can be saved by save_syscall_args(), and lwp_ap will be in pre_syscall()
374 ASSERT(lwp->lwp_ap == (long *)&rp->r_o0); in pre_syscall()
436 lwp->lwp_ap = (long *)&rp->r_o0; in pre_syscall()
504 for (i = 0, ap = lwp->lwp_ap; i < callp->sy_narg; i++, ap++) { in pre_syscall()
838 * pointer so the next syscall will have the right lwp_ap pointer. in post_syscall()
840 lwp->lwp_ap = (long *)&rp->r_o0; in post_syscall()
939 error = (*(callp->sy_call))(lwp->lwp_ap, &rval); in syscall_ap()
1063 ASSERT(lwp->lwp_ap != NULL); in indir()
1077 ap = lwp->lwp_ap; /* args haven't been saved */ in indir()
1078 lwp->lwp_ap = ap + 1; /* advance arg pointer */ in indir()
1079 curthread->t_post_sys = 1; /* so lwp_ap will be reset */ in indir()