Lines Matching refs:uc
49 tdep_uc_addr (ucontext_t *uc, int reg, uint8_t *nat_bitnr) in tdep_uc_addr() argument
51 return inlined_uc_addr (uc, reg, nat_bitnr); in tdep_uc_addr()
129 ucontext_t *uc = arg; in access_reg() local
135 __uc_get_reason (uc, &reason); in access_reg()
140 if ((ret = __uc_get_grs (uc, (reg - UNW_IA64_GR), 1, &value, &nat))) in access_reg()
144 ret = __uc_set_grs (uc, (reg - UNW_IA64_GR), 1, val, nat); in access_reg()
150 if ((ret = __uc_get_grs (uc, (reg - UNW_IA64_GR), 1, &value, &nat))) in access_reg()
161 ret = __uc_set_grs (uc, (reg - UNW_IA64_GR), 1, &value, nat); in access_reg()
171 ret = __uc_set_ar (uc, (reg - UNW_IA64_AR), *val); in access_reg()
173 ret = __uc_get_ar (uc, (reg - UNW_IA64_AR), val); in access_reg()
184 ret = __uc_set_grs (uc, SYSCALL_CFM_SAVE_REG, 1, val, 0); in access_reg()
186 ret = __uc_get_grs (uc, SYSCALL_CFM_SAVE_REG, 1, val, &nat); in access_reg()
191 ret = __uc_set_ar (uc, (reg - UNW_IA64_AR), *val); in access_reg()
193 ret = __uc_get_ar (uc, (reg - UNW_IA64_AR), val); in access_reg()
199 ret = __uc_set_brs (uc, (reg - UNW_IA64_BR), 1, val); in access_reg()
201 ret = __uc_get_brs (uc, (reg - UNW_IA64_BR), 1, val); in access_reg()
206 ret = __uc_set_prs (uc, *val); in access_reg()
208 ret = __uc_get_prs (uc, val); in access_reg()
213 ret = __uc_set_ip (uc, *val); in access_reg()
215 ret = __uc_get_ip (uc, val); in access_reg()
220 ret = __uc_set_cfm (uc, *val); in access_reg()
222 ret = __uc_get_cfm (uc, val); in access_reg()
249 ucontext_t *uc = arg; in access_fpreg() local
259 ret = __uc_set_frs (uc, (reg - UNW_IA64_FR), 1, &fp_regval); in access_fpreg()
263 ret = __uc_get_frs (uc, (reg - UNW_IA64_FR), 1, &fp_regval); in access_fpreg()
285 ucontext_t *uc = arg; in access_reg() local
293 uc->uc_mcontext.sc_nat |= mask; in access_reg()
295 uc->uc_mcontext.sc_nat &= ~mask; in access_reg()
298 *val = (uc->uc_mcontext.sc_nat & mask) != 0; in access_reg()
307 addr = tdep_uc_addr (uc, reg, NULL); in access_reg()
337 ucontext_t *uc = arg; in access_fpreg() local
343 addr = tdep_uc_addr (uc, reg, NULL); in access_fpreg()