Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/trace/ftrace.c __modify_ftrace_direct() -> __ftrace_hash_update_ipmodify()
| 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 | 3 | update_target | 1 |
| DATA_SOURCE | 0 | ops | $0 |
| BIT_INFO | 0 | ops->flags | 0x1,0xffffffffffffffff |
| HALF_LOCKED2 | global &direct_mutex |
kernel/trace/ftrace.c ftrace_hash_ipmodify_disable() -> __ftrace_hash_update_ipmodify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->flags | 1-u64max |
| PARAM_VALUE | 0 | ops->func_hash | 4096-ptr_max |
| PARAM_VALUE | 1 | old_hash | 0,4096-ptr_max |
| PARAM_VALUE | 2 | new_hash | 3175483717725929472 |
| PARAM_VALUE | 3 | update_target | 0 |
| CAPPED_DATA | 0 | ops | 1 |
| DATA_SOURCE | 0 | ops | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ops->trampoline | |
| HALF_LOCKED2 | &probe->ops.func_hash->regex_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &ftrace_lock |
kernel/trace/ftrace.c ftrace_hash_ipmodify_enable() -> __ftrace_hash_update_ipmodify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| 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->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->trampoline_size | 2862723085,3006332941,3909005325,4052615181 |
| PARAM_VALUE | 1 | old_hash | 3175483717725929472 |
| PARAM_VALUE | 2 | new_hash | 0,4096-ptr_max |
| PARAM_VALUE | 3 | update_target | 0 |
| BUF_SIZE | 0 | ops->local_hash.filter_hash | (-1),48 |
| DATA_SOURCE | 0 | ops | $0 |
| BIT_INFO | 0 | ops->flags | 0x101,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ops->trampoline | |
| HALF_LOCKED2 | &probe->ops.func_hash->regex_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &ftrace_lock |
kernel/trace/ftrace.c ftrace_hash_ipmodify_update() -> __ftrace_hash_update_ipmodify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->flags | 4096-u64max |
| PARAM_VALUE | 0 | ops->func_hash | 4096-ptr_max |
| PARAM_VALUE | 1 | old_hash | 0,4096-ptr_max |
| PARAM_VALUE | 2 | new_hash | 0,4096-ptr_max |
| PARAM_VALUE | 3 | update_target | 0 |
| BUF_SIZE | 0 | ops->func_hash->filter_hash | (-1),48 |
| BUF_SIZE | 0 | ops->func_hash->notrace_hash | (-1),48 |
| BUF_SIZE | 0 | ops->private | (-1),8552 |
| BUF_SIZE | 1 | old_hash | (-1)-0,48 |
| BUF_SIZE | 1 | old_hash | (-1)-0,48 |
| BUF_SIZE | 2 | new_hash | 0,48 |
| BUF_SIZE | 2 | new_hash | 0,48 |
| DATA_SOURCE | 0 | ops | $0 |
| DATA_SOURCE | 2 | new_hash | $1 [m] |
| STR_LEN | 0 | ops | (-1)-1010101 |
| STR_LEN | 0 | ops | (-1)-1010101 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ops | unit_array_size |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &ftrace_lock | ||
| HALF_LOCKED2 | 0 | &ops->func_hash->regex_lock |
kernel/trace/ftrace.c update_ftrace_direct_mod() -> __ftrace_hash_update_ipmodify()
| 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 | old_hash | 1-u64max |
| PARAM_VALUE | 2 | new_hash | 1-u64max |
| PARAM_VALUE | 3 | update_target | 1 |
| DATA_SOURCE | 0 | ops | $0 |
| BIT_INFO | 0 | ops->flags | 0x1,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &direct_mutex |