Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/trace/trace.c ftrace_dump_one() -> trace_consume()
| 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->ent | 1-u64max |
| PARAM_VALUE | 0 | iter->fmt | 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | iter->trace | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags |
kernel/trace/trace.c tracing_fill_pipe_page() -> trace_consume()
| 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 | |||
| NOCHECK_CALL | |||
| 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_consume()
| 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->seq.full | 0-1 |
| PARAM_VALUE | 0 | iter->seq.seq.size | 1-u64max |
| 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 | |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| LOCK2 | global &all_cpu_access_lock | ||
| LOCK2 | global &trace_event_sem |
kernel/trace/trace.c tracing_read_pipe() -> trace_consume()
| 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 | |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| LOCK2 | global &all_cpu_access_lock | ||
| LOCK2 | global &trace_event_sem |