Lines Matching refs:osv
1034 struct savearea *sv, *osv;
1043 osv = find_user_regs(self); /* Find the original context */
1044 if(!osv)
1047 bcopy((char *)((unsigned int)osv + sizeof(savearea_comm)), /* Copy everything but the headers */
1103 struct savearea *sv, *osv;
1110 osv = NULL; /* Set no user savearea yet */
1113 osv = sv; /* Save the last one */
1123 if(osv) { /* Did we already have one? */
1124 osv->save_hdr.save_prev = (addr64_t)((uintptr_t)sv); /* Chain us on the end */
1546 struct savearea *sv, *osv;
1557 osv = find_user_regs(thread); /* Get our savearea */
1559 if(!osv) {
1570 bcopy((char *)((unsigned int)osv + sizeof(savearea_comm)), /* Copy everything but the headers */
1638 struct savearea *sv, *osv, *psv;
1674 osv = thread->machine.pcb; /* Get the top general savearea */
1676 while(osv) { /* Any saved state? */
1677 if(osv->save_srr1 & MASK(MSR_PR)) break; /* Leave if this is user state */
1678 psv = osv; /* Save previous savearea address */
1679 osv = CAST_DOWN(struct savearea *, osv->save_hdr.save_prev); /* Get one underneath our's */
1682 if(osv) { /* Did we find one? */
1686 save_release(osv); /* Nope, release it */