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 __tracing_open() -> tracing_iter_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iter | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->array_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->array_buffer->buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->array_buffer->buffer->cpumask->bits | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->buffer_iter | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->cpu_file | (-1) |
| PARAM_VALUE | 0 | iter->fmt | 0 |
| PARAM_VALUE | 0 | iter->fmt_size | 0 |
| PARAM_VALUE | 0 | iter->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iter->mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | iter->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | iter->mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | iter->pos | (-1) |
| PARAM_VALUE | 0 | iter->started | 1-u64max |
| PARAM_VALUE | 0 | iter->temp | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iter->tr | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->tr->current_trace | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->trace | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu | 0-64 |
| BUF_SIZE | 0 | iter | s32min-s32max |
| BUF_SIZE | 0 | iter->array_buffer | 40 |
| BUF_SIZE | 0 | iter->buffer_iter | 0-65544 |
| BUF_SIZE | 0 | iter->temp | 128 |
| BUF_SIZE | 0 | iter->tr | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | cpu | 1 |
| DATA_SOURCE | 0 | iter | r __seq_open_private |
| DATA_SOURCE | 1 | cpu | r find_next_bit |
| CONSTRAINT | 1 | cpu | <3035 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | cpu | |
| UNITS | 1 | cpu | unit_array_size |
| LOCK2 | global &trace_types_lock |
kernel/trace/trace.c __tracing_open() -> tracing_iter_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iter | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->array_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->array_buffer->buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->array_buffer->buffer->cpumask->bits | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->buffer_iter | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->cpu_file | 0-s32max |
| PARAM_VALUE | 0 | iter->fmt | 0 |
| PARAM_VALUE | 0 | iter->fmt_size | 0 |
| PARAM_VALUE | 0 | iter->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iter->mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | iter->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | iter->mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | iter->pos | (-1) |
| PARAM_VALUE | 0 | iter->started | 1-u64max |
| PARAM_VALUE | 0 | iter->temp | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iter->tr | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->tr->current_trace | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->trace | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu | 0-s32max |
| BUF_SIZE | 0 | iter | s32min-s32max |
| BUF_SIZE | 0 | iter->array_buffer | 40 |
| BUF_SIZE | 0 | iter->buffer_iter | 0-65544 |
| BUF_SIZE | 0 | iter->temp | 128 |
| BUF_SIZE | 0 | iter->tr | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | iter | r __seq_open_private |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &trace_types_lock |
kernel/trace/trace.c s_start() -> tracing_iter_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iter | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->cpu | 0 |
| PARAM_VALUE | 0 | iter->cpu_file | (-1) |
| PARAM_VALUE | 0 | iter->ent | 0 |
| PARAM_VALUE | 0 | iter->idx | (-1) |
| PARAM_VALUE | 0 | iter->tr | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu | 0-64 |
| BUF_SIZE | 0 | iter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | iter | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | iter->trace | 1 |
| CAPPED_DATA | 1 | cpu | 1 |
| DATA_SOURCE | 1 | cpu | r find_next_bit |
| CONSTRAINT | 1 | cpu | <3035 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | iter | unit_array_size |
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/trace/trace.c s_start() -> tracing_iter_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iter | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->cpu | 0 |
| PARAM_VALUE | 0 | iter->cpu_file | s32min-(-2),0-s32max |
| PARAM_VALUE | 0 | iter->ent | 0 |
| PARAM_VALUE | 0 | iter->idx | (-1) |
| PARAM_VALUE | 0 | iter->tr | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu | s32min-(-2),0-s32max |
| BUF_SIZE | 0 | iter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | iter | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | iter->trace | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | iter | unit_array_size |
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/trace/trace_kdb.c ftrace_dump_buf() -> tracing_iter_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iter | 7508949142300868608 |
| PARAM_VALUE | 0 | iter->array_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->buffer_iter | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->pos | (-1) |
| PARAM_VALUE | 0 | iter->tr | 69249725370638336 |
| PARAM_VALUE | 1 | cpu | 0-64 |
| CAPPED_DATA | 1 | cpu | 1 |
| DATA_SOURCE | 1 | cpu | r find_next_bit |
| CONSTRAINT | 1 | cpu | <3035 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
kernel/trace/trace_kdb.c ftrace_dump_buf() -> tracing_iter_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iter | 7508949142300868608 |
| PARAM_VALUE | 0 | iter->array_buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->buffer_iter | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->cpu_file | 0-8191 |
| PARAM_VALUE | 0 | iter->pos | (-1) |
| PARAM_VALUE | 0 | iter->tr | 69249725370638336 |
| PARAM_VALUE | 1 | cpu | 0-8191 |
| DATA_SOURCE | 1 | cpu | $1 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | iter->cpu_file | 0-8191 |
| USER_DATA | 1 | cpu | 0-8191 |
| HALF_LOCKED2 | rcu_read |