Searched refs:elt (Results 1 – 3 of 3) sorted by relevance
/kernel/trace/ |
D | tracing_map.c | 38 void tracing_map_update_sum(struct tracing_map_elt *elt, unsigned int i, u64 n) in tracing_map_update_sum() argument 40 atomic64_add(n, &elt->fields[i].sum); in tracing_map_update_sum() 55 u64 tracing_map_read_sum(struct tracing_map_elt *elt, unsigned int i) in tracing_map_read_sum() argument 57 return (u64)atomic64_read(&elt->fields[i].sum); in tracing_map_read_sum() 70 void tracing_map_set_var(struct tracing_map_elt *elt, unsigned int i, u64 n) in tracing_map_set_var() argument 72 atomic64_set(&elt->vars[i], n); in tracing_map_set_var() 73 elt->var_set[i] = true; in tracing_map_set_var() 85 bool tracing_map_var_set(struct tracing_map_elt *elt, unsigned int i) in tracing_map_var_set() argument 87 return elt->var_set[i]; in tracing_map_var_set() 102 u64 tracing_map_read_var(struct tracing_map_elt *elt, unsigned int i) in tracing_map_read_var() argument [all …]
|
D | tracing_map.h | 159 struct tracing_map_elt *elt; member 234 int (*elt_alloc)(struct tracing_map_elt *elt); 235 void (*elt_free)(struct tracing_map_elt *elt); 236 void (*elt_clear)(struct tracing_map_elt *elt); 237 void (*elt_init)(struct tracing_map_elt *elt); 266 extern void tracing_map_update_sum(struct tracing_map_elt *elt, 268 extern void tracing_map_set_var(struct tracing_map_elt *elt, 270 extern bool tracing_map_var_set(struct tracing_map_elt *elt, unsigned int i); 271 extern u64 tracing_map_read_sum(struct tracing_map_elt *elt, unsigned int i); 272 extern u64 tracing_map_read_var(struct tracing_map_elt *elt, unsigned int i); [all …]
|
D | trace_events_hist.c | 84 struct tracing_map_elt *elt, 154 struct tracing_map_elt *elt, in hist_field_none() argument 162 struct tracing_map_elt *elt, in hist_field_counter() argument 170 struct tracing_map_elt *elt, in hist_field_string() argument 180 struct tracing_map_elt *elt, in hist_field_dynstring() argument 192 struct tracing_map_elt *elt, in hist_field_pstring() argument 202 struct tracing_map_elt *elt, in hist_field_log2() argument 208 u64 val = operand->fn(operand, elt, rbe, event); in hist_field_log2() 214 struct tracing_map_elt *elt, in hist_field_plus() argument 221 u64 val1 = operand1->fn(operand1, elt, rbe, event); in hist_field_plus() [all …]
|