Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/trace/trace_events_hist.c event_hist_trigger_parse() -> event_trigger_set_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | file->tr->err_log.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | file->tr->err_log.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | param | 0,4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->cmd_ops | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->count | u64max |
| PARAM_VALUE | 3 | trigger_data->filter | 0 |
| PARAM_VALUE | 3 | trigger_data->list.next | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->list.prev | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->named_list.next | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->named_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->named_list.prev | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->named_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->named_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->private_data | 4096-ptr_max |
| BUF_SIZE | 1 | file | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | file | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | param | s32min-s32max |
| BUF_SIZE | 3 | trigger_data | 120 |
| BUF_SIZE | 3 | trigger_data->private_data | 2024 |
| DATA_SOURCE | 0 | cmd_ops | $0 |
| DATA_SOURCE | 1 | file | $1 |
| DATA_SOURCE | 3 | trigger_data | r trigger_data_alloc |
| STR_LEN | 0 | cmd_ops | (-1)-0,5 |
| STR_LEN | 0 | cmd_ops | (-1)-0,5 |
| STR_LEN | 1 | file | (-1),4 |
| STR_LEN | 1 | file | (-1),4 |
| STR_LEN | 3 | trigger_data->cmd_ops | (-1)-0,5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | file->tr->range_addr_size | 1-u64max[c] |
| USER_DATA | 2 | *param | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | file->tr->range_addr_size | |
| USER_PTR | 2 | param | |
| HALF_LOCKED2 | _T->lock |
kernel/trace/trace_events_trigger.c event_enable_trigger_parse() -> event_trigger_set_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | file->tr | 4096-ptr_max |
| PARAM_VALUE | 2 | param | 0,4097-ptr_max |
| PARAM_VALUE | 2 | *param | 0-255 |
| PARAM_VALUE | 3 | trigger_data | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->cmd_ops | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->filter | 0 |
| PARAM_VALUE | 3 | trigger_data->list.next | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->list.prev | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->named_list.next | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->named_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->named_list.prev | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->named_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->named_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->private_data | 4096-ptr_max |
| BUF_SIZE | 1 | file | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | file | s32min-(-1),1-s32max |
| BUF_SIZE | 3 | trigger_data | 120 |
| BUF_SIZE | 3 | trigger_data->private_data | 16 |
| CAPPED_DATA | 1 | file | 1 |
| DATA_SOURCE | 0 | cmd_ops | $0 |
| DATA_SOURCE | 1 | file | $1 |
| DATA_SOURCE | 3 | trigger_data | r trigger_data_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | file->tr->range_addr_size | 1-u64max[c] |
| USER_DATA | 3 | trigger_data->count | 0-u64max |
| NO_OVERFLOW_SIMPLE | 1 | file->tr->range_addr_size | |
| NO_OVERFLOW_SIMPLE | 3 | trigger_data->count | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | global &event_mutex |
kernel/trace/trace_events_trigger.c event_trigger_parse() -> event_trigger_set_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cmd_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | file | 4096-ptr_max |
| PARAM_VALUE | 2 | param | 0,4097-ptr_max |
| PARAM_VALUE | 2 | *param | 0-255 |
| PARAM_VALUE | 3 | trigger_data | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->cmd_ops | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->filter | 0 |
| PARAM_VALUE | 3 | trigger_data->list.next | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->list.prev | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->named_list.next | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->named_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->named_list.prev | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->named_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->named_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 3 | trigger_data->private_data | 4096-ptr_max |
| BUF_SIZE | 1 | file | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | file | s32min-(-1),1-s32max |
| BUF_SIZE | 3 | trigger_data | 120 |
| BUF_SIZE | 3 | trigger_data->private_data | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | file | 1 |
| DATA_SOURCE | 0 | cmd_ops | $0 |
| DATA_SOURCE | 1 | file | $1 |
| DATA_SOURCE | 3 | trigger_data | r trigger_data_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | file->tr->range_addr_size | 1-u64max[c] |
| USER_DATA | 2 | *param | 0-255 |
| USER_DATA | 3 | trigger_data->count | 0-u64max |
| NO_OVERFLOW_SIMPLE | 1 | file->tr->range_addr_size | |
| NO_OVERFLOW_SIMPLE | 3 | trigger_data->count | |
| USER_PTR | 2 | param | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | global &event_mutex |