Lines Matching refs:old_sw
977 struct switch_stack *old_sw; in ia64_mca_modify_original_stack() local
1110 old_sw = (struct switch_stack *)p; in ia64_mca_modify_original_stack()
1111 memcpy(old_sw, sw, sizeof(*sw)); in ia64_mca_modify_original_stack()
1112 old_sw->caller_unat = old_unat; in ia64_mca_modify_original_stack()
1113 old_sw->ar_fpsr = old_regs->ar_fpsr; in ia64_mca_modify_original_stack()
1114 copy_reg(&ms->pmsa_gr[4-1], ms->pmsa_nat_bits, &old_sw->r4, &old_unat); in ia64_mca_modify_original_stack()
1115 copy_reg(&ms->pmsa_gr[5-1], ms->pmsa_nat_bits, &old_sw->r5, &old_unat); in ia64_mca_modify_original_stack()
1116 copy_reg(&ms->pmsa_gr[6-1], ms->pmsa_nat_bits, &old_sw->r6, &old_unat); in ia64_mca_modify_original_stack()
1117 copy_reg(&ms->pmsa_gr[7-1], ms->pmsa_nat_bits, &old_sw->r7, &old_unat); in ia64_mca_modify_original_stack()
1118 old_sw->b0 = (u64)ia64_leave_kernel; in ia64_mca_modify_original_stack()
1119 old_sw->b1 = ms->pmsa_br1; in ia64_mca_modify_original_stack()
1120 old_sw->ar_pfs = 0; in ia64_mca_modify_original_stack()
1121 old_sw->ar_unat = old_unat; in ia64_mca_modify_original_stack()
1122 old_sw->pr = old_regs->pr | (1UL << PRED_NON_SYSCALL); in ia64_mca_modify_original_stack()
1152 old_sw->ar_bspstore = (unsigned long)old_bspstore; in ia64_mca_modify_original_stack()
1153 old_sw->ar_rnat = old_rnat; in ia64_mca_modify_original_stack()