• Home
  • Raw
  • Download

Lines Matching refs:field_var

536 struct field_var {  struct
567 struct field_var *field_vars[SYNTH_FIELDS_MAX];
573 struct field_var *save_vars[SYNTH_FIELDS_MAX];
3096 struct field_var **field_vars, in __update_field_vars()
3105 struct field_var *field_var = field_vars[i]; in __update_field_vars() local
3106 struct hist_field *var = field_var->var; in __update_field_vars()
3107 struct hist_field *val = field_var->val; in __update_field_vars()
3187 static struct field_var *create_field_var(struct hist_trigger_data *hist_data, in create_field_var()
3194 struct field_var *field_var; in create_field_var() local
3218 field_var = kzalloc(sizeof(struct field_var), GFP_KERNEL); in create_field_var()
3219 if (!field_var) { in create_field_var()
3226 field_var->var = var; in create_field_var()
3227 field_var->val = val; in create_field_var()
3229 return field_var; in create_field_var()
3231 field_var = ERR_PTR(ret); in create_field_var()
3255 static struct field_var *
3790 static void destroy_field_var(struct field_var *field_var) in destroy_field_var() argument
3792 if (!field_var) in destroy_field_var()
3795 destroy_hist_field(field_var->var, 0); in destroy_field_var()
3796 destroy_hist_field(field_var->val, 0); in destroy_field_var()
3798 kfree(field_var); in destroy_field_var()
3813 struct field_var *field_var) in save_field_var() argument
3815 hist_data->field_vars[hist_data->n_field_vars++] = field_var; in save_field_var()
3817 if (field_var->val->flags & HIST_FIELD_FL_STRING) in save_field_var()
3886 struct field_var *field_var; in trace_action_create_field_var() local
3894 field_var = create_target_field_var(hist_data, system, event, var); in trace_action_create_field_var()
3896 if (field_var && !IS_ERR(field_var)) { in trace_action_create_field_var()
3897 save_field_var(hist_data, field_var); in trace_action_create_field_var()
3898 hist_field = field_var->var; in trace_action_create_field_var()
3900 field_var = NULL; in trace_action_create_field_var()
3927 destroy_field_var(field_var); in trace_action_create_field_var()
4052 struct field_var *field_var; in action_create() local
4089 field_var = create_target_field_var(hist_data, NULL, NULL, param); in action_create()
4090 if (IS_ERR(field_var)) { in action_create()
4093 ret = PTR_ERR(field_var); in action_create()
4098 hist_data->save_vars[hist_data->n_save_vars++] = field_var; in action_create()
4099 if (field_var->val->flags & HIST_FIELD_FL_STRING) in action_create()
5621 struct field_var *field_var, unsigned int i, in field_var_debug_show() argument
5630 field = field_var->var; in field_var_debug_show()
5639 field = field_var->val; in field_var_debug_show()