Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/trace/trace_events_hist.c create_var() -> find_var()

Type Parameter Key Value
PARAM_VALUE 0 hist_data 4096-ptr_max
PARAM_VALUE 0 hist_data->actions 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->n_actions 1-u32max
PARAM_VALUE 0 hist_data->attrs->sort_key_str 0,4096-ptr_max
PARAM_VALUE 0 hist_data->attrs->var_defs.n_vars 0
PARAM_VALUE 0 hist_data->event_file->tr->err_log.prev->next 4096-ptr_max
PARAM_VALUE 0 hist_data->event_file->tr->err_log.prev->next->next 4096-ptr_max
PARAM_VALUE 0 hist_data->event_file->tr->snapshot_buffer.buffer->subbuf_order s32min-4294967295
PARAM_VALUE 0 hist_data->event_file->tr->snapshot_buffer.buffer->subbuf_size 0-4294967295
PARAM_VALUE 0 hist_data->map->key_size 0-504
PARAM_VALUE 0 hist_data->map->map 4096-ptr_max
PARAM_VALUE 0 hist_data->map->map_bits 7-17
PARAM_VALUE 0 hist_data->map->n_vars 0-16
PARAM_VALUE 0 hist_data->map->next_elt.counter 0
PARAM_VALUE 0 hist_data->map->ops 2574765353276964864
PARAM_VALUE 0 hist_data->map->ops->elt_alloc 7286300139960954880
PARAM_VALUE 0 hist_data->map->ops->elt_free 6798255245786554368
PARAM_VALUE 0 hist_data->map->ops->elt_init 187152866893508608
PARAM_VALUE 0 hist_data->map->private_data 4096-ptr_max
PARAM_VALUE 0 *hist_data->map->key_idx s32min-s32max
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 2 var_name 4096-ptr_max
BUF_SIZE 0 hist_data->attrs (-1),528
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
BUF_SIZE 2 var_name (-1),6,9
BUF_SIZE 2 var_name (-1),6,9
DATA_SOURCE 0 hist_data $0
DATA_SOURCE 1 file $1
DATA_SOURCE 2 var_name $2
STR_LEN 0 hist_data (-1),4-5,8
STR_LEN 0 hist_data (-1),4-5,8
STR_LEN 0 hist_data->event_file (-1),4
STR_LEN 1 file (-1),3-4
STR_LEN 1 file (-1),3-4
POWER_OF_TWO 0 *hist_data->map
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

kernel/trace/trace_events_hist.c create_var_field() -> find_var()

Type Parameter Key Value
PARAM_VALUE 0 hist_data 4096-ptr_max
PARAM_VALUE 0 hist_data->attrs 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->attrs->var_defs.expr 4096-ptr_max
PARAM_VALUE 0 hist_data->attrs->var_defs.name 4096-ptr_max
PARAM_VALUE 0 hist_data->enable_timestamps 1
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
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 var_name $3
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