Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/trace/trace_snapshot.c tracing_alloc_snapshot_instance() -> resize_buffer_duplicate_size()

Type Parameter Key Value
PARAM_VALUE 0 trace_buf 4096-ptr_max
PARAM_VALUE 0 trace_buf->buffer 4096-ptr_max
PARAM_VALUE 1 size_buf 4096-ptr_max
PARAM_VALUE 1 size_buf->buffer 4096-ptr_max
PARAM_VALUE 2 cpu_id (-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

kernel/trace/trace_snapshot.c tracing_snapshot_write() -> resize_buffer_duplicate_size()

Type Parameter Key Value
PARAM_VALUE 0 trace_buf 4096-ptr_max
PARAM_VALUE 0 trace_buf->data 0,4096-ptr_max
PARAM_VALUE 0 trace_buf->tr 0,69249725370638336
PARAM_VALUE 1 size_buf 4096-ptr_max
PARAM_VALUE 1 size_buf->cpu 0
PARAM_VALUE 1 size_buf->data 0,4096-ptr_max
PARAM_VALUE 1 size_buf->tr 0,4096-ptr_max
LOCK2 _T->lock

kernel/trace/trace.c __tracing_resize_ring_buffer() -> resize_buffer_duplicate_size()

Type Parameter Key Value
PARAM_VALUE 0 trace_buf 4096-ptr_max
PARAM_VALUE 0 trace_buf->buffer 4096-ptr_max
PARAM_VALUE 0 trace_buf->data 0,4096-ptr_max
PARAM_VALUE 0 trace_buf->tr 0,4096-ptr_max
PARAM_VALUE 1 size_buf 4096-ptr_max
PARAM_VALUE 1 size_buf->buffer 4096-ptr_max
PARAM_VALUE 1 size_buf->data 0,4096-ptr_max
PARAM_VALUE 1 size_buf->tr 0,4096-ptr_max
PARAM_VALUE 2 cpu_id (-1)-s32max
DATA_SOURCE 2 cpu_id $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock