Searched refs:ra (Results 1 - 25 of 79) sorted by relevance

1234

/arch/sh/kernel/
H A Dreturn_address.c20 unsigned long ra; local
23 for (i = 0, frame = NULL, ra = 0; i <= depth; i++) {
26 tmp = dwarf_unwind_stack(ra, frame);
38 ra = frame->return_addr;
47 return (void *)ra;
/arch/mips/include/asm/
H A Dstacktrace.h9 unsigned long pc, unsigned long *ra);
13 unsigned long *ra);
17 unsigned long *sp, unsigned long pc, unsigned long *ra)
16 unwind_stack(struct task_struct *task, unsigned long *sp, unsigned long pc, unsigned long *ra) argument
H A Dregdef.h59 #define ra $31 /* return address */ macro
102 #define ra $31 /* return address */ macro
/arch/mips/oprofile/
H A Dbacktrace.c15 unsigned long ra; member in struct:stackframe
33 /* sw / sd $ra, offset($sp) */
54 /* jr ra */
79 if (old_frame->pc == 0 || old_frame->sp == 0 || old_frame->ra == 0)
110 new_frame.ra = old_frame->sp + ra_offset;
111 if (get_mem(new_frame.ra, &(new_frame.ra)))
124 new_frame.pc = old_frame->ra;
138 oprofile_add_trace(frame->ra);
157 &(frame->ra));
[all...]
/arch/powerpc/lib/
H A Dsstep.c96 int ra; local
99 ra = (instr >> 16) & 0x1f;
101 if (ra)
102 ea += regs->gpr[ra];
113 int ra; local
116 ra = (instr >> 16) & 0x1f;
118 if (ra)
119 ea += regs->gpr[ra];
131 int ra, rb; local
134 ra
645 unsigned int opcode, ra, rb, rd, spr, u; local
[all...]
/arch/tile/kernel/
H A Dunaligned.c175 * unalign load/store shares same register with ra, rb and rd.
178 static void find_regs(tilegx_bundle_bits bundle, uint64_t *rd, uint64_t *ra, argument
197 *ra = reg;
204 alias_reg_map = (1ULL << *rd) | (1ULL << *ra);
208 alias_reg_map = (1ULL << *ra) | (1ULL << *rb);
248 *ra = reg;
254 alias_reg_map = (1ULL << *rd) | (1ULL << *ra);
260 alias_reg_map = (1ULL << *ra) | (1ULL << *rb);
311 * Sanity check for register ra, rb, rd, clob1/2/3. Return true if any of them
315 static bool check_regs(uint64_t rd, uint64_t ra, uint64_ argument
376 jit_x0_addi(int rd, int ra, int imm8) argument
385 jit_x1_ldna(int rd, int ra) argument
393 jit_x0_dblalign(int rd, int ra, int rb) argument
435 jit_x1_st1_add(int ra, int rb, int imm8) argument
445 jit_x1_st(int ra, int rb) argument
453 jit_x1_st_add(int ra, int rb, int imm8) argument
463 jit_x1_ld(int rd, int ra) argument
471 jit_x1_ld_add(int rd, int ra, int imm8) argument
481 jit_x0_bfexts(int rd, int ra, int bfs, int bfe) argument
491 jit_x0_bfextu(int rd, int ra, int bfs, int bfe) argument
501 jit_x1_addi(int rd, int ra, int imm8) argument
510 jit_x0_shrui(int rd, int ra, int imm6) argument
520 jit_x0_rotli(int rd, int ra, int imm6) argument
530 jit_x1_bnezt(int ra, int broff) argument
561 uint64_t ra = -1, rb = -1, rd = -1, clob1 = -1, clob2 = -1, clob3 = -1; local
[all...]
/arch/xtensa/include/asm/
H A Dprocessor.h84 #define MAKE_RA_FOR_CALL(ra,ws) (((ra) & 0x3fffffff) | (ws) << 30)
87 * Note: We assume that the stack pointer is in the same 1GB ranges as the ra
89 #define MAKE_PC_FROM_RA(ra,sp) (((ra) & 0x3fffffff) | ((sp) & 0xc0000000))
98 unsigned long ra; /* kernel's a0: return address and window call size */ member in struct:thread_struct
132 ra: 0, \
/arch/powerpc/kvm/
H A Demulate_loadstore.c54 int ra, rs, rt; local
65 ra = get_ra(inst);
82 kvmppc_set_gpr(vcpu, ra, vcpu->arch.vaddr_accessed);
101 kvmppc_set_gpr(vcpu, ra, vcpu->arch.vaddr_accessed);
114 kvmppc_set_gpr(vcpu, ra, vcpu->arch.vaddr_accessed);
127 kvmppc_set_gpr(vcpu, ra, vcpu->arch.vaddr_accessed);
178 kvmppc_set_gpr(vcpu, ra, vcpu->arch.vaddr_accessed);
187 kvmppc_set_gpr(vcpu, ra, vcpu->arch.vaddr_accessed);
208 kvmppc_set_gpr(vcpu, ra, vcpu->arch.vaddr_accessed);
221 kvmppc_set_gpr(vcpu, ra, vcp
[all...]
/arch/mips/kernel/
H A Dperf_event.c49 unsigned long ra = regs->regs[31]; local
64 pc = unwind_stack(current, &sp, pc, &ra);
H A Dmcount.S23 PTR_S ra, PT_R31(sp)
38 PTR_L ra, PT_R31(sp)
54 jr ra
55 move ra, AT
59 * The -mmcount-ra-address option of gcc 4.5 uses register $12 to pass
66 NESTED(ftrace_caller, PT_SIZE, ra)
82 PTR_SUBU a0, ra, 8 /* arg1: self address */
116 NESTED(_mcount, PT_SIZE, ra)
141 move a0, ra /* arg1: self return address */
158 NESTED(ftrace_graph_caller, PT_SIZE, ra)
[all...]
H A Dr6000_fpu.S49 jr ra
51 1: jr ra
86 jr ra
88 1: jr ra
H A Dr2300_switch.S51 sw ra, THREAD_REG31(a0)
94 jr ra
102 jr ra
110 jr ra
169 jr ra
H A Dprocess.c180 * swsp ra,offset
183 * sw32 ra,offset(sp)
207 /* sw / sd $ra, offset($sp) */
418 unsigned long *ra)
442 *ra = regs->regs[31];
451 * Return ra if an exception occurred at the first instruction
454 pc = *ra;
455 *ra = 0;
476 pc = pc != *ra ? *ra
415 unwind_stack_by_address(unsigned long stack_page, unsigned long *sp, unsigned long pc, unsigned long *ra) argument
487 unwind_stack(struct task_struct *task, unsigned long *sp, unsigned long pc, unsigned long *ra) argument
503 unsigned long ra = 0; local
[all...]
H A Dr4k_switch.S44 LONG_S ra, THREAD_REG31(a0)
109 jr ra
122 jr ra
133 jr ra
143 jr ra
151 jr ra
156 jr ra
303 jr ra
/arch/mips/mm/
H A Dtlbex-fault.S21 PTR_LA ra, ret_from_exception
/arch/alpha/include/uapi/asm/
H A Dregdef.h35 #define ra $26 /* return address register */ macro
/arch/mips/lib/
H A Dmemset.S114 R10KCBARRIER(0(ra))
132 R10KCBARRIER(0(ra))
138 R10KCBARRIER(0(ra))
164 R10KCBARRIER(0(ra))
171 1: jr ra
179 R10KCBARRIER(0(ra))
183 2: jr ra /* done */
192 jr ra
200 jr ra
208 jr ra
[all...]
H A Dstrncpy_user.S46 R10KCBARRIER(0(ra))
56 jr ra # return n
61 jr ra
H A Dstrlen_user.S41 jr ra
45 jr ra
H A Dstrnlen_user.S48 jr ra
53 jr ra
/arch/powerpc/include/asm/
H A Dasm-compat.h72 #define PPC405_ERR77(ra,rb) stringify_in_c(dcbt ra, rb;)
75 #define PPC405_ERR77(ra,rb)
/arch/mips/fw/lib/
H A Dcall_o32.S43 * called o32 function for sp and ra restoration and this dispatcher has
47 NESTED(call_o32, O32_FRAMESZ, ra)
50 REG_S ra,O32_FRAMESZ-1*SZREG(sp)
104 REG_L ra,O32_FRAMESZ-1*SZREG(sp)
107 jr ra
/arch/parisc/math-emu/
H A Dfpudispatch.c1121 u_int rm1, rm2, tm, ra, ta; /* operands */ local
1146 ra = extru(ir, fprapos, 5) * sizeof(double)/sizeof(u_int);
1153 if (ra == 0) {
1167 if (dbl_fadd(&fpregs[ta], &fpregs[ra], &atmp.ints.i1,
1176 if (ra == 0)
1177 ra = fpzeroreg;
1182 if (dbl_fadd(&fpregs[ta], &fpregs[ra], &atmp.ints.i1,
1214 ra = (extru(ir,fprapos,4) | 0x10 ) << 1; /* get offset */
1215 ra |= extru(ir,fprapos-4,1); /* add right word offset */
1220 if (ra
1261 u_int rm1, rm2, tm, ra, ta; /* operands */ local
1352 u_int rm1, rm2, ra, t; /* operands */ local
[all...]
/arch/sparc/kernel/
H A Dsysfs.c123 unsigned long ra = 0; local
125 sun4v_mmustat_info(&ra);
127 return ra != 0;
132 unsigned long ra, orig_ra; local
135 ra = __pa(&per_cpu(mmu_stats, smp_processor_id()));
137 ra = 0UL;
139 return sun4v_mmustat_conf(ra, &orig_ra);
/arch/mips/boot/compressed/
H A Dhead.S38 PTR_LA ra, 2f

Completed in 4994 milliseconds

1234