Lines Matching refs:field_var

539 struct field_var {  struct
570 struct field_var *field_vars[SYNTH_FIELDS_MAX];
576 struct field_var *save_vars[SYNTH_FIELDS_MAX];
3128 struct field_var **field_vars, in __update_field_vars()
3140 struct field_var *field_var = field_vars[i]; in __update_field_vars() local
3141 struct hist_field *var = field_var->var; in __update_field_vars()
3142 struct hist_field *val = field_var->val; in __update_field_vars()
3235 static struct field_var *create_field_var(struct hist_trigger_data *hist_data, in create_field_var()
3242 struct field_var *field_var; in create_field_var() local
3266 field_var = kzalloc(sizeof(struct field_var), GFP_KERNEL); in create_field_var()
3267 if (!field_var) { in create_field_var()
3274 field_var->var = var; in create_field_var()
3275 field_var->val = val; in create_field_var()
3277 return field_var; in create_field_var()
3279 field_var = ERR_PTR(ret); in create_field_var()
3303 static struct field_var *
3838 static void destroy_field_var(struct field_var *field_var) in destroy_field_var() argument
3840 if (!field_var) in destroy_field_var()
3843 destroy_hist_field(field_var->var, 0); in destroy_field_var()
3844 destroy_hist_field(field_var->val, 0); in destroy_field_var()
3846 kfree(field_var); in destroy_field_var()
3861 struct field_var *field_var) in save_field_var() argument
3863 hist_data->field_vars[hist_data->n_field_vars++] = field_var; in save_field_var()
3866 if (field_var->val->flags & (HIST_FIELD_FL_STRING | HIST_FIELD_FL_STACKTRACE)) in save_field_var()
3935 struct field_var *field_var; in trace_action_create_field_var() local
3943 field_var = create_target_field_var(hist_data, system, event, var); in trace_action_create_field_var()
3945 if (field_var && !IS_ERR(field_var)) { in trace_action_create_field_var()
3946 save_field_var(hist_data, field_var); in trace_action_create_field_var()
3947 hist_field = field_var->var; in trace_action_create_field_var()
3949 field_var = NULL; in trace_action_create_field_var()
3976 destroy_field_var(field_var); in trace_action_create_field_var()
4101 struct field_var *field_var; in action_create() local
4138 field_var = create_target_field_var(hist_data, NULL, NULL, param); in action_create()
4139 if (IS_ERR(field_var)) { in action_create()
4142 ret = PTR_ERR(field_var); in action_create()
4147 hist_data->save_vars[hist_data->n_save_vars++] = field_var; in action_create()
4148 if (field_var->val->flags & in action_create()
5717 struct field_var *field_var, unsigned int i, in field_var_debug_show() argument
5726 field = field_var->var; in field_var_debug_show()
5735 field = field_var->val; in field_var_debug_show()