Lines Matching refs:savearea
79 #include <ppc/savearea.h>
219 struct savearea *sv; /* Pointer to newly allocated savearea */
223 assert(thread->machine.pcb == (struct savearea *)0); /* Make sure there was no previous savearea */
225 sv = save_alloc(); /* Go get us a savearea */
227 bzero((char *)((unsigned int)sv + sizeof(savearea_comm)), (sizeof(struct savearea) - sizeof(savearea_comm))); /* Clear it */
265 struct savearea *local_pcb, *ppsv;
286 vsv = thread->machine.curctx->VMXsave; /* Get the top vector savearea */
292 save_release((struct savearea *)vpsv); /* Release it */
299 fsv = thread->machine.curctx->FPUsave; /* Get the top float savearea */
305 save_release((struct savearea *)fpsv); /* Release it */
314 local_pcb = thread->machine.pcb; /* Get the general savearea */
319 local_pcb = CAST_DOWN(struct savearea *, local_pcb->save_hdr.save_prev); /* Get one underneath our's */
332 * user level savearea(s) too, else don't
341 struct savearea *local_pcb, *userpcb;
344 struct savearea *svp;
376 vsv = act->machine.curctx->VMXsave; /* Get the top vector savearea */
392 save_ret((struct savearea *)vpst); /* Release it */
405 fsv = act->machine.curctx->FPUsave; /* Get the top floats savearea */
420 save_ret((struct savearea *)fpst); /* Release it */
426 * free all regular saveareas except a user savearea, if any
429 local_pcb = act->machine.pcb; /* Get the general savearea */
433 if (local_pcb->save_srr1 & MASK(MSR_PR)) { /* Is this a user savearea? */
439 local_pcb = CAST_DOWN(struct savearea *, local_pcb->save_hdr.save_prev); /* Get one underneath our's */
530 struct savearea *sv;