Defined in 3 files as a function:
- arch/loongarch/include/asm/unwind.h, line 38 (as a function)
- arch/s390/include/asm/unwind.h, line 63 (as a function)
- arch/x86/include/asm/unwind.h, line 48 (as a function)
Referenced in 19 files:
- arch/loongarch/include/asm/unwind.h, line 84
- arch/loongarch/kernel/perf_event.c, line 80
- arch/loongarch/kernel/process.c, line 249
- arch/loongarch/kernel/stacktrace.c
- arch/loongarch/kernel/traps.c, line 95
- arch/loongarch/kernel/unwind.c, line 15
- arch/loongarch/kernel/unwind_guess.c, line 18
- arch/loongarch/kernel/unwind_orc.c
- arch/loongarch/kernel/unwind_prologue.c
- arch/s390/include/asm/unwind.h
- arch/s390/kernel/unwind_bc.c
- arch/x86/events/core.c, line 2875
- arch/x86/include/asm/unwind.h, line 74
- arch/x86/kernel/process.c, line 1049
- arch/x86/kernel/stacktrace.c
- arch/x86/kernel/unwind_frame.c
- arch/x86/kernel/unwind_guess.c
- arch/x86/kernel/unwind_orc.c
- arch/x86/net/bpf_jit_comp.c, line 4223
Smatch caller information:
arch/x86/kernel/unwind_orc.c __unwind_start() -> unwind_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 203157205208690688,1166496065046179840,4478616676633214976,5620292609999732736,6627325413077086208,9036986890927263744 |
| PARAM_VALUE | 0 | state->stack_info.type | 0-2,4 |
| CAPPED_DATA | 0 | state->task->stack | 1 |
| DATA_SOURCE | 0 | state | $0 |
| STR_LEN | 0 | state | (-1)-2,8,24 |
| STR_LEN | 0 | state | (-1)-2,8,24 |
| STR_LEN | 0 | state->regs | (-1) |
| STR_LEN | 0 | state->task | (-1)-0,2 |
| MEM_ZERO | 0 | state | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &task->pi_lock | ||
| HALF_LOCKED2 | &task->signal->exec_update_lock | ||
| HALF_LOCKED2 | irq |
arch/x86/kernel/unwind_orc.c __unwind_start() -> unwind_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 203157205208690688,1166496065046179840,4478616676633214976,5620292609999732736,6627325413077086208,9036986890927263744 |
| PARAM_VALUE | 0 | state->stack_info.type | 0-2,4 |
| CAPPED_DATA | 0 | state->task->stack | 1 |
| DATA_SOURCE | 0 | state | $0 |
| STR_LEN | 0 | state | (-1)-2,8,24 |
| STR_LEN | 0 | state | (-1)-2,8,24 |
| STR_LEN | 0 | state->regs | (-1) |
| STR_LEN | 0 | state->task | (-1)-0,2 |
| MEM_ZERO | 0 | state | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &task->pi_lock | ||
| HALF_LOCKED2 | &task->signal->exec_update_lock | ||
| HALF_LOCKED2 | irq |
arch/x86/kernel/unwind_orc.c unwind_get_return_address() -> unwind_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 203157205208690688,4478616676633214976,5620292609999732736,6627325413077086208,9036986890927263744 |
| PARAM_VALUE | 0 | state->stack_info.type | 1-2,4 |
| DATA_SOURCE | 0 | state | $0 |
| MEM_ZERO | 0 | state | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &p->pi_lock | ||
| HALF_LOCKED2 | &p->signal->exec_update_lock | ||
| HALF_LOCKED2 | irq |
arch/x86/kernel/unwind_orc.c unwind_get_return_address_ptr() -> unwind_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 1166496065046179840 |
| PARAM_VALUE | 0 | state->stack_info.type | 0-2,4 |
| DATA_SOURCE | 0 | state | $0 |
| MEM_ZERO | 0 | state | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/unwind_orc.c unwind_next_frame() -> unwind_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 203157205208690688,1166496065046179840,4478616676633214976,5620292609999732736,6627325413077086208,9036986890927263744 |
| PARAM_VALUE | 0 | state->stack_info.type | 1-2,4 |
| BUF_SIZE | 0 | state->regs | (-1),168 |
| CAPPED_DATA | 0 | state->stack_info.end | 1 |
| DATA_SOURCE | 0 | state | $0 |
| STR_LEN | 0 | state | (-1)-2,8,24 |
| STR_LEN | 0 | state | (-1)-2,8,24 |
| STR_LEN | 0 | state->task | (-1)-0,2 |
| MEM_ZERO | 0 | state | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | state->prev_regs->ax | 0-u64max |
| USER_DATA | 0 | state->prev_regs->cx | 0-u64max |
| USER_DATA | 0 | state->prev_regs->r11 | 0-u64max |
| USER_DATA | 0 | state->regs->ax | 0-u64max |
| USER_DATA | 0 | state->regs->cx | 0-u64max |
| USER_DATA | 0 | state->regs->r11 | 0-u64max |
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &p->pi_lock | ||
| HALF_LOCKED2 | &p->signal->exec_update_lock | ||
| HALF_LOCKED2 | irq |
arch/x86/kernel/dumpstack.c unwind_get_entry_regs() -> unwind_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 1166496065046179840 |
| PARAM_VALUE | 0 | state->stack_info.type | 0-2,4 |
| DATA_SOURCE | 0 | state | $0 |
| MEM_ZERO | 0 | state | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/net/bpf_jit_comp.c arch_bpf_stack_walk() -> unwind_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 6627325413077086208 |
| PARAM_VALUE | 0 | state->stack_info.type | 0-2,4 |
| MEM_ZERO | 0 | state | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/net/bpf_jit_comp.c arch_bpf_stack_walk() -> unwind_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 6627325413077086208 |
| PARAM_VALUE | 0 | state->stack_info.type | 0-2,4 |
| MEM_ZERO | 0 | state | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/process.c __get_wchan() -> unwind_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 203157205208690688 |
| PARAM_VALUE | 0 | state->stack_info.type | 0-2,4 |
| MEM_ZERO | 0 | state | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| LOCK2 | &p->pi_lock | ||
| LOCK2 | &p->signal->exec_update_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct seq_file)->lock | ||
| TYPE_LOCK | (struct signal_struct)->exec_update_lock | ||
| TYPE_LOCK | (struct task_struct)->pi_lock |
arch/x86/kernel/process.c __get_wchan() -> unwind_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 203157205208690688 |
| PARAM_VALUE | 0 | state->stack_info.type | 0-2,4 |
| MEM_ZERO | 0 | state | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| LOCK2 | &p->pi_lock | ||
| LOCK2 | &p->signal->exec_update_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct seq_file)->lock | ||
| TYPE_LOCK | (struct signal_struct)->exec_update_lock | ||
| TYPE_LOCK | (struct task_struct)->pi_lock |
arch/x86/events/core.c perf_callchain_kernel() -> unwind_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 9036986890927263744 |
| PARAM_VALUE | 0 | state->stack_info.type | 0-2,4 |
| MEM_ZERO | 0 | state | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/events/core.c perf_callchain_kernel() -> unwind_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 9036986890927263744 |
| PARAM_VALUE | 0 | state->stack_info.type | 0-2,4 |
| MEM_ZERO | 0 | state | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/stacktrace.c arch_stack_walk() -> unwind_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 5620292609999732736 |
| PARAM_VALUE | 0 | state->stack_info.type | 0-2,4 |
| MEM_ZERO | 0 | state | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/stacktrace.c arch_stack_walk() -> unwind_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 5620292609999732736 |
| PARAM_VALUE | 0 | state->stack_info.type | 0-2,4 |
| MEM_ZERO | 0 | state | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/stacktrace.c arch_stack_walk_reliable() -> unwind_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4478616676633214976 |
| PARAM_VALUE | 0 | state->stack_info.type | 0-2,4 |
| MEM_ZERO | 0 | state |
arch/x86/kernel/stacktrace.c arch_stack_walk_reliable() -> unwind_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4478616676633214976 |
| PARAM_VALUE | 0 | state->stack_info.type | 0-2,4 |
| MEM_ZERO | 0 | state |
arch/x86/kernel/stacktrace.c unwind_get_entry_regs() -> unwind_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4478616676633214976 |
| PARAM_VALUE | 0 | state->stack_info.type | 1-2,4 |
| DATA_SOURCE | 0 | state | $0 |
| MEM_ZERO | 0 | state |