Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
kernel/trace/trace_pid.c trace_pid_start() -> trace_pid_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pid_list | 4096-ptr_max |
| PARAM_VALUE | 0 | pid_list->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pid_list->lock.owner | (-1) |
| PARAM_VALUE | 0 | pid_list->lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | v | 1-1073741824 |
| PARAM_VALUE | 2 | pos | 260272411326787584 |
| PARAM_VALUE | 2 | *pos | 0-1 |
| DATA_SOURCE | 0 | pid_list | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &event_mutex | ||
| HALF_LOCKED2 | global &ftrace_lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/trace/ftrace.c fnpid_next() -> trace_pid_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | v | 1-32768,32770-ptr_max |
| PARAM_VALUE | 2 | pos | 4096-ptr_max |
| DATA_SOURCE | 1 | v | $1 |
| DATA_SOURCE | 2 | pos | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/trace/ftrace.c fpid_next() -> trace_pid_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | v | 1-32768,32770-ptr_max |
| PARAM_VALUE | 2 | pos | 4096-ptr_max |
| DATA_SOURCE | 1 | v | $1 |
| DATA_SOURCE | 2 | pos | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/trace/trace_events.c __next() -> trace_pid_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | v | 1-ptr_max |
| PARAM_VALUE | 2 | pos | 4096-ptr_max |
| DATA_SOURCE | 1 | v | $1 |
| DATA_SOURCE | 2 | pos | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |