Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/trace/trace_events_hist.c create_field_var() -> create_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 4096-ptr_max
PARAM_VALUE 0 hist_data->attrs->keys_str 4096-ptr_max
PARAM_VALUE 0 hist_data->attrs->map_bits 0,7-17
PARAM_VALUE 0 hist_data->attrs->n_actions 1-2
PARAM_VALUE 0 hist_data->attrs->name 0,4096-ptr_max
PARAM_VALUE 0 hist_data->attrs->sort_key_str 0,4096-ptr_max
PARAM_VALUE 0 hist_data->attrs->vals_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->drops.counter 0
PARAM_VALUE 0 hist_data->map->elts 0
PARAM_VALUE 0 hist_data->map->hits.counter 0
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->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 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 4 type s32min-(-2),1-s32max
DATA_SOURCE 0 hist_data $0
DATA_SOURCE 1 file $1
DATA_SOURCE 2 name $2
STR_LEN 0 hist_data (-1),4
STR_LEN 0 hist_data (-1),4
STR_LEN 0 hist_data->event_file (-1),4
STR_LEN 1 file (-1),4
STR_LEN 1 file (-1),4
POWER_OF_TWO 0 *hist_data->map
RX_PATH
TASK_NOT_RUNNING
UNITS 3 size unit_byte
HALF_LOCKED2 _T->lock

kernel/trace/trace_events_hist.c track_data_create() -> create_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 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 4096-ptr_max
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->map->key_idx 4096-ptr_max
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->private_data 4096-ptr_max
PARAM_VALUE 0 hist_data->n_fields 1-s32max
PARAM_VALUE 0 *hist_data->map->key_idx s32min-s32max
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 2 name 7624789199768514560
PARAM_VALUE 3 size 8
PARAM_VALUE 4 type 328396452948738048
BUF_SIZE 0 hist_data 2024
BUF_SIZE 2 name 6
BUF_SIZE 4 type 4
CAPPED_DATA 0 hist_data 1
CAPPED_DATA 0 hist_data->n_fields 1
CAPPED_DATA 0 hist_data->n_var_refs 1
DATA_SOURCE 0 hist_data $0
STR_LEN 0 hist_data 5
STR_LEN 1 file 3
TERMINATED 2 name 1
TERMINATED 4 type 1
POWER_OF_TWO 0 *hist_data->map
RX_PATH
TASK_NOT_RUNNING
UNITS 3 size unit_byte
HALF_LOCKED2 _T->lock

kernel/trace/trace_events_hist.c track_data_create() -> create_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 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 4096-ptr_max
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->map->key_idx 4096-ptr_max
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->private_data 4096-ptr_max
PARAM_VALUE 0 hist_data->n_fields 1-s32max
PARAM_VALUE 0 *hist_data->map->key_idx s32min-s32max
PARAM_VALUE 1 file 4096-ptr_max
PARAM_VALUE 2 name 4414844760852250624
PARAM_VALUE 3 size 8
PARAM_VALUE 4 type 328396452948738048
BUF_SIZE 0 hist_data 2024
BUF_SIZE 2 name 9
BUF_SIZE 4 type 4
CAPPED_DATA 0 hist_data 1
CAPPED_DATA 0 hist_data->n_fields 1
CAPPED_DATA 0 hist_data->n_var_refs 1
DATA_SOURCE 0 hist_data $0
STR_LEN 0 hist_data 8
STR_LEN 1 file 3
TERMINATED 2 name 1
TERMINATED 4 type 1
POWER_OF_TWO 0 *hist_data->map
RX_PATH
TASK_NOT_RUNNING
UNITS 3 size unit_byte
HALF_LOCKED2 _T->lock