Lines Matching refs:uc
93 svr4_getcontext(td, uc, mask, oonstack)
95 struct svr4_ucontext *uc;
101 svr4_greg_t *r = uc->uc_mcontext.greg;
102 struct svr4_sigaltstack *s = &uc->uc_stack;
114 memset(uc, 0, sizeof(struct svr4_ucontext));
116 uc->uc_link = p->p_emuldata;
171 bsd_to_svr4_sigset(mask, &uc->uc_sigmask);
176 uc->uc_flags = SVR4_UC_SIGMASK|SVR4_UC_CPU|SVR4_UC_STACK;
190 svr4_setcontext(td, uc)
192 struct svr4_ucontext *uc;
199 svr4_greg_t *r = uc->uc_mcontext.greg;
200 struct svr4_sigaltstack *s = &uc->uc_stack;
219 if ((uc->uc_flags & SVR4_UC_CPU) == 0) {
278 p->p_emuldata = uc->uc_link;
282 if (uc->uc_flags & SVR4_UC_STACK) {
289 if (uc->uc_flags & SVR4_UC_SIGMASK) {
295 uc->uc_sigmask.bits[i]));
298 svr4_to_bsd_sigset(&uc->uc_sigmask, &mask);