| /optee_os/lib/libunw/ |
| H A D | unwind_riscv.c | 58 frame->pc = caller_state->pc; in unwind_stack_riscv() 60 ftrace_map_lr(&frame->pc); in unwind_stack_riscv() 62 frame->pc -= 4; in unwind_stack_riscv() 74 ftrace_map_lr(&state->pc); in print_stack_riscv() 77 width, state->pc); in print_stack_riscv()
|
| H A D | unwind_arm64.c | 69 if (!copy_in_reg(&frame->pc, fp + 8)) in unwind_stack_arm64() 72 pauth_strip_pac(&frame->pc); in unwind_stack_arm64() 74 ftrace_map_lr(&frame->pc); in unwind_stack_arm64() 76 frame->pc -= 4; in unwind_stack_arm64() 89 ftrace_map_lr(&state->pc); in print_stack_arm64() 91 va = memtag_strip_tag_vaddr((void *)state->pc); in print_stack_arm64()
|
| /optee_os/lib/libutils/isoc/ |
| H A D | qsort.c | 78 char *pa, *pb, *pc, *pd, *pl, *pm, *pn; in qsort() local 105 pc = pd = (char *)a + (n - 1) * es; in qsort() 107 while (pb <= pc && (r = cmp(pb, a)) <= 0) { in qsort() 115 while (pb <= pc && (r = cmp(pc, a)) >= 0) { in qsort() 118 swap(pc, pd); in qsort() 121 pc -= es; in qsort() 123 if (pb > pc) in qsort() 125 swap(pb, pc); in qsort() 128 pc -= es; in qsort() 140 r = min(pd - pc, pn - pd - (int)es); in qsort() [all …]
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | unwind_arm64.c | 58 .pc = read_pc(), in unw_get_kernel_stack() 67 addr[n] = state.pc; in unw_get_kernel_stack() 93 state.pc = read_pc(); in print_kernel_stack()
|
| H A D | tz_ssvce_pl310_a32.S | 35 mov pc, lr 86 mov pc, lr 114 mov pc, lr 142 mov pc, lr 195 mov pc, lr
|
| H A D | thread.c | 153 uint32_t a6, uint32_t a7, void *pc) in init_regs() argument 155 thread->regs.pc = (uint32_t)pc; in init_regs() 165 if (thread->regs.pc & 1) in init_regs() 188 uint32_t a6, uint32_t a7, void *pc) in init_regs() argument 190 thread->regs.pc = (uint64_t)pc; in init_regs() 222 void *pc, uint32_t flags) in __thread_alloc_and_run() argument 248 init_regs(threads + n, a0, a1, a2, a3, a4, a5, a6, a7, pc); in __thread_alloc_and_run() 499 int thread_state_suspend(uint32_t flags, uint32_t cpsr, vaddr_t pc) in thread_state_suspend() argument 516 tee_ta_gprof_sample_pc(pc); in thread_state_suspend() 525 threads[ct].regs.pc = pc; in thread_state_suspend() [all …]
|
| H A D | misc_a32.S | 82 pop {r4, pc} 94 pop {r4, pc}
|
| /optee_os/core/lib/libtomcrypt/src/pk/asn1/der/general/ |
| H A D | der_encode_asn1_identifier.c | 42 if (id->pc < LTC_ASN1_PC_PRIMITIVE || id->pc > LTC_ASN1_PC_CONSTRUCTED) { in der_encode_asn1_identifier() 54 out[0] = id->klass << 6 | id->pc << 5; in der_encode_asn1_identifier()
|
| H A D | der_decode_asn1_identifier.c | 75 id->pc = (in[0] >> 5) & 0x1; in der_decode_asn1_identifier() 101 id->pc = 0; in der_decode_asn1_identifier() 109 (id->pc == tag_constructed_map[id->tag])) { in der_decode_asn1_identifier()
|
| /optee_os/ldelf/ |
| H A D | ta_elf.h | 136 void ta_elf_stack_trace_a64(uint64_t fp, uint64_t sp, uint64_t pc); 137 void ta_elf_stack_trace_riscv(uint64_t fp, uint64_t pc); 142 uint64_t pc __unused) { } in ta_elf_stack_trace_a64() 144 uint64_t pc __unused) { } in ta_elf_stack_trace_riscv()
|
| H A D | syscalls_a32.S | 36 pop {r5-r7, pc} 43 mov lr, pc
|
| /optee_os/core/arch/arm/plat-stm/ |
| H A D | tz_a9init.S | 40 mov pc, lr 68 mov pc, lr
|
| /optee_os/lib/libutils/isoc/arch/arm/ |
| H A D | arm32_aeabi_ldivmod_a32.S | 21 pop {ip, pc} 36 pop {ip, pc}
|
| /optee_os/ldelf/include/ |
| H A D | ldelf.h | 62 uint64_t pc; member 67 unsigned long pc; member
|
| /optee_os/core/lib/libtomcrypt/src/pk/asn1/der/custom_type/ |
| H A D | der_length_custom_type.c | 40 if (root->pc == LTC_ASN1_PC_PRIMITIVE) { in der_length_custom_type() 48 if (root->pc == LTC_ASN1_PC_PRIMITIVE) { in der_length_custom_type() 177 if (root->pc == LTC_ASN1_PC_PRIMITIVE) { in der_length_custom_type()
|
| /optee_os/core/arch/riscv/kernel/ |
| H A D | thread_arch.c | 195 uint32_t a6, uint32_t a7, void *pc) in init_regs() argument 199 thread->regs.epc = (uintptr_t)pc; in init_regs() 231 void *pc) in __thread_alloc_and_run() argument 257 init_regs(threads + n, a0, a1, a2, a3, a4, a5, a6, a7, pc); in __thread_alloc_and_run() 416 int thread_state_suspend(uint32_t flags, unsigned long status, vaddr_t pc) in thread_state_suspend() argument 431 tee_ta_gprof_sample_pc(pc); in thread_state_suspend() 440 threads[ct].regs.epc = pc; in thread_state_suspend()
|
| H A D | unwind_rv.c | 21 state.pc = read_pc(); in print_kernel_stack()
|
| /optee_os/lib/libutee/arch/arm/ |
| H A D | utee_syscalls_a32.S | 45 pop {r5-r7,pc} 52 mov lr, pc
|
| /optee_os/lib/libutils/ext/ftrace/ |
| H A D | ftrace.h | 9 void ftrace_enter(unsigned long pc, unsigned long *lr);
|
| H A D | ftrace.c | 90 void __noprof ftrace_enter(unsigned long pc, unsigned long *lr) in ftrace_enter() argument 98 add_elem(fbuf, fbuf->ret_idx + 1, pc); in ftrace_enter()
|
| /optee_os/lib/libunw/include/unw/ |
| H A D | unwind.h | 87 uint64_t pc; member 119 unsigned long pc; member
|
| /optee_os/core/arch/arm/sm/ |
| H A D | pm_a32.S | 37 pop {r0, pc} 44 pop {r4 - r12, pc} 123 ldmia r0!, {sp, pc}
|
| /optee_os/core/arch/riscv/include/ |
| H A D | riscv.h | 164 unsigned long pc = 0; in read_pc() local 166 asm volatile ("auipc %0, 0" : "=r" (pc)); in read_pc() 168 return pc; in read_pc()
|
| /optee_os/core/arch/arm/plat-ls/ |
| H A D | plat_init.S | 86 mov pc, lr
|
| /optee_os/core/arch/arm/plat-rzn1/ |
| H A D | a7_plat_init.S | 63 mov pc, lr
|