Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/trace/trace_events_hist.c __create_val_field() -> parse_expr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hist_data | 4096-ptr_max |
| PARAM_VALUE | 0 | hist_data->attrs->clock | 1-u64max |
| PARAM_VALUE | 0 | hist_data->attrs->keys_str | 1-u64max |
| PARAM_VALUE | 1 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | file->tr->snapshot_buffer.buffer->subbuf_order | s32min-4294967295 |
| PARAM_VALUE | 1 | file->tr->snapshot_buffer.buffer->subbuf_size | 0-4294967295 |
| PARAM_VALUE | 3 | flags | 0,4096 |
| PARAM_VALUE | 5 | n_subexprs | 8215985235701661696 |
| PARAM_VALUE | 5 | *n_subexprs | 0 |
| BUF_SIZE | 0 | hist_data->event_file | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | file | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | file | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hist_data | $0 |
| DATA_SOURCE | 1 | file | $2 |
| DATA_SOURCE | 2 | str | $4 |
| DATA_SOURCE | 3 | flags | $5 |
| DATA_SOURCE | 4 | var_name | $3 |
| HARD_MAX | 3 | flags | 4096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | file->tr->range_addr_size | 1-u64max[c] |
| HALF_LOCKED2 | _T->lock |
kernel/trace/trace_events_hist.c create_key_field() -> parse_expr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hist_data | 4096-ptr_max |
| PARAM_VALUE | 0 | hist_data->attrs->clock | 1-u64max |
| PARAM_VALUE | 0 | hist_data->attrs->keys_str | 1-u64max |
| PARAM_VALUE | 0 | hist_data->attrs->vals_str | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hist_data->event_file | 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 | 1 | file->tr->snapshot_buffer.buffer->subbuf_order | s32min-4294967295 |
| PARAM_VALUE | 1 | file->tr->snapshot_buffer.buffer->subbuf_size | 0-4294967295 |
| PARAM_VALUE | 2 | str | 1-u64max |
| PARAM_VALUE | 3 | flags | 2 |
| PARAM_VALUE | 4 | var_name | 0 |
| PARAM_VALUE | 5 | n_subexprs | 8081274991755894784 |
| PARAM_VALUE | 5 | *n_subexprs | 0 |
| BUF_SIZE | 1 | file | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | file | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hist_data | $0 |
| DATA_SOURCE | 1 | file | $3 |
| DATA_SOURCE | 2 | str | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | file->tr->range_addr_size | 1-u64max[c] |
| NO_OVERFLOW_SIMPLE | 1 | file->tr->range_addr_size | |
| HALF_LOCKED2 | _T->lock |
kernel/trace/trace_events_hist.c parse_expr() -> parse_expr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | file->tr->snapshot_buffer.buffer->subbuf_order | s32min-4294967295 |
| PARAM_VALUE | 1 | file->tr->snapshot_buffer.buffer->subbuf_size | 0-4294967295 |
| PARAM_VALUE | 2 | str | 4096-ptr_max |
| PARAM_VALUE | 2 | *str | 1-255 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | var_name | 0 |
| PARAM_VALUE | 5 | n_subexprs | 4096-ptr_max |
| PARAM_VALUE | 5 | *n_subexprs | 0-4 |
| BUF_SIZE | 0 | hist_data | (-1)-s32max |
| BUF_SIZE | 0 | hist_data | (-1)-s32max |
| BUF_SIZE | 0 | hist_data->attrs | (-1)-s32max |
| BUF_SIZE | 0 | hist_data->event_file | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | file | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | file | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hist_data | $0 |
| DATA_SOURCE | 1 | file | $1 |
| DATA_SOURCE | 5 | n_subexprs | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | file->tr->range_addr_size | 1-u64max[c] |
kernel/trace/trace_events_hist.c parse_expr() -> parse_expr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hist_data->event_file->tr->fsnotify_irqwork.node.a_flags.counter | 0-s32max |
| PARAM_VALUE | 0 | hist_data->event_file->tr->fsnotify_irqwork.node.u_flags | 0-s32max |
| PARAM_VALUE | 1 | file->tr->snapshot_buffer.buffer->subbuf_order | s32min-4294967295 |
| PARAM_VALUE | 1 | file->tr->snapshot_buffer.buffer->subbuf_size | 0-4294967295 |
| PARAM_VALUE | 2 | str | 4096-ptr_max |
| PARAM_VALUE | 2 | *str | 1-255 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | var_name | 0 |
| PARAM_VALUE | 5 | n_subexprs | 4096-ptr_max |
| BUF_SIZE | 0 | hist_data | (-1)-s32max |
| BUF_SIZE | 0 | hist_data | (-1)-s32max |
| BUF_SIZE | 1 | file | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | file | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hist_data | $0 |
| DATA_SOURCE | 1 | file | $1 |
| DATA_SOURCE | 5 | n_subexprs | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/trace/trace_events_hist.c parse_unary() -> parse_expr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hist_data->attrs->map_bits | 0-s32max |
| PARAM_VALUE | 1 | file->tr->snapshot_buffer.buffer->subbuf_order | s32min-4294967295 |
| PARAM_VALUE | 1 | file->tr->snapshot_buffer.buffer->subbuf_size | 0-4294967295 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | var_name | 0 |
| PARAM_VALUE | 5 | n_subexprs | 4096-ptr_max |
| PARAM_VALUE | 5 | *n_subexprs | 0-3 |
| BUF_SIZE | 0 | hist_data | (-1)-s32max |
| BUF_SIZE | 0 | hist_data | (-1)-s32max |
| BUF_SIZE | 0 | hist_data->attrs | (-1)-s32max |
| BUF_SIZE | 0 | hist_data->event_file | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | file | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | file | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hist_data | $0 |
| DATA_SOURCE | 1 | file | $1 |
| DATA_SOURCE | 2 | str | $2 [m] |
| DATA_SOURCE | 5 | n_subexprs | $5 |
| FUZZY_MAX | 5 | *n_subexprs | 3 |
| HARD_MAX | 5 | *n_subexprs | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | file->tr->range_addr_size | 1-u64max[c] |