• Home
  • Raw
  • Download

Lines Matching refs:curr

624 	memcpy(rs, &sr->curr, sizeof(*rs));  in push()
625 sr->curr.next = rs; in push()
631 struct unw_reg_state *rs = sr->curr.next; in pop()
637 memcpy(&sr->curr, rs, sizeof(*rs)); in pop()
756 reg = sr->curr.reg + unw.save_order[i]; in finish_prologue()
777 regs[0] = sr->curr.reg + UNW_REG_F2; in finish_prologue()
778 regs[1] = sr->curr.reg + UNW_REG_R4; in finish_prologue()
779 regs[2] = sr->curr.reg + UNW_REG_B1; in finish_prologue()
786 spill_next_when(&regs[kind - 1], sr->curr.reg + limit[kind - 1], in finish_prologue()
795 alloc_spill_area(&off, 16, sr->curr.reg + UNW_REG_F2, sr->curr.reg + UNW_REG_F31); in finish_prologue()
796 alloc_spill_area(&off, 8, sr->curr.reg + UNW_REG_B1, sr->curr.reg + UNW_REG_B5); in finish_prologue()
797 alloc_spill_area(&off, 8, sr->curr.reg + UNW_REG_R4, sr->curr.reg + UNW_REG_R7); in finish_prologue()
837 set_reg(sr->curr.reg + unw.save_order[i], UNW_WHERE_GR, in desc_prologue()
871 set_reg(sr->curr.reg + UNW_REG_B1 + i, UNW_WHERE_GR, in desc_br_gr()
884 set_reg(sr->curr.reg + UNW_REG_B1 + i, UNW_WHERE_SPILL_HOME, in desc_br_mem()
899 set_reg(sr->curr.reg + UNW_REG_R4 + i, UNW_WHERE_SPILL_HOME, in desc_frgr_mem()
908 set_reg(sr->curr.reg + base + i, UNW_WHERE_SPILL_HOME, in desc_frgr_mem()
923 set_reg(sr->curr.reg + UNW_REG_F2 + i, UNW_WHERE_SPILL_HOME, in desc_fr_mem()
938 set_reg(sr->curr.reg + UNW_REG_R4 + i, UNW_WHERE_GR, in desc_gr_gr()
951 set_reg(sr->curr.reg + UNW_REG_R4 + i, UNW_WHERE_SPILL_HOME, in desc_gr_mem()
962 set_reg(sr->curr.reg + UNW_REG_PSP, UNW_WHERE_NONE, in desc_mem_stack_f()
969 sr->curr.reg[UNW_REG_PSP].when = sr->region_start + min_t(int, t, sr->region_len - 1); in desc_mem_stack_v()
975 set_reg(sr->curr.reg + reg, UNW_WHERE_GR, sr->region_start + sr->region_len - 1, dst); in desc_reg_gr()
981 set_reg(sr->curr.reg + reg, UNW_WHERE_PSPREL, sr->region_start + sr->region_len - 1, in desc_reg_psprel()
988 set_reg(sr->curr.reg + reg, UNW_WHERE_SPREL, sr->region_start + sr->region_len - 1, in desc_reg_sprel()
1001 struct unw_reg_info *reg = sr->curr.reg + regnum; in desc_reg_when()
1038 free_state_stack(&sr->curr); in desc_copy_state()
1039 memcpy(&sr->curr, &ls->saved_state, sizeof(sr->curr)); in desc_copy_state()
1040 sr->curr.next = dup_state_stack(ls->saved_state.next); in desc_copy_state()
1058 memcpy(&ls->saved_state, &sr->curr, sizeof(ls->saved_state)); in desc_label_state()
1059 ls->saved_state.next = dup_state_stack(sr->curr.next); in desc_label_state()
1091 r = sr->curr.reg + decode_abreg(abreg, 0); in desc_restore_p()
1112 r = sr->curr.reg + decode_abreg(abreg, 0); in desc_spill_reg_p()
1127 r = sr->curr.reg + decode_abreg(abreg, 1); in desc_spill_psprel_p()
1142 r = sr->curr.reg + decode_abreg(abreg, 1); in desc_spill_sprel_p()
1358 struct unw_reg_info *r = sr->curr.reg + i; in emit_nat_info()
1403 struct unw_reg_info *r = sr->curr.reg + i; in compile_reg()
1545 for (r = sr.curr.reg; r < sr.curr.reg + UNW_NUM_REGS; ++r) in build_script()
1587 sr.curr.reg[UNW_REG_RP].where = UNW_WHERE_BR; in build_script()
1588 sr.curr.reg[UNW_REG_RP].when = -1; in build_script()
1589 sr.curr.reg[UNW_REG_RP].val = 0; in build_script()
1611 sr.curr.reg[UNW_REG_PSP].val = 0; in build_script()
1612 sr.curr.reg[UNW_REG_PSP].where = UNW_WHERE_NONE; in build_script()
1613 sr.curr.reg[UNW_REG_PSP].when = UNW_WHEN_NEVER; in build_script()
1614 for (r = sr.curr.reg; r < sr.curr.reg + UNW_NUM_REGS; ++r) in build_script()
1630 if (sr.curr.reg[UNW_REG_RP].when >= sr.when_target) { in build_script()
1631 sr.curr.reg[UNW_REG_RP].where = UNW_WHERE_BR; in build_script()
1632 sr.curr.reg[UNW_REG_RP].when = -1; in build_script()
1633 sr.curr.reg[UNW_REG_RP].val = sr.return_link_reg; in build_script()
1635 __func__, ip, sr.curr.reg[UNW_REG_RP].where, in build_script()
1636 sr.curr.reg[UNW_REG_RP].val); in build_script()
1642 for (r = sr.curr.reg; r < sr.curr.reg + UNW_NUM_REGS; ++r) { in build_script()
1644 UNW_DPRINT(1, " %s <- ", unw.preg_name[r - sr.curr.reg]); in build_script()
1652 UNW_DPRINT(1, "%s+0x%lx", unw.preg_name[r - sr.curr.reg], r->val); in build_script()
1672 if (sr.when_target > sr.curr.reg[UNW_REG_PSP].when in build_script()
1673 && (sr.curr.reg[UNW_REG_PSP].where == UNW_WHERE_NONE) in build_script()
1674 && sr.curr.reg[UNW_REG_PSP].val != 0) { in build_script()
1678 insn.val = sr.curr.reg[UNW_REG_PSP].val; /* frame size */ in build_script()
1683 if (sr.when_target < sr.curr.reg[UNW_REG_PRI_UNAT_GR].when) in build_script()
1685 else if (sr.when_target < sr.curr.reg[UNW_REG_PRI_UNAT_MEM].when) in build_script()
1687 else if (sr.curr.reg[UNW_REG_PRI_UNAT_MEM].when > sr.curr.reg[UNW_REG_PRI_UNAT_GR].when) in build_script()
1705 free_state_stack(&sr.curr); in build_script()