Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/trace/ftrace.c ftrace_hash_move_and_update_subops() -> ftrace_update_ops()

Type Parameter Key Value
PARAM_VALUE 0 ops 4096-ptr_max
PARAM_VALUE 1 filter_hash 0,4096-ptr_max
PARAM_VALUE 2 notrace_hash 0,4096-ptr_max
BIT_INFO 0 ops->flags 0x0,0xfffffffffffbffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &ftrace_lock
HALF_LOCKED2 &probe->ops.func_hash->regex_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &trace_types_lock
TYPE_LOCK (struct ftrace_ops_hash)->regex_lock

kernel/trace/ftrace.c ftrace_shutdown_subops() -> ftrace_update_ops()

Type Parameter Key Value
PARAM_VALUE 0 ops 8825369170129244160
PARAM_VALUE 0 ops->subop_list.next 0-8825369170129244575,8825369170129244577-u64max
PARAM_VALUE 1 filter_hash 4096-ptr_max
PARAM_VALUE 2 notrace_hash 4096-ptr_max
DATA_SOURCE 0 ops $0
PARAM_COMPARE 0 &ops->subop_list != $0->subop_list.next
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

kernel/trace/ftrace.c ftrace_startup_subops() -> ftrace_update_ops()

Type Parameter Key Value
PARAM_VALUE 0 ops 8825369170129244160
PARAM_VALUE 0 ops->flags 0,64-u64max
PARAM_VALUE 0 ops->func_hash 4096-ptr_max
PARAM_VALUE 0 ops->func_hash->filter_hash 4096-ptr_max
PARAM_VALUE 0 ops->func_hash->notrace_hash 1-u64max
PARAM_VALUE 0 ops->func_hash->regex_lock.first_waiter 0
PARAM_VALUE 0 ops->func_hash->regex_lock.magic 4096-ptr_max
PARAM_VALUE 0 ops->local_hash.regex_lock.dep_map->name 0-255
PARAM_VALUE 0 ops->local_hash.regex_lock.first_waiter 0
PARAM_VALUE 0 ops->local_hash.regex_lock.magic 0,4096-ptr_max
PARAM_VALUE 0 ops->subop_list.next->next 0-8825369170129244575,8825369170129244577-u64max
PARAM_VALUE 0 ops->subop_list.next->prev 4096-ptr_max
PARAM_VALUE 1 filter_hash 4096-ptr_max
PARAM_VALUE 2 notrace_hash 4096-ptr_max
BUF_SIZE 0 ops->func_hash->filter_hash (-1),48
BUF_SIZE 0 ops->func_hash->notrace_hash (-1),48
DATA_SOURCE 0 ops $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

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

Type Parameter Key Value
PARAM_VALUE 0 ops 4096-ptr_max
PARAM_VALUE 0 ops->func_hash 4096-ptr_max
PARAM_VALUE 1 filter_hash 4096-ptr_max
PARAM_VALUE 1 filter_hash->buckets 16,4096-ptr_max
PARAM_VALUE 1 filter_hash->size_bits 11
PARAM_VALUE 2 notrace_hash 3175483717725929472
BUF_SIZE 1 filter_hash 48
DATA_SOURCE 0 ops $0
DATA_SOURCE 1 filter_hash r hash_add
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
LOCK2 global &direct_mutex

kernel/trace/ftrace.c update_ftrace_direct_del() -> ftrace_update_ops()

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
PARAM_VALUE 1 filter_hash 4096-ptr_max
PARAM_VALUE 1 filter_hash->buckets 16,4096-ptr_max
PARAM_VALUE 1 filter_hash->size_bits 0-s32max,18446744071562067968-u64max
PARAM_VALUE 2 notrace_hash 3175483717725929472
BUF_SIZE 1 filter_hash 48
DATA_SOURCE 0 ops $0
DATA_SOURCE 1 filter_hash r hash_sub
BIT_INFO 0 ops->flags 0x1,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
LOCK2 global &direct_mutex