Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 14 files:
- arch/s390/lib/test_unwind.c, line 309
- fs/pstore/ftrace.c
- kernel/kprobes.c, line 1187
- kernel/livepatch/patch.c, line 147
- kernel/trace/fprobe.c, line 383
- kernel/trace/ftrace.c
- kernel/trace/trace_event_perf.c, line 509
- kernel/trace/trace_events.c, line 5192
- kernel/trace/trace_functions.c
- kernel/trace/trace_irqsoff.c, line 511
- kernel/trace/trace_sched_wakeup.c, line 273
- kernel/trace/trace_selftest.c
- kernel/trace/trace_stack.c, line 534
- samples/ftrace/ftrace-ops.c, line 145
Smatch caller information:
kernel/kprobes.c __disarm_kprobe_ftrace() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 753557695929417728,8036249593155112960 |
| DATA_SOURCE | 0 | ops | $1 |
| BIT_INFO | 0 | ops | 0xa042c2956220000,0x6ff77eff5fe3d000 |
| BIT_INFO | 0 | ops | 0xa042c2956220000,0x6ff77eff5fe3d000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
kernel/trace/trace_irqsoff.c unregister_irqsoff_function() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
kernel/trace/trace_event_perf.c perf_ftrace_function_unregister() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->flags | 1-u64max |
| BUF_SIZE | 0 | ops | 456 |
| BIT_INFO | 0 | ops->flags | 0x1,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &event_mutex | ||
| HALF_LOCKED2 | &p_event->child_mutex | ||
| HALF_LOCKED2 | &p_event->group_leader->ctx->mutex | ||
| HALF_LOCKED2 | _T->lock |
kernel/trace/trace_functions.c func_set_flag() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &event_mutex | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace_functions.c tracing_stop_function_trace() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
samples/ftrace/ftrace-ops.c ops_destroy() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|
kernel/trace/trace.c trace_selftest_function_recursion() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 7784364532739670016 |
| PARAM_VALUE | 0 | ops->flags | 1-u64max |
| PARAM_VALUE | 0 | ops->func | 6429940936083722240 |
| PARAM_VALUE | 0 | ops->func_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->old_hash.filter_hash | 0 |
| PARAM_VALUE | 0 | ops->old_hash.notrace_hash | 0 |
| PARAM_VALUE | 0 | ops->subop_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->subop_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->trampoline_size | 2862723085,3006332941,3909005325,4052615181 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace.c trace_selftest_function_recursion() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 1297852379156836352 |
| PARAM_VALUE | 0 | ops->flags | 1-u64max |
| PARAM_VALUE | 0 | ops->func | 6429940936083722240 |
| PARAM_VALUE | 0 | ops->func_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->old_hash.filter_hash | 0 |
| PARAM_VALUE | 0 | ops->old_hash.notrace_hash | 0 |
| PARAM_VALUE | 0 | ops->subop_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->subop_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->trampoline_size | 2862723085,3006332941,3909005325,4052615181 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace.c trace_selftest_function_regs() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 3774270483131686912 |
| PARAM_VALUE | 0 | ops->flags | 1-u64max |
| PARAM_VALUE | 0 | ops->func | 6429940936083722240 |
| PARAM_VALUE | 0 | ops->func_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->old_hash.filter_hash | 0 |
| PARAM_VALUE | 0 | ops->old_hash.notrace_hash | 0 |
| PARAM_VALUE | 0 | ops->subop_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->subop_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->trampoline_size | 2862723085,3006332941,3909005325,4052615181 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace.c trace_selftest_ops() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->func_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->func_hash->regex_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->subop_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->subop_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->subop_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->subop_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->subop_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->trampoline_size | 2862723085,3006332941,3909005325,4052615181 |
| BUF_SIZE | 0 | ops | 456 |
| CAPPED_DATA | 0 | ops | 1 |
| DATA_SOURCE | 0 | ops | r _kzalloc_noprof |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace.c trace_selftest_ops() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 7541092049634615296 |
| PARAM_VALUE | 0 | ops->func_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->old_hash.filter_hash | 0 |
| PARAM_VALUE | 0 | ops->old_hash.notrace_hash | 0 |
| PARAM_VALUE | 0 | ops->subop_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->subop_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->trampoline_size | 2862723085,3006332941,3909005325,4052615181 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace.c trace_selftest_ops() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 817312145550761984 |
| PARAM_VALUE | 0 | ops->func_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->old_hash.filter_hash | 0 |
| PARAM_VALUE | 0 | ops->old_hash.notrace_hash | 0 |
| PARAM_VALUE | 0 | ops->subop_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->subop_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->trampoline_size | 2862723085,3006332941,3909005325,4052615181 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace.c trace_selftest_ops() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 5978331909711654912 |
| PARAM_VALUE | 0 | ops->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->old_hash.filter_hash | 0 |
| PARAM_VALUE | 0 | ops->old_hash.notrace_hash | 0 |
| PARAM_VALUE | 0 | ops->trampoline_size | 2862723085,3006332941,3909005325,4052615181 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/trace.c trace_selftest_ops() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->func_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->func_hash->regex_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->private | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->subop_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->subop_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->subop_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->subop_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->subop_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->trampoline_size | 2862723085,3006332941,3909005325,4052615181 |
| CAPPED_DATA | 0 | ops | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/fprobe.c __fprobe_ftrace_unregister() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4986900513485848576 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &fprobe_mutex |
kernel/trace/trace_stack.c stack_trace_sysctl() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 1763665031404462080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
kernel/trace/ftrace.c __modify_ftrace_direct() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 5057244798927384576 |
| PARAM_VALUE | 0 | ops->flags | 1-u64max |
| PARAM_VALUE | 0 | ops->func | 6429940936083722240 |
| PARAM_VALUE | 0 | ops->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->managed | 0 |
| PARAM_VALUE | 0 | ops->old_hash.filter_hash | 0 |
| PARAM_VALUE | 0 | ops->old_hash.notrace_hash | 0 |
| PARAM_VALUE | 0 | ops->ops_func | 0 |
| PARAM_VALUE | 0 | ops->private | 0 |
| PARAM_VALUE | 0 | ops->trampoline_size | 2862723085,3006332941,3909005325,4052615181 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &direct_mutex |
kernel/trace/ftrace.c unregister_ftrace_direct() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 1223611100106457088,2143410195822825472,3088699853065928704,3634512363029934080,5373520562432651264,5913595000372379648 |
| PARAM_VALUE | 0 | ops->flags | 64-u64max |
| PARAM_VALUE | 0 | ops->func | 0,6429940936083722240 |
| PARAM_VALUE | 0 | ops->list.prev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ops->old_hash.filter_hash | 0 |
| PARAM_VALUE | 0 | ops->old_hash.notrace_hash | 0 |
| PARAM_VALUE | 0 | ops->trampoline_size | 0,2862723085,3006332941,3909005325,4052615181 |
| DATA_SOURCE | 0 | ops | $0 |
| BIT_INFO | 0 | ops->flags | 0x1,0xffffffffffffffff |
| LOCK2 | global &direct_mutex |
kernel/trace/ftrace.c update_ftrace_direct_del() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->flags | 64-u64max |
| PARAM_VALUE | 0 | ops->func_hash | 4096-ptr_max |
| DATA_SOURCE | 0 | ops | $0 |
| BIT_INFO | 0 | ops->flags | 0x1,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &direct_mutex |
kernel/trace/ftrace.c update_ftrace_direct_mod() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 9005171509802868736 |
| PARAM_VALUE | 0 | ops->flags | 1-u64max |
| PARAM_VALUE | 0 | ops->func | 6429940936083722240 |
| PARAM_VALUE | 0 | ops->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->managed | 0 |
| PARAM_VALUE | 0 | ops->old_hash.filter_hash | 0 |
| PARAM_VALUE | 0 | ops->old_hash.notrace_hash | 0 |
| PARAM_VALUE | 0 | ops->ops_func | 0 |
| PARAM_VALUE | 0 | ops->private | 0 |
| PARAM_VALUE | 0 | ops->trampoline_size | 2862723085,3006332941,3909005325,4052615181 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &direct_mutex |
kernel/trace/trace_sched_wakeup.c unregister_wakeup_function() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
kernel/trace/trace_events.c event_trace_self_test_with_function() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 6305966773197635584 |
| PARAM_VALUE | 0 | ops->flags | 1-u64max |
| PARAM_VALUE | 0 | ops->func | 6429940936083722240 |
| PARAM_VALUE | 0 | ops->func_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->subop_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->subop_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->trampoline_size | 2862723085,3006332941,3909005325,4052615181 |
| NOCHECK_CALL |
fs/pstore/ftrace.c pstore_set_ftrace_enabled() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 5048387042400030720 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &psinfo_lock | ||
| HALF_LOCKED2 | global &pstore_ftrace_lock |
fs/pstore/ftrace.c pstore_unregister_ftrace() -> unregister_ftrace_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 5048387042400030720 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &psinfo_lock | ||
| LOCK2 | global &pstore_ftrace_lock | ||
| HALF_LOCKED2 | &cxt->pstore_zone_info_lock | ||
| HALF_LOCKED2 | global &pstore_blk_lock |