| /arch/arc/kernel/ |
| A D | disasm.c | 106 state->x = BITS(state->words[0], 6, 6); in disasm_instr() 107 state->zz = BITS(state->words[0], 7, 8); in disasm_instr() 113 state->src1 = state->words[1]; in disasm_instr() 117 state->src2 = FIELD_s9(state->words[0]); in disasm_instr() 118 state->dest = FIELD_A(state->words[0]); in disasm_instr() 129 state->src1 = FIELD_C(state->words[0]); in disasm_instr() 132 state->src1 = state->words[1]; in disasm_instr() 140 state->src2 = state->words[1]; in disasm_instr() 219 state->src1 = state->words[1]; in disasm_instr() 227 state->src2 = state->words[1]; in disasm_instr() [all …]
|
| A D | unaligned.c | 139 if ((state->aa == 1) || (state->aa == 2)) { in fixup_load() 140 set_reg(state->wb_reg, state->src1 + state->src2, regs, cregs); in fixup_load() 147 get32_unaligned_check(val, state->src1 + state->src2); in fixup_load() 149 get16_unaligned_check(val, state->src1 + state->src2); in fixup_load() 167 if ((state->aa == 1) || (state->aa == 2)) { in fixup_store() 168 set_reg(state->wb_reg, state->src2 + state->src3, regs, cregs); in fixup_store() 174 set_reg(state->wb_reg, state->src2 + (state->src3 << 1), in fixup_store() 177 set_reg(state->wb_reg, state->src2 + (state->src3 << 2), in fixup_store() 186 put32_unaligned_check(state->src1, state->src2 + state->src3); in fixup_store() 188 put16_unaligned_check(state->src1, state->src2 + state->src3); in fixup_store() [all …]
|
| A D | unwind.c | 655 state->loc += delta * state->codeAlign; in advance_loc() 705 state->loc = state->org; in processCFI() 776 state); in processCFI() 793 state->stack[state->stackDepth++] = ptr.p8; in processCFI() 802 state->stack[state->stackDepth - 1]; in processCFI() 865 state); in processCFI() 1008 memset(&state, 0, sizeof(state)); in arc_unwind() 1125 memcpy(&state.cfa, &badCFA, sizeof(state.cfa)); in arc_unwind() 1182 state.cfa.reg, state.cfa.offs, cfa); in arc_unwind() 1266 addr = cfa + state.regs[i].value * state.dataAlign; in arc_unwind() [all …]
|
| /arch/x86/kernel/ |
| A D | unwind_frame.c | 19 return __kernel_text_address(state->ip) ? state->ip : 0; in unwind_get_return_address() 28 return state->regs ? &state->regs->ip : state->bp + 1; in unwind_get_return_address_ptr() 46 state->stack_mask, state->graph_idx); in unwind_dump() 87 return state->bp == last_frame(state); in is_last_frame() 150 *state->bp == *(state->bp + 2) && in is_last_ftrace_frame() 151 *(state->bp + 1) == *(state->bp + 4)); in is_last_ftrace_frame() 248 if (state->regs && user_mode(state->regs)) in update_stack_state() 273 if (state->regs && user_mode(state->regs)) in unwind_next_frame() 357 state->regs, state->task->comm, in unwind_next_frame() 363 state->bp, state->task->comm, in unwind_next_frame() [all …]
|
| A D | unwind_orc.c | 20 if (state->task == current && !state->error) { \ 60 state->stack_mask, state->graph_idx); in unwind_dump() 494 orc = orc_find(state->signal ? state->ip : state->ip - 1); in unwind_next_frame() 588 state->ip = unwind_recover_ret_addr(state, state->ip, in unwind_next_frame() 596 if (!deref_stack_regs(state, sp, &state->ip, &state->sp)) { in unwind_next_frame() 611 state->ip = unwind_recover_rethook(state, state->ip, in unwind_next_frame() 619 if (!deref_stack_iret_regs(state, sp, &state->ip, &state->sp)) { in unwind_next_frame() 625 state->ip = unwind_recover_rethook(state, state->ip, in unwind_next_frame() 629 state->prev_regs = state->regs; in unwind_next_frame() 653 if (!deref_stack_reg(state, state->bp + orc->bp_offset, &state->bp)) in unwind_next_frame() [all …]
|
| A D | unwind_guess.c | 13 if (unwind_done(state)) in unwind_get_return_address() 18 return unwind_recover_ret_addr(state, addr, state->sp); in unwind_get_return_address() 31 if (unwind_done(state)) in unwind_next_frame() 35 for (state->sp++; state->sp < info->end; state->sp++) { in unwind_next_frame() 44 } while (!get_stack_info(state->sp, state->task, info, in unwind_next_frame() 45 &state->stack_mask)); in unwind_next_frame() 54 memset(state, 0, sizeof(*state)); in __unwind_start() 56 state->task = task; in __unwind_start() 59 get_stack_info(first_frame, state->task, &state->stack_info, in __unwind_start() 67 if (!unwind_done(state) && in __unwind_start() [all …]
|
| A D | stacktrace.c | 18 struct unwind_state state; in arch_stack_walk() local 24 for (unwind_start(&state, task, regs, NULL); !unwind_done(&state); in arch_stack_walk() 25 unwind_next_frame(&state)) { in arch_stack_walk() 26 addr = unwind_get_return_address(&state); in arch_stack_walk() 35 struct unwind_state state; in arch_stack_walk_reliable() local 39 for (unwind_start(&state, task, NULL, NULL); in arch_stack_walk_reliable() 40 !unwind_done(&state) && !unwind_error(&state); in arch_stack_walk_reliable() 41 unwind_next_frame(&state)) { in arch_stack_walk_reliable() 43 regs = unwind_get_entry_regs(&state, NULL); in arch_stack_walk_reliable() 59 addr = unwind_get_return_address(&state); in arch_stack_walk_reliable() [all …]
|
| /arch/loongarch/kernel/ |
| A D | unwind_prologue.c | 96 if (!fix_exception(state->pc) && !fix_ftrace(state->pc)) in unwind_state_fixup() 120 if (state->sp >= info->end || state->sp < info->begin) in unwind_by_prologue() 137 pc = state->pc - (state->first ? 0 : LOONGARCH_INSN_SIZE); in unwind_by_prologue() 177 state->sp = state->sp + frame_size; in unwind_by_prologue() 183 state->pc = *(unsigned long *)(state->sp + frame_ra); in unwind_by_prologue() 184 state->sp = state->sp + frame_size; in unwind_by_prologue() 188 state->pc = state->ra; in unwind_by_prologue() 206 state->pc = unwind_graph_addr(state, state->pc, state->sp); in next_frame() 221 get_stack_info(state->sp, state->task, info); in next_frame() 228 } while (!get_stack_info(state->sp, state->task, info)); in next_frame() [all …]
|
| A D | unwind.c | 10 bool default_next_frame(struct unwind_state *state) in default_next_frame() argument 12 struct stack_info *info = &state->stack_info; in default_next_frame() 15 if (unwind_done(state)) in default_next_frame() 19 for (state->sp += sizeof(unsigned long); in default_next_frame() 20 state->sp < info->end; state->sp += sizeof(unsigned long)) { in default_next_frame() 21 addr = *(unsigned long *)(state->sp); in default_next_frame() 22 state->pc = unwind_graph_addr(state, addr, state->sp + 8); in default_next_frame() 23 if (__kernel_text_address(state->pc)) in default_next_frame() 27 state->sp = info->next_sp; in default_next_frame() 29 } while (!get_stack_info(state->sp, state->task, info)); in default_next_frame()
|
| A D | unwind_orc.c | 346 if (!unwind_done(state) && !__kernel_text_address(state->pc)) in unwind_start() 431 state->sp = state->sp + orc->sp_offset; in unwind_next_frame() 434 state->sp = state->fp; in unwind_next_frame() 447 state->fp = *p; in unwind_next_frame() 464 pc = unwind_graph_addr(state, *p, state->sp); in unwind_next_frame() 467 if (!state->ra || state->ra == state->pc) in unwind_next_frame() 470 pc = unwind_graph_addr(state, state->ra, state->sp); in unwind_next_frame() 472 state->ra = 0; in unwind_next_frame() 501 get_stack_info(state->sp, state->task, info); in unwind_next_frame() 510 if (!state->pc) { in unwind_next_frame() [all …]
|
| A D | unwind_guess.c | 8 unsigned long unwind_get_return_address(struct unwind_state *state) in unwind_get_return_address() argument 10 return __unwind_get_return_address(state); in unwind_get_return_address() 14 void unwind_start(struct unwind_state *state, struct task_struct *task, in unwind_start() argument 17 __unwind_start(state, task, regs); in unwind_start() 18 if (!unwind_done(state) && !__kernel_text_address(state->pc)) in unwind_start() 19 unwind_next_frame(state); in unwind_start() 23 bool unwind_next_frame(struct unwind_state *state) in unwind_next_frame() argument 25 return default_next_frame(state); in unwind_next_frame()
|
| /arch/s390/kernel/ |
| A D | unwind_bc.c | 16 if (unwind_done(state)) in unwind_get_return_address() 18 return __kernel_text_address(state->ip) ? state->ip : 0; in unwind_get_return_address() 64 regs = state->regs; in unwind_next_frame() 66 sp = state->sp; in unwind_next_frame() 111 state->sp = sp; in unwind_next_frame() 112 state->regs = regs; in unwind_next_frame() 114 state->ip = unwind_recover_ret_addr(state, ip); in unwind_next_frame() 134 memset(state, 0, sizeof(*state)); in __unwind_start() 135 state->task = task; in __unwind_start() 169 state->sp = sp; in __unwind_start() [all …]
|
| /arch/loongarch/include/asm/ |
| A D | unwind.h | 45 return state->error; in unwind_error() 53 return ftrace_graph_ret_addr(state->task, &state->graph_idx, in unwind_graph_addr() 60 memset(state, 0, sizeof(*state)); in __unwind_start() 69 state->ra = 0; in __unwind_start() 70 state->fp = 0; in __unwind_start() 74 state->ra = 0; in __unwind_start() 75 state->fp = 0; in __unwind_start() 77 state->task = task; in __unwind_start() 78 get_stack_info(state->sp, state->task, &state->stack_info); in __unwind_start() 79 state->pc = unwind_graph_addr(state, state->pc, state->sp); in __unwind_start() [all …]
|
| /arch/arm64/kernel/ |
| A D | stacktrace.c | 66 state->task = task; in kunwind_init() 68 state->flags.all = 0; in kunwind_init() 69 state->regs = NULL; in kunwind_init() 85 state->regs = regs; in kunwind_init_from_regs() 137 orig_pc = ftrace_graph_ret_addr(state->task, &state->graph_idx, in kunwind_recover_return_address() 138 state->common.pc, in kunwind_recover_return_address() 154 &state->kr_cur); in kunwind_recover_return_address() 181 state->regs = regs; in kunwind_next_regs_pc() 184 state->regs = NULL; in kunwind_next_regs_pc() 259 state->flags.all = 0; in kunwind_next() [all …]
|
| /arch/s390/include/asm/ |
| A D | unwind.h | 50 ip = ftrace_graph_ret_addr(state->task, &state->graph_idx, ip, (void *)state->sp); in unwind_recover_ret_addr() 53 ip = rethook_find_ret_addr(state->task, state->sp, &state->kr_cur); in unwind_recover_ret_addr() 60 bool unwind_next_frame(struct unwind_state *state); 63 static inline bool unwind_done(struct unwind_state *state) in unwind_done() argument 65 return state->stack_info.type == STACK_TYPE_UNKNOWN; in unwind_done() 70 return state->error; in unwind_error() 80 __unwind_start(state, task, regs, first_frame); in unwind_start() 85 return unwind_done(state) ? NULL : state->regs; in unwind_get_entry_regs() 89 for (unwind_start(state, task, regs, first_frame); \ 90 !unwind_done(state); \ [all …]
|
| /arch/arm/boot/dts/aspeed/ |
| A D | aspeed-bmc-ibm-blueridge.dts | 82 idle-state = <0>; 594 retain-state-shutdown; 602 retain-state-shutdown; 610 retain-state-shutdown; 618 retain-state-shutdown; 626 retain-state-shutdown; 634 retain-state-shutdown; 642 retain-state-shutdown; 650 retain-state-shutdown; 667 retain-state-shutdown; [all …]
|
| A D | aspeed-bmc-ibm-rainier.dts | 81 idle-state = <0>; 598 retain-state-shutdown; 606 retain-state-shutdown; 614 retain-state-shutdown; 622 retain-state-shutdown; 630 retain-state-shutdown; 638 retain-state-shutdown; 646 retain-state-shutdown; 654 retain-state-shutdown; 672 retain-state-shutdown; [all …]
|
| A D | aspeed-bmc-ibm-everest.dts | 914 retain-state-shutdown; 922 retain-state-shutdown; 930 retain-state-shutdown; 938 retain-state-shutdown; 946 retain-state-shutdown; 954 retain-state-shutdown; 962 retain-state-shutdown; 970 retain-state-shutdown; 978 retain-state-shutdown; 986 retain-state-shutdown; [all …]
|
| A D | aspeed-bmc-ibm-fuji.dts | 911 retain-state-shutdown; 919 retain-state-shutdown; 927 retain-state-shutdown; 935 retain-state-shutdown; 943 retain-state-shutdown; 951 retain-state-shutdown; 959 retain-state-shutdown; 967 retain-state-shutdown; 975 retain-state-shutdown; 983 retain-state-shutdown; [all …]
|
| /arch/x86/include/asm/ |
| A D | unwind.h | 44 bool unwind_next_frame(struct unwind_state *state); 48 static inline bool unwind_done(struct unwind_state *state) in unwind_done() argument 50 return state->stack_info.type == STACK_TYPE_UNKNOWN; in unwind_done() 55 return state->error; in unwind_error() 64 __unwind_start(state, task, regs, first_frame); in unwind_start() 74 if (unwind_done(state)) in unwind_get_entry_regs() 79 *partial = !state->full_regs; in unwind_get_entry_regs() 85 return state->regs; in unwind_get_entry_regs() 113 &state->kr_cur); in unwind_recover_rethook() 125 ret = ftrace_graph_ret_addr(state->task, &state->graph_idx, in unwind_recover_ret_addr() [all …]
|
| /arch/arm64/include/asm/stacktrace/ |
| A D | common.h | 60 state->stack = stackinfo_get_unknown(); in unwind_init_common() 77 struct stack_info *info = &state->stack; in unwind_find_stack() 82 for (int i = 0; i < state->nr_stacks; i++) { in unwind_find_stack() 83 info = &state->stacks[i]; in unwind_find_stack() 129 state->stack = tmp; in unwind_consume_stack() 135 state->stack.low = sp + size; in unwind_consume_stack() 146 unwind_next_frame_record(struct unwind_state *state) in unwind_next_frame_record() argument 150 unsigned long fp = state->fp; in unwind_next_frame_record() 155 info = unwind_find_stack(state, fp, sizeof(*record)); in unwind_next_frame_record() 165 state->fp = READ_ONCE(record->fp); in unwind_next_frame_record() [all …]
|
| /arch/powerpc/kvm/ |
| A D | book3s_xive.c | 591 if (state->lsi && state->asserted) in xive_vm_h_eoi() 1331 new_act_prio, state->act_server, state->act_priority); in kvmppc_xive_set_xive() 1601 state->old_p, state->old_q); in kvmppc_xive_set_mapped() 1625 state->act_priority, state->number); in kvmppc_xive_set_mapped() 1638 state->old_p = state->old_q = false; in kvmppc_xive_set_mapped() 1676 state->old_p, state->old_q); in kvmppc_xive_clr_mapped() 1708 state->act_priority, state->number); in kvmppc_xive_clr_mapped() 2080 state->saved_p = state->old_p; in xive_pre_save_mask_irq() 2081 state->saved_q = state->old_q; in xive_pre_save_mask_irq() 2464 pr_devel(" P=%d, Q=%d\n", state->old_p, state->old_q); in xive_set_source() [all …]
|
| /arch/arm64/include/asm/ |
| A D | fpsimdmacros.h | 11 .macro fpsimd_save state, tmpnr 12 stp q0, q1, [\state, #16 * 0] 13 stp q2, q3, [\state, #16 * 2] 14 stp q4, q5, [\state, #16 * 4] 15 stp q6, q7, [\state, #16 * 6] 16 stp q8, q9, [\state, #16 * 8] 17 stp q10, q11, [\state, #16 * 10] 29 str w\tmpnr, [\state, #16 * 2] 40 cmp \tmp, \state 42 msr fpcr, \state [all …]
|
| /arch/x86/boot/ |
| A D | cmdline.c | 40 } state = st_wordstart; in __cmdline_find_option() local 49 switch (state) { in __cmdline_find_option() 55 state = st_wordcmp; in __cmdline_find_option() 63 state = st_bufcpy; in __cmdline_find_option() 65 state = st_wordstart; in __cmdline_find_option() 67 state = st_wordskip; in __cmdline_find_option() 73 state = st_wordstart; in __cmdline_find_option() 78 state = st_wordstart; in __cmdline_find_option() 110 } state = st_wordstart; in __cmdline_find_option_bool() local 122 switch (state) { in __cmdline_find_option_bool() [all …]
|
| /arch/arm/boot/dts/qcom/ |
| A D | qcom-apq8064-pins.dtsi | 4 sdcc1_default_state: sdcc1-default-state { 24 sdcc3_default_state: sdcc3-default-state { 44 sdc4_default_state: sdc4-default-state { 102 i2c1_sleep_state: i2c1-sleep-state { 116 i2c2_sleep_state: i2c2-sleep-state { 130 i2c3_sleep_state: i2c3-sleep-state { 144 i2c4_sleep_state: i2c4-sleep-state { 158 i2c6_sleep_state: i2c6-sleep-state { 172 i2c7_sleep_state: i2c7-sleep-state { 196 spi5_sleep_state: spi5-sleep-state { [all …]
|