Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/trace/ftrace.c __modify_ftrace_direct() -> register_ftrace_function_nolock()

Type Parameter Key Value
PARAM_VALUE 0 ops 5057244798927384576
PARAM_VALUE 0 ops->flags 96
PARAM_VALUE 0 ops->func 3864329546061172736
PARAM_VALUE 0 ops->func_hash 4096-ptr_max
PARAM_VALUE 0 ops->list.next 0
PARAM_VALUE 0 ops->list.prev 0
PARAM_VALUE 0 ops->local_hash.regex_lock.first_waiter 0
PARAM_VALUE 0 ops->local_hash.regex_lock.magic 4096-ptr_max
PARAM_VALUE 0 ops->local_hash.regex_lock.osq.tail.counter 0
PARAM_VALUE 0 ops->local_hash.regex_lock.owner.counter 0
PARAM_VALUE 0 ops->managed 0
PARAM_VALUE 0 ops->next 0
PARAM_VALUE 0 ops->ops_func 0
PARAM_VALUE 0 ops->private 0
PARAM_VALUE 0 ops->saved_func 0
PARAM_VALUE 0 ops->trampoline 0
PARAM_VALUE 0 ops->trampoline_size 0
HALF_LOCKED2 global &direct_mutex

kernel/trace/ftrace.c register_ftrace_direct() -> register_ftrace_function_nolock()

Type Parameter Key Value
PARAM_VALUE 0 ops 1223611100106457088,2143410195822825472,3088699853065928704,3634512363029934080,5373520562432651264,5913595000372379648
PARAM_VALUE 0 ops->flags 0,4-u64max
PARAM_VALUE 0 ops->func 9101482482560716800
PARAM_VALUE 0 ops->func_hash 4096-ptr_max
PARAM_VALUE 0 ops->func_hash->filter_hash 4096-ptr_max
PARAM_VALUE 0 ops->trampoline 1006226613209919488
DATA_SOURCE 0 ops $0
BIT_INFO 0 ops->flags 0x20044,0xfffffffffffffffe
LOCK2 global &direct_mutex

kernel/trace/ftrace.c register_ftrace_function() -> register_ftrace_function_nolock()

Type Parameter Key Value
PARAM_VALUE 0 ops 4096-ptr_max
BUF_SIZE 0 ops (-1),456
BUF_SIZE 0 ops (-1),456
DATA_SOURCE 0 ops $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &direct_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &event_mutex

kernel/trace/ftrace.c update_ftrace_direct_add() -> register_ftrace_function_nolock()

Type Parameter Key Value
PARAM_VALUE 0 ops 4096-ptr_max
PARAM_VALUE 0 ops->flags 0,4-u64max
PARAM_VALUE 0 ops->func 9101482482560716800
PARAM_VALUE 0 ops->func_hash 0,4096-ptr_max
PARAM_VALUE 0 ops->local_hash.filter_hash 4096-ptr_max
PARAM_VALUE 0 ops->local_hash.filter_hash->buckets 16,4096-ptr_max
PARAM_VALUE 0 ops->local_hash.filter_hash->size_bits 11
PARAM_VALUE 0 ops->trampoline 1006226613209919488
BUF_SIZE 0 ops->local_hash.filter_hash 48
DATA_SOURCE 0 ops $0
BIT_INFO 0 ops->flags 0x20004,0xfffffffffffffffe
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &direct_mutex

kernel/trace/ftrace.c update_ftrace_direct_mod() -> register_ftrace_function_nolock()

Type Parameter Key Value
PARAM_VALUE 0 ops 9005171509802868736
PARAM_VALUE 0 ops->flags 96
PARAM_VALUE 0 ops->func 3864329546061172736
PARAM_VALUE 0 ops->func_hash 9005171509802868776
PARAM_VALUE 0 ops->list.next 0
PARAM_VALUE 0 ops->list.prev 0
PARAM_VALUE 0 ops->local_hash.regex_lock.first_waiter 0
PARAM_VALUE 0 ops->local_hash.regex_lock.magic 4096-ptr_max
PARAM_VALUE 0 ops->local_hash.regex_lock.osq.tail.counter 0
PARAM_VALUE 0 ops->local_hash.regex_lock.owner.counter 0
PARAM_VALUE 0 ops->managed 0
PARAM_VALUE 0 ops->next 0
PARAM_VALUE 0 ops->ops_func 0
PARAM_VALUE 0 ops->private 0
PARAM_VALUE 0 ops->saved_func 0
PARAM_VALUE 0 ops->trampoline 0
PARAM_VALUE 0 ops->trampoline_size 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &direct_mutex