Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/trace/ftrace.c ftrace_set_early_filter() -> ftrace_set_regex()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 1763665031404462080,8996664030381268992 |
| PARAM_VALUE | 0 | ops->func_hash | 1763665031404462120,8996664030381269032 |
| PARAM_VALUE | 0 | ops->func_hash->regex_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ops->func_hash->regex_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ops->func_hash->regex_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ops->func_hash->regex_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ops->func_hash->regex_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ops->func_hash->regex_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ops->func_hash->regex_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.owner.counter | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | ops->old_hash.filter_hash | 0 |
| PARAM_VALUE | 0 | ops->old_hash.notrace_hash | 0 |
| PARAM_VALUE | 0 | ops->private | 1-u64max |
| PARAM_VALUE | 1 | buf | 1-u64max |
| PARAM_VALUE | 2 | len | 0-1010101 |
| PARAM_VALUE | 3 | reset | 0 |
| PARAM_VALUE | 4 | enable | 0-1 |
| BUF_SIZE | 0 | ops->private | (-1),8568 |
| DATA_SOURCE | 0 | ops | $0 |
| DATA_SOURCE | 1 | buf | r strsep |
| DATA_SOURCE | 4 | enable | $2 |
| STR_LEN | 0 | ops | 0-1010101 |
| HARD_MAX | 4 | enable | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | irq |
kernel/trace/ftrace.c ftrace_set_filter() -> ftrace_set_regex()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->flags | 0,64-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->func_hash->regex_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ops->func_hash->regex_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ops->local_hash.regex_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | len | 0-1010101 |
| PARAM_VALUE | 3 | reset | 0-1 |
| PARAM_VALUE | 4 | enable | 1 |
| BUF_SIZE | 0 | ops | (-1),456 |
| BUF_SIZE | 0 | ops | (-1),456 |
| BUF_SIZE | 1 | buf | (-1),34-35 |
| BUF_SIZE | 1 | buf | (-1),34-35 |
| DATA_SOURCE | 0 | ops | $0 |
| DATA_SOURCE | 1 | buf | $1 |
| DATA_SOURCE | 2 | len | $2 |
| DATA_SOURCE | 3 | reset | $3 |
| STR_LEN | 0 | ops | (-1)-1010101 |
| STR_LEN | 0 | ops | (-1)-1010101 |
| STR_LEN | 1 | buf | (-1),33-34 |
| STR_LEN | 1 | buf | (-1),33-34 |
| HALF_LOCKED2 | _T->lock |
kernel/trace/ftrace.c ftrace_set_global_filter() -> ftrace_set_regex()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 8996664030381268992 |
| PARAM_VALUE | 1 | buf | 0,2043593254487470080 |
| PARAM_VALUE | 2 | len | 0,33 |
| PARAM_VALUE | 3 | reset | 1 |
| PARAM_VALUE | 4 | enable | 1 |
| BUF_SIZE | 1 | buf | (-1),34 |
| BUF_SIZE | 1 | buf | (-1),34 |
| DATA_SOURCE | 1 | buf | $0 |
| DATA_SOURCE | 2 | len | $1 |
| DATA_SOURCE | 3 | reset | $2 |
| STR_LEN | 0 | ops | (-1),33 |
| STR_LEN | 1 | buf | (-1),33 |
| HARD_MAX | 2 | len | 33 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &trace_types_lock |
kernel/trace/ftrace.c ftrace_set_global_notrace() -> ftrace_set_regex()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 8996664030381268992 |
| PARAM_VALUE | 4 | enable | 0 |
| DATA_SOURCE | 1 | buf | $0 |
| DATA_SOURCE | 2 | len | $1 |
| DATA_SOURCE | 3 | reset | $2 |
| NOCHECK_CALL |
kernel/trace/ftrace.c ftrace_set_notrace() -> ftrace_set_regex()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ops->flags | 0,64-u64max |
| PARAM_VALUE | 0 | ops->func_hash | 4096-ptr_max |
| 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->func_hash->regex_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ops->func_hash->regex_lock.owner.counter | 0 |
| 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 | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 0-1010101 |
| PARAM_VALUE | 3 | reset | 0-1 |
| PARAM_VALUE | 4 | enable | 0 |
| BUF_SIZE | 0 | ops | (-1),456 |
| BUF_SIZE | 0 | ops | (-1),456 |
| DATA_SOURCE | 0 | ops | $0 |
| DATA_SOURCE | 1 | buf | $1 |
| DATA_SOURCE | 2 | len | $2 |
| DATA_SOURCE | 3 | reset | $3 |
| STR_LEN | 0 | ops | (-1)-1010101 |
| STR_LEN | 0 | ops | (-1)-1010101 |
| HALF_LOCKED2 | _T->lock |