Lines Matching refs:uc
42 pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc)
45 memcpy(&uc->uc_mcontext, r, MIN(sizeof(uc->uc_mcontext), sizeof(*r)));
49 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r)
52 memcpy(r, &uc->uc_mcontext, MIN(sizeof(uc->uc_mcontext), sizeof(*r)));
56 pt_fpreg_to_ucontext(const struct fpreg* r, ucontext_t *uc)
58 mcontext_t *mc = &uc->uc_mcontext;
68 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r)
70 const mcontext_t *mc = &uc->uc_mcontext;