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_entries_write() -> tracing_resize_ring_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0,1024-18446744073709550592 |
| BUF_SIZE | 0 | tr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tr | s32min-(-2),1-s32max |
| USER_DATA | 1 | size | 0,1024-18446744073709550592 |
| NO_OVERFLOW_SIMPLE | 1 | size | |
| UNITS | 0 | tr | unit_array_size |
kernel/trace/trace.c tracing_free_buffer_release() -> tracing_resize_ring_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 0 |
| PARAM_VALUE | 2 | cpu_id | (-1) |
| BUF_SIZE | 0 | tr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tr | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | tr | unit_array_size |
kernel/trace/trace_boot.c trace_boot_set_instance_options() -> tracing_resize_ring_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->dir->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | tr->dir->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | tr->options->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | tr->options->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | *tr->trace_flags_index | 0-255 |
| PARAM_VALUE | 2 | cpu_id | (-1) |
| BUF_SIZE | 0 | tr | (-1),8552 |
| BUF_SIZE | 0 | tr | (-1),8552 |
| DATA_SOURCE | 0 | tr | $0 |
| DATA_SOURCE | 1 | size | r memparse |
| USER_DATA | 1 | size | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | tr->array_buffer.tr->range_addr_size | |
| NO_OVERFLOW_SIMPLE | 0 | tr->range_addr_size | |
| NO_OVERFLOW_SIMPLE | 0 | tr->snapshot_buffer.tr->range_addr_size | |
| NO_OVERFLOW_SIMPLE | 1 | size | |
| UNITS | 1 | size | unit_byte |