• Home
  • Raw
  • Download

Lines Matching refs:var_name

1108 					 const char *var_name)  in find_var_field()  argument
1116 strcmp(hist_field->var.name, var_name) == 0) { in find_var_field()
1127 const char *var_name) in find_var() argument
1135 hist_field = find_var_field(hist_data, var_name); in find_var()
1142 hist_field = find_var_field(test_data, var_name); in find_var()
1154 char *var_name) in find_var_file() argument
1169 if (find_var_field(var_hist_data, var_name)) { in find_var_file()
1171 hist_err(tr, HIST_ERR_VAR_NOT_UNIQUE, errpos(var_name)); in find_var_file()
1183 const char *var_name) in find_file_var() argument
1194 hist_field = find_var_field(test_data, var_name); in find_file_var()
1204 find_match_var(struct hist_trigger_data *hist_data, char *var_name) in find_match_var() argument
1218 file = find_var_file(tr, system, event_name, var_name); in find_match_var()
1221 hist_field = find_file_var(file, var_name); in find_match_var()
1225 errpos(var_name)); in find_match_var()
1239 char *var_name) in find_event_var() argument
1246 hist_field = find_match_var(hist_data, var_name); in find_event_var()
1253 file = find_var_file(tr, system, event_name, var_name); in find_event_var()
1257 hist_field = find_file_var(file, var_name); in find_event_var()
1934 char *var_name) in create_hist_field() argument
2046 if (var_name) { in create_hist_field()
2047 hist_field->var.name = kstrdup(var_name, GFP_KERNEL); in create_hist_field()
2200 static bool is_var_ref(char *var_name) in is_var_ref() argument
2202 if (!var_name || strlen(var_name) < 2 || var_name[0] != '$') in is_var_ref()
2209 char *var_name) in field_name_from_var() argument
2217 if (strcmp(var_name, name) == 0) { in field_name_from_var()
2230 char *var_name) in local_field_var_ref() argument
2247 if (!is_var_ref(var_name)) in local_field_var_ref()
2250 var_name++; in local_field_var_ref()
2252 return field_name_from_var(hist_data, var_name); in local_field_var_ref()
2257 char *var_name) in parse_var_ref() argument
2262 if (!is_var_ref(var_name)) in parse_var_ref()
2265 var_name++; in parse_var_ref()
2267 var_field = find_event_var(hist_data, system, event_name, var_name); in parse_var_ref()
2273 hist_err(tr, HIST_ERR_VAR_NOT_FOUND, errpos(var_name)); in parse_var_ref()
2374 char *var_name) in create_alias() argument
2379 alias = create_hist_field(hist_data, NULL, flags, var_name); in create_alias()
2397 char *str, char *var_name, in parse_const() argument
2410 field = create_hist_field(hist_data, NULL, *flags, var_name); in parse_const()
2421 unsigned long *flags, char *var_name) in parse_atom() argument
2430 hist_field = parse_const(hist_data, str, var_name, flags); in parse_atom()
2461 if (var_name) { in parse_atom()
2462 hist_field = create_alias(hist_data, hist_field, var_name); in parse_atom()
2479 hist_field = create_hist_field(hist_data, field, *flags, var_name); in parse_atom()
2494 char *var_name, unsigned int *n_subexprs);
2499 char *var_name, unsigned int *n_subexprs) in parse_unary() argument
2544 expr = create_hist_field(hist_data, NULL, flags, var_name); in parse_unary()
2631 char *var_name, unsigned int *n_subexprs) in parse_expr() argument
2649 return parse_atom(hist_data, file, str, &flags, var_name); in parse_expr()
2652 return parse_unary(hist_data, file, str, flags, var_name, n_subexprs); in parse_expr()
2731 expr = create_hist_field(hist_data, NULL, flags, var_name); in parse_expr()
3067 char *subsys_name, char *event_name, char *var_name) in find_target_event_var() argument
3087 hist_field = find_var_field(hist_data, var_name); in find_target_event_var()
3257 char *subsys_name, char *event_name, char *var_name) in create_target_field_var() argument
3276 return create_field_var(target_hist_data, file, var_name); in create_target_field_var()
4183 char *var_name, char *field_str, in __create_val_field() argument
4189 hist_field = parse_expr(hist_data, file, field_str, flags, var_name, &n_subexprs); in __create_val_field()
4341 char *var_name, char *expr_str) in create_var_field() argument
4350 if (find_var(hist_data, file, var_name) && !hist_data->remove) { in create_var_field()
4351 hist_err(tr, HIST_ERR_DUPLICATE_VAR, errpos(var_name)); in create_var_field()
4360 ret = __create_val_field(hist_data, val_idx, file, var_name, expr_str, flags); in create_var_field()
4508 char *var_name = hist_data->attrs->var_defs.name[i]; in create_var_fields() local
4511 ret = create_var_field(hist_data, j++, file, var_name, expr); in create_var_fields()
4534 char *s, *str, *var_name, *field_str; in parse_var_defs() local
4545 var_name = strsep(&field_str, "="); in parse_var_defs()
4546 if (!var_name || !field_str) { in parse_var_defs()
4548 errpos(var_name)); in parse_var_defs()
4554 hist_err(tr, HIST_ERR_TOO_MANY_VARS, errpos(var_name)); in parse_var_defs()
4559 s = kstrdup(var_name, GFP_KERNEL); in parse_var_defs()