Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/trace/trace.c ftrace_dump_one() -> trace_find_next_entry_inc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iter | 5788541559921344512 |
| PARAM_VALUE | 0 | iter->array_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->cpu_file | (-1)-0 |
| PARAM_VALUE | 0 | iter->fmt | 1-u64max |
| PARAM_VALUE | 0 | iter->pos | (-1) |
| PARAM_VALUE | 0 | iter->private | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iter->tr | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->trace | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags |
kernel/trace/trace.c s_next() -> trace_find_next_entry_inc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iter | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->idx | s64min-(-1) |
| BUF_SIZE | 0 | iter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | iter | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | iter->idx | 1 |
| FUZZY_MAX | 0 | iter->idx | (-1) |
| HARD_MAX | 0 | iter->idx | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | iter | unit_array_size |
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/trace/trace.c s_next() -> trace_find_next_entry_inc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iter | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->idx | s64min-2147483646 |
| BUF_SIZE | 0 | iter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | iter | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | iter->idx | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | iter | unit_array_size |
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/trace/trace.c tracing_fill_pipe_page() -> trace_find_next_entry_inc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iter | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->array_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->ent | 1-u64max |
| PARAM_VALUE | 0 | iter->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iter->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iter->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | iter->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | iter->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iter->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | iter->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | iter->seq.full | 0 |
| PARAM_VALUE | 0 | iter->tr | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->trace | 4096-ptr_max |
| BUF_SIZE | 0 | iter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | iter | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | iter->seq.seq.len | 1 |
| DATA_SOURCE | 0 | iter | $1 |
| PARAM_COMPARE | 0 | iter->seq.seq.len | <= $0->seq.seq.size |
| CONSTRAINT | 0 | iter->seq.seq.len | <=3054 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &all_cpu_access_lock | ||
| LOCK2 | global &trace_event_sem | ||
| LOCK2 | 0 | &iter->mutex | |
| TYPE_LOCK | (struct trace_iterator)->mutex |
kernel/trace/trace.c tracing_read_pipe() -> trace_find_next_entry_inc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iter | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->buffer_iter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iter->pos | (-1) |
| PARAM_VALUE | 0 | iter->seq.buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->tr | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->trace | 4096-ptr_max |
| BUF_SIZE | 0 | iter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | iter | s32min-(-2),1-s32max |
| TERMINATED | 0 | iter->seq.seq.buffer | 1 |
| MEM_ZERO | 0 | iter->started->bits | |
| LOCK2 | _T->lock | ||
| LOCK2 | global &all_cpu_access_lock | ||
| LOCK2 | global &trace_event_sem |
kernel/trace/trace.c tracing_read_pipe() -> trace_find_next_entry_inc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iter | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->array_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->buffer_iter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iter->ent | 1-u64max |
| PARAM_VALUE | 0 | iter->lost_events | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | iter->pos | (-1) |
| PARAM_VALUE | 0 | iter->seq.buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->tr | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->trace | 4096-ptr_max |
| BUF_SIZE | 0 | iter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | iter | s32min-(-2),1-s32max |
| TERMINATED | 0 | iter->seq.seq.buffer | 1 |
| MEM_ZERO | 0 | iter->started->bits | |
| LOCK2 | _T->lock | ||
| LOCK2 | global &all_cpu_access_lock | ||
| LOCK2 | global &trace_event_sem |
kernel/trace/trace.c tracing_splice_read_pipe() -> trace_find_next_entry_inc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iter | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->ent | 0 |
| PARAM_VALUE | 0 | iter->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iter->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iter->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | iter->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | iter->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iter->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | iter->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | iter->trace | 4096-ptr_max |
| BUF_SIZE | 0 | iter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | iter | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &iter->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &iter->mutex | |
| TYPE_LOCK | (struct trace_iterator)->mutex |
kernel/trace/trace_kdb.c ftrace_dump_buf() -> trace_find_next_entry_inc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iter | 7508949142300868608 |
| PARAM_VALUE | 0 | iter->cpu_file | 0-8191 |
| PARAM_VALUE | 0 | iter->pos | (-1) |
| PARAM_VALUE | 0 | iter->private | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iter->tr | 69249725370638336 |
| PARAM_VALUE | 0 | iter->trace | 0,4096-ptr_max |
| USER_DATA | 0 | iter->cpu | 0-8191 |
| USER_DATA | 0 | iter->cpu_file | 0-8191 |
| HALF_LOCKED2 | rcu_read |
kernel/trace/trace_kdb.c ftrace_dump_buf() -> trace_find_next_entry_inc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iter | 7508949142300868608 |
| PARAM_VALUE | 0 | iter->array_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->cpu_file | 0-8191 |
| PARAM_VALUE | 0 | iter->ent | 1-u64max |
| PARAM_VALUE | 0 | iter->lost_events | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | iter->pos | (-1) |
| PARAM_VALUE | 0 | iter->private | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iter->tr | 69249725370638336 |
| PARAM_VALUE | 0 | iter->trace | 0,4096-ptr_max |
| USER_DATA | 0 | iter->cpu | 0-8191 |
| USER_DATA | 0 | iter->cpu_file | 0-8191 |
| HALF_LOCKED2 | rcu_read |