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_empty()

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->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 ftrace_dump_one() -> trace_empty()

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_show() -> trace_empty()

Type Parameter Key Value
PARAM_VALUE 0 iter 4096-ptr_max
PARAM_VALUE 0 iter->ent 0
PARAM_VALUE 0 iter->snapshot 1
DATA_SOURCE 0 iter $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

kernel/trace/trace.c trace_default_header() -> trace_empty()

Type Parameter Key Value
PARAM_VALUE 0 iter 4096-ptr_max
PARAM_VALUE 0 iter->iter_flags 1-u64max
PARAM_VALUE 0 iter->tr 4096-ptr_max
BUF_SIZE 0 iter s32min-(-2),1-s32max
BUF_SIZE 0 iter s32min-(-2),1-s32max
BIT_INFO 0 iter->iter_flags 0x1,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
UNITS 0 iter unit_array_size
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

kernel/trace/trace.c trace_latency_header() -> trace_empty()

Type Parameter Key Value
PARAM_VALUE 0 iter 4096-ptr_max
BUF_SIZE 0 iter s32min-(-2),1-s32max
BUF_SIZE 0 iter s32min-(-2),1-s32max
UNITS 0 iter unit_array_size

kernel/trace/trace.c tracing_buffers_read() -> trace_empty()

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->buffers 4096-ptr_max
PARAM_VALUE 0 iter->array_buffer->buffer->cpumask->bits 4096-ptr_max
PARAM_VALUE 0 iter->cpu_file 0-s32max
PARAM_VALUE 0 iter->tr 4096-ptr_max
PARAM_VALUE 0 iter->tr->current_trace 4096-ptr_max
BUF_SIZE 0 iter 16696

kernel/trace/trace.c tracing_read_pipe() -> trace_empty()

Type Parameter Key Value
PARAM_VALUE 0 iter 4096-ptr_max
PARAM_VALUE 0 iter->seq.buffer 4096-ptr_max
PARAM_VALUE 0 iter->seq.readpos 0-s32max,18446744071562067968-u64max
PARAM_VALUE 0 iter->seq.seq->buffer 0-255
PARAM_VALUE 0 iter->seq.seq.len 0
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
CAPPED_DATA 0 iter->seq.readpos 1
TERMINATED 0 iter->seq.seq.buffer 1
LOCK2 _T->lock

kernel/trace/trace.c tracing_wait_pipe() -> trace_empty()

Type Parameter Key Value
PARAM_VALUE 0 iter 4096-ptr_max
BUF_SIZE 0 iter s32min-(-2),1-s32max
BUF_SIZE 0 iter s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &iter->mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &iter->mutex

kernel/trace/trace.c tracing_wait_pipe() -> trace_empty()

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->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->tr 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
HALF_LOCKED2 &iter->mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct trace_iterator)->mutex

kernel/trace/trace_functions_graph.c print_graph_headers_flags() -> trace_empty()

Type Parameter Key Value
PARAM_VALUE 0 iter 4096-ptr_max
PARAM_VALUE 0 iter->tr 4096-ptr_max
BUF_SIZE 0 iter s32min-(-2),1-s32max
BUF_SIZE 0 iter s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 iter unit_array_size
LOCK2 &s->lock
TYPE_LOCK (struct seq_file)->lock