• Home
  • Raw
  • Download

Lines Matching refs:elt

84 				struct tracing_map_elt *elt,
156 struct tracing_map_elt *elt, in hist_field_none() argument
164 struct tracing_map_elt *elt, in hist_field_counter() argument
172 struct tracing_map_elt *elt, in hist_field_string() argument
182 struct tracing_map_elt *elt, in hist_field_dynstring() argument
194 struct tracing_map_elt *elt, in hist_field_pstring() argument
204 struct tracing_map_elt *elt, in hist_field_log2() argument
210 u64 val = operand->fn(operand, elt, rbe, event); in hist_field_log2()
216 struct tracing_map_elt *elt, in hist_field_plus() argument
223 u64 val1 = operand1->fn(operand1, elt, rbe, event); in hist_field_plus()
224 u64 val2 = operand2->fn(operand2, elt, rbe, event); in hist_field_plus()
230 struct tracing_map_elt *elt, in hist_field_minus() argument
237 u64 val1 = operand1->fn(operand1, elt, rbe, event); in hist_field_minus()
238 u64 val2 = operand2->fn(operand2, elt, rbe, event); in hist_field_minus()
244 struct tracing_map_elt *elt, in hist_field_unary_minus() argument
250 s64 sval = (s64)operand->fn(operand, elt, rbe, event); in hist_field_unary_minus()
258 struct tracing_map_elt *elt, \
384 struct tracing_map_elt *elt, void *rec,
467 struct tracing_map_elt elt; member
480 struct tracing_map_elt *elt; member
493 elt_data = track_data->elt.private_data; in track_data_free()
528 data->elt.private_data = elt_data; in track_data_alloc()
612 struct tracing_map_elt *elt, void *rec, in action_trace() argument
627 struct tracing_map_elt *elt, in hist_field_timestamp() argument
643 struct tracing_map_elt *elt, in hist_field_cpu() argument
1023 struct tracing_map_elt *elt, in hist_field_var_ref() argument
1030 if (WARN_ON_ONCE(!elt)) in hist_field_var_ref()
1033 elt_data = elt->private_data; in hist_field_var_ref()
1374 static void hist_trigger_elt_data_free(struct tracing_map_elt *elt) in hist_trigger_elt_data_free() argument
1376 struct hist_elt_data *elt_data = elt->private_data; in hist_trigger_elt_data_free()
1381 static int hist_trigger_elt_data_alloc(struct tracing_map_elt *elt) in hist_trigger_elt_data_alloc() argument
1383 struct hist_trigger_data *hist_data = elt->map->private_data; in hist_trigger_elt_data_alloc()
1425 elt->private_data = elt_data; in hist_trigger_elt_data_alloc()
1430 static void hist_trigger_elt_data_init(struct tracing_map_elt *elt) in hist_trigger_elt_data_init() argument
1432 struct hist_elt_data *elt_data = elt->private_data; in hist_trigger_elt_data_init()
2618 static inline void __update_field_vars(struct tracing_map_elt *elt, in __update_field_vars() argument
2625 struct hist_elt_data *elt_data = elt->private_data; in __update_field_vars()
2634 var_val = val->fn(val, elt, rbe, rec); in __update_field_vars()
2646 tracing_map_set_var(elt, var_idx, var_val); in __update_field_vars()
2651 struct tracing_map_elt *elt, in update_field_vars() argument
2655 __update_field_vars(elt, rbe, rec, hist_data->field_vars, in update_field_vars()
2660 struct tracing_map_elt *elt, void *rec, in save_track_data_vars() argument
2664 __update_field_vars(elt, rbe, rec, hist_data->save_vars, in save_track_data_vars()
2819 struct tracing_map_elt *elt, in get_track_val() argument
2825 track_val = tracing_map_read_var(elt, track_var_idx); in get_track_val()
2831 struct tracing_map_elt *elt, in save_track_val() argument
2836 tracing_map_set_var(elt, track_var_idx, var_val); in save_track_val()
2840 struct tracing_map_elt *elt, void *rec, in save_track_data() argument
2845 data->track_data.save_data(hist_data, elt, rec, rbe, key, data, var_ref_vals); in save_track_data()
2848 static bool check_track_val(struct tracing_map_elt *elt, in check_track_val() argument
2856 track_val = get_track_val(hist_data, elt, data); in check_track_val()
2876 track_val = get_track_val(track_data->hist_data, context->elt, in cond_snapshot_update()
2885 elt_data = context->elt->private_data; in cond_snapshot_update()
2886 track_elt_data = track_data->elt.private_data; in cond_snapshot_update()
2896 struct tracing_map_elt *elt, void *rec, in save_track_data_snapshot() argument
2904 context.elt = elt; in save_track_data_snapshot()
2913 struct tracing_map_elt *elt);
2956 hist_trigger_print_key(m, hist_data, track_data->key, &track_data->elt); in track_data_snapshot_print()
2965 struct tracing_map_elt *elt, void *rec, in save_track_data_snapshot() argument
2975 struct tracing_map_elt *elt, in track_data_print() argument
2978 u64 track_val = get_track_val(hist_data, elt, data); in track_data_print()
2996 val = tracing_map_read_var(elt, save_var_idx); in track_data_print()
3007 struct tracing_map_elt *elt, void *rec, in ontrack_action() argument
3013 if (check_track_val(elt, data, var_val)) { in ontrack_action()
3014 save_track_val(hist_data, elt, data, var_val); in ontrack_action()
3015 save_track_data(hist_data, elt, rec, rbe, key, data, var_ref_vals); in ontrack_action()
4200 struct tracing_map_elt *elt) in print_actions() argument
4212 track_data_print(m, hist_data, elt, data); in print_actions()
4470 struct tracing_map_elt *elt, void *rec, in hist_trigger_elt_update() argument
4479 elt_data = elt->private_data; in hist_trigger_elt_update()
4484 hist_val = hist_field->fn(hist_field, elt, rbe, rec); in hist_trigger_elt_update()
4506 tracing_map_set_var(elt, var_idx, hist_val); in hist_trigger_elt_update()
4509 tracing_map_update_sum(elt, i, hist_val); in hist_trigger_elt_update()
4515 hist_val = hist_field->fn(hist_field, elt, rbe, rec); in hist_trigger_elt_update()
4517 tracing_map_set_var(elt, var_idx, hist_val); in hist_trigger_elt_update()
4521 update_field_vars(hist_data, elt, rbe, rec); in hist_trigger_elt_update()
4549 struct tracing_map_elt *elt, void *rec, in hist_trigger_actions() argument
4558 data->fn(hist_data, elt, rec, rbe, key, data, var_ref_vals); in hist_trigger_actions()
4570 struct tracing_map_elt *elt = NULL; in event_hist_trigger() local
4587 field_contents = key_field->fn(key_field, elt, rbe, rec); in event_hist_trigger()
4606 elt = tracing_map_insert(hist_data->map, key); in event_hist_trigger()
4607 if (!elt) in event_hist_trigger()
4610 hist_trigger_elt_update(hist_data, elt, rec, rbe, var_ref_vals); in event_hist_trigger()
4613 hist_trigger_actions(hist_data, elt, rec, rbe, key, var_ref_vals); in event_hist_trigger()
4637 struct tracing_map_elt *elt) in hist_trigger_print_key() argument
4670 struct hist_elt_data *elt_data = elt->private_data; in hist_trigger_print_key()
4718 struct tracing_map_elt *elt) in hist_trigger_entry_print() argument
4723 hist_trigger_print_key(m, hist_data, key, elt); in hist_trigger_entry_print()
4726 tracing_map_read_sum(elt, HITCOUNT_IDX)); in hist_trigger_entry_print()
4737 tracing_map_read_sum(elt, i)); in hist_trigger_entry_print()
4740 tracing_map_read_sum(elt, i)); in hist_trigger_entry_print()
4744 print_actions(m, hist_data, elt); in hist_trigger_entry_print()
4765 sort_entries[i]->elt); in print_entries()