Lines Matching refs:tracing_map_elt

25  * these functions (such as tracing_map_elt) please see the overview
30 * tracing_map_update_sum - Add a value to a tracing_map_elt's sum field
31 * @elt: The tracing_map_elt
32 * @i: The index of the given sum associated with the tracing_map_elt
35 * Add n to sum i associated with the specified tracing_map_elt
39 void tracing_map_update_sum(struct tracing_map_elt *elt, unsigned int i, u64 n)
45 * tracing_map_read_sum - Return the value of a tracing_map_elt's sum field
46 * @elt: The tracing_map_elt
47 * @i: The index of the given sum associated with the tracing_map_elt
50 * tracing_map_elt instance. The index i is the index returned by the
56 u64 tracing_map_read_sum(struct tracing_map_elt *elt, unsigned int i)
62 * tracing_map_set_var - Assign a tracing_map_elt's variable field
63 * @elt: The tracing_map_elt
64 * @i: The index of the given variable associated with the tracing_map_elt
67 * Assign n to variable i associated with the specified tracing_map_elt
71 void tracing_map_set_var(struct tracing_map_elt *elt, unsigned int i, u64 n)
79 * @elt: The tracing_map_elt
80 * @i: The index of the given variable associated with the tracing_map_elt
86 bool tracing_map_var_set(struct tracing_map_elt *elt, unsigned int i)
92 * tracing_map_read_var - Return the value of a tracing_map_elt's variable field
93 * @elt: The tracing_map_elt
94 * @i: The index of the given variable associated with the tracing_map_elt
97 * tracing_map_elt instance. The index i is the index returned by the
103 u64 tracing_map_read_var(struct tracing_map_elt *elt, unsigned int i)
109 * tracing_map_read_var_once - Return and reset a tracing_map_elt's variable field
110 * @elt: The tracing_map_elt
111 * @i: The index of the given variable associated with the tracing_map_elt
114 * tracing_map_elt instance, and reset the variable to the 'not set'
122 u64 tracing_map_read_var_once(struct tracing_map_elt *elt, unsigned int i)
221 * for instance to update a sum for a particular tracing_map_elt using
238 * instance to update a var for a particular tracing_map_elt using
358 static void tracing_map_elt_clear(struct tracing_map_elt *elt)
375 static void tracing_map_elt_init_fields(struct tracing_map_elt *elt)
389 static void tracing_map_elt_free(struct tracing_map_elt *elt)
403 static struct tracing_map_elt *tracing_map_elt_alloc(struct tracing_map *map)
405 struct tracing_map_elt *elt;
452 static struct tracing_map_elt *get_free_elt(struct tracing_map *map)
454 struct tracing_map_elt *elt = NULL;
488 sizeof(struct tracing_map_elt *));
515 static inline struct tracing_map_elt *
521 struct tracing_map_elt *val;
567 struct tracing_map_elt *elt;
608 * tracing_map_elt for it, or if the key has already been inserted by
609 * a previous call, returns the tracing_map_elt already associated
633 * Return: the tracing_map_elt pointer val associated with the key.
635 * and associated tracing_map_elt pointer val. If the key wasn't
639 struct tracing_map_elt *tracing_map_insert(struct tracing_map *map, void *key)
650 * tracing_map_elt. This is a lock-free lookup; see
658 * Return: the tracing_map_elt pointer val associated with the key.
661 struct tracing_map_elt *tracing_map_lookup(struct tracing_map *map, void *key)
738 * tracing_map_elt, which is attached by the map to a given key.
751 * When tracing_map_init() returns, tracing_map_elt elements can be
753 * tracing_map_insert() grabs a free tracing_map_elt from the pool, or
757 * tracing_map_elt.
861 const struct tracing_map_elt *elt_a, *elt_b;
892 const struct tracing_map_elt *elt_a, *elt_b;
952 create_sort_entry(void *key, struct tracing_map_elt *elt)
1059 * access the struct tracing_map_elt element of interest directly as