Lines Matching refs:alloc_stat
30 struct alloc_stat;
31 typedef int (*sort_fn_t)(struct alloc_stat *, struct alloc_stat *);
41 struct alloc_stat { struct
67 struct alloc_stat *data = NULL; in insert_alloc_stat() argument
71 data = rb_entry(*node, struct alloc_stat, node); in insert_alloc_stat()
110 struct alloc_stat *data = NULL; in insert_caller_stat()
114 data = rb_entry(*node, struct alloc_stat, node); in insert_caller_stat()
182 static int ptr_cmp(struct alloc_stat *, struct alloc_stat *);
183 static int callsite_cmp(struct alloc_stat *, struct alloc_stat *);
185 static struct alloc_stat *search_alloc_stat(unsigned long ptr, in search_alloc_stat()
191 struct alloc_stat key = { .ptr = ptr, .call_site = call_site }; in search_alloc_stat()
194 struct alloc_stat *data; in search_alloc_stat()
197 data = rb_entry(node, struct alloc_stat, node); in search_alloc_stat()
214 struct alloc_stat *s_alloc, *s_caller; in perf_evsel__process_free_event()
531 struct alloc_stat *data = rb_entry(next, struct alloc_stat, in __print_slab_result()
707 static void sort_slab_insert(struct rb_root *root, struct alloc_stat *data, in sort_slab_insert()
715 struct alloc_stat *this; in sort_slab_insert()
718 this = rb_entry(*new, struct alloc_stat, node); in sort_slab_insert()
741 struct alloc_stat *data; in __sort_slab_result()
749 data = rb_entry(node, struct alloc_stat, node); in __sort_slab_result()
853 static int ptr_cmp(struct alloc_stat *l, struct alloc_stat *r) in ptr_cmp()
867 static int callsite_cmp(struct alloc_stat *l, struct alloc_stat *r) in callsite_cmp()
881 static int hit_cmp(struct alloc_stat *l, struct alloc_stat *r) in hit_cmp()
895 static int bytes_cmp(struct alloc_stat *l, struct alloc_stat *r) in bytes_cmp()
909 static int frag_cmp(struct alloc_stat *l, struct alloc_stat *r) in frag_cmp()
928 static int pingpong_cmp(struct alloc_stat *l, struct alloc_stat *r) in pingpong_cmp()