Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/trace/ftrace.c __ftrace_graph_open() -> alloc_and_copy_ftrace_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | size_bits | 10 |
| PARAM_VALUE | 1 | hash | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &graph_lock |
kernel/trace/ftrace.c add_next_hash() -> alloc_and_copy_ftrace_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | hash | 4096-ptr_max |
| BUF_SIZE | 1 | hash | (-1),48 |
| BUF_SIZE | 1 | hash | (-1),48 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
kernel/trace/ftrace.c copy_hash() -> alloc_and_copy_ftrace_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | hash | 4096-ptr_max |
| BUF_SIZE | 1 | hash | (-1),48 |
| BUF_SIZE | 1 | hash | (-1),48 |
| DATA_SOURCE | 1 | hash | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
kernel/trace/ftrace.c ftrace_regex_open() -> alloc_and_copy_ftrace_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | size_bits | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ops->func_hash->regex_lock | ||
| TYPE_LOCK | (struct ftrace_ops_hash)->regex_lock |
kernel/trace/ftrace.c ftrace_regex_open() -> alloc_and_copy_ftrace_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | hash | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ops->func_hash->regex_lock | ||
| TYPE_LOCK | (struct ftrace_ops_hash)->regex_lock |
kernel/trace/ftrace.c ftrace_set_hash() -> alloc_and_copy_ftrace_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | size_bits | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ops->func_hash->regex_lock | ||
| TYPE_LOCK | (struct ftrace_ops_hash)->regex_lock |
kernel/trace/ftrace.c hash_add() -> alloc_and_copy_ftrace_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | size_bits | 0-32 |
| PARAM_VALUE | 1 | hash | 0,4096-ptr_max |
| DATA_SOURCE | 1 | hash | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &direct_mutex |
kernel/trace/ftrace.c hash_sub() -> alloc_and_copy_ftrace_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | hash | 4096-ptr_max |
| DATA_SOURCE | 1 | hash | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &direct_mutex |
kernel/trace/ftrace.c process_mod_list() -> alloc_and_copy_ftrace_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | size_bits | 10 |
| LOCK2 | &ops->func_hash->regex_lock | ||
| LOCK2 | global &trace_types_lock | ||
| HALF_LOCKED2 | global &text_mutex | ||
| TYPE_LOCK | (struct ftrace_ops_hash)->regex_lock |
kernel/trace/ftrace.c register_ftrace_function_probe() -> alloc_and_copy_ftrace_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | size_bits | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &probe->ops.func_hash->regex_lock | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct ftrace_ops_hash)->regex_lock |
kernel/trace/ftrace.c unregister_ftrace_function_probe_func() -> alloc_and_copy_ftrace_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | size_bits | 10 |
| PARAM_VALUE | 1 | hash | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &probe->ops.func_hash->regex_lock | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct ftrace_ops_hash)->regex_lock |