Defined in 1 files as a prototype:
Defined in 13 files as a function:
- arch/arc/kernel/kprobes.c, line 23 (as a function)
- arch/arm/probes/kprobes/core.c, line 48 (as a function)
- arch/arm64/kernel/probes/kprobes.c, line 109 (as a function)
- arch/csky/kernel/probes/kprobes.c, line 78 (as a function)
- arch/loongarch/kernel/kprobes.c, line 27 (as a function)
- arch/mips/kernel/kprobes.c, line 78 (as a function)
- arch/parisc/kernel/kprobes.c, line 20 (as a function)
- arch/powerpc/kernel/kprobes.c, line 127 (as a function)
- arch/riscv/kernel/probes/kprobes.c, line 72 (as a function)
- arch/s390/kernel/kprobes.c, line 121 (as a function)
- arch/sh/kernel/kprobes.c, line 40 (as a function)
- arch/sparc/kernel/kprobes.c, line 50 (as a function)
- arch/x86/kernel/kprobes/core.c, line 761 (as a function)
Referenced in 5 files:
- arch/loongarch/kernel/kprobes.c, line 58
- arch/mips/kernel/kprobes.c, line 137
- arch/powerpc/kernel/kprobes.c, line 172
- arch/s390/kernel/kprobes.c, line 134
- kernel/kprobes.c
Smatch caller information:
kernel/kprobes.c prepare_kprobe() -> arch_prepare_kprobe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->addr | 1-3556549974045937663,6432617772963328000-ptr_max |
| PARAM_VALUE | 0 | p->flags | 0,2,8,10,16,18,24,26 |
| PARAM_VALUE | 0 | p->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | p->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | p->nmissed | 0 |
| PARAM_VALUE | 0 | p->symbol_name | 0,4096-ptr_max |
| BUF_SIZE | 0 | p->symbol_name | (-1),512 |
| CAPPED_DATA | 0 | p | 1 |
| CAPPED_DATA | 0 | p->addr | 1 |
| DATA_SOURCE | 0 | p | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | global &fei_lock |
kernel/kprobes.c register_aggr_kprobe() -> arch_prepare_kprobe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->addr | 1-3556549974045937663,6432617772963328000-ptr_max |
| PARAM_VALUE | 0 | p->flags | 1-u32max |
| BUF_SIZE | 0 | p | (-1),128 |
| BUF_SIZE | 0 | p | (-1),128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| LOCK2 | global &jump_label_mutex | ||
| HALF_LOCKED2 | global &fei_lock |