Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 19 files:

Smatch caller information:

kernel/kprobes.c register_kprobes() -> register_kprobe()

Type Parameter Key Value

kernel/kprobes.c register_kretprobe() -> register_kprobe()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->post_handler 0
PARAM_VALUE 0 p->pre_handler 4661925972793315328
HALF_LOCKED2 _T->lock

lib/tests/test_kprobes.c test_kprobe() -> register_kprobe()

Type Parameter Key Value
PARAM_VALUE 0 p 4685503856303845376

lib/tests/test_kprobes.c test_kprobe_missed() -> register_kprobe()

Type Parameter Key Value
PARAM_VALUE 0 p 2204581244889985024

kernel/fail_function.c fei_write() -> register_kprobe()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->post_handler 3653084427929006080
PARAM_VALUE 0 p->pre_handler 2994191789850050560
PARAM_VALUE 0 p->symbol_name 4096-ptr_max
LOCK2 global &fei_lock

samples/kprobes/kprobe_example.c kprobe_init() -> register_kprobe()

Type Parameter Key Value
PARAM_VALUE 0 p 4078290332606443520
PARAM_VALUE 0 p->post_handler 3874227059929296896
PARAM_VALUE 0 p->pre_handler 338803016825405440

lib/tests/slub_kunit.c register_slab_kprobes() -> register_kprobe()

Type Parameter Key Value
PARAM_VALUE 0 p 625161148921372704
PARAM_VALUE 0 p->addr 0
PARAM_VALUE 0 p->ainsn.boostable 0
PARAM_VALUE 0 p->ainsn.emulate_op 0
PARAM_VALUE 0 p->ainsn.indirect.reg 0
PARAM_VALUE 0 p->ainsn.insn 0
PARAM_VALUE 0 p->ainsn.jcc.type 0
PARAM_VALUE 0 p->ainsn.loop.asize 0
PARAM_VALUE 0 p->ainsn.loop.type 0
PARAM_VALUE 0 p->ainsn.opcode 0
PARAM_VALUE 0 p->ainsn.rel32 0
PARAM_VALUE 0 p->ainsn.size 0
PARAM_VALUE 0 p->ainsn.tp_len 0
PARAM_VALUE 0 p->flags 0
PARAM_VALUE 0 p->hlist.next 0
PARAM_VALUE 0 p->hlist.pprev 0
PARAM_VALUE 0 p->list.next 0
PARAM_VALUE 0 p->list.prev 0
PARAM_VALUE 0 p->nmissed 0
PARAM_VALUE 0 p->offset 0
PARAM_VALUE 0 p->opcode 0
PARAM_VALUE 0 p->post_handler 0
PARAM_VALUE 0 p->pre_handler 7579811334035742720
PARAM_VALUE 0 p->symbol_name 1726650613419708416
TERMINATED 0 p->symbol_name 1

drivers/misc/lkdtm/core.c lkdtm_register_cpoint() -> register_kprobe()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->symbol_name 1-u64max
BUF_SIZE 0 p 128

kernel/trace/trace_kprobe.c __register_trace_kprobe() -> register_kprobe()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->hlist.pprev 0
LOCK2 _T->lock