Lines Matching refs:regnum
283 unw_access_gr (struct unw_frame_info *info, int regnum, unsigned long *val, char *nat, int write) in unw_access_gr() argument
289 if ((unsigned) regnum - 1 >= 127) { in unw_access_gr()
290 if (regnum == 0 && !write) { in unw_access_gr()
296 __func__, regnum); in unw_access_gr()
300 if (regnum < 32) { in unw_access_gr()
301 if (regnum >= 4 && regnum <= 7) { in unw_access_gr()
303 ireg = &info->r4 + (regnum - 4); in unw_access_gr()
354 addr = &info->sw->r4 + (regnum - 4); in unw_access_gr()
361 addr = (unsigned long *) ((unsigned long)pt + pt_regs_off(regnum)); in unw_access_gr()
370 addr = ia64_rse_skip_regs((unsigned long *) info->bsp, regnum - 32); in unw_access_gr()
409 unw_access_br (struct unw_frame_info *info, int regnum, unsigned long *val, int write) in unw_access_br() argument
414 switch (regnum) { in unw_access_br()
422 addr = *(&info->b1_loc + (regnum - 1)); in unw_access_br()
424 addr = &info->sw->b1 + (regnum - 1); in unw_access_br()
429 __func__, regnum); in unw_access_br()
445 unw_access_fr (struct unw_frame_info *info, int regnum, struct ia64_fpreg *val, int write) in unw_access_fr() argument
450 if ((unsigned) (regnum - 2) >= 126) { in unw_access_fr()
452 __func__, regnum); in unw_access_fr()
456 if (regnum <= 5) { in unw_access_fr()
457 addr = *(&info->f2_loc + (regnum - 2)); in unw_access_fr()
459 addr = &info->sw->f2 + (regnum - 2); in unw_access_fr()
460 } else if (regnum <= 15) { in unw_access_fr()
461 if (regnum <= 11) { in unw_access_fr()
463 addr = &pt->f6 + (regnum - 6); in unw_access_fr()
466 addr = &info->sw->f12 + (regnum - 12); in unw_access_fr()
467 } else if (regnum <= 31) { in unw_access_fr()
468 addr = info->fr_loc[regnum - 16]; in unw_access_fr()
470 addr = &info->sw->f16 + (regnum - 16); in unw_access_fr()
478 addr = t->thread.fph + (regnum - 32); in unw_access_fr()
494 unw_access_ar (struct unw_frame_info *info, int regnum, unsigned long *val, int write) in unw_access_ar() argument
499 switch (regnum) { in unw_access_ar()
574 __func__, regnum); in unw_access_ar()
999 desc_reg_when (unsigned char regnum, unw_word t, struct unw_state_record *sr) in desc_reg_when() argument
1001 struct unw_reg_info *reg = sr->curr.reg + regnum; in desc_reg_when()