Lines Matching refs:lock_stat
40 struct lock_stat { struct
203 static int lock_stat_key_ ## member(struct lock_stat *one, \
204 struct lock_stat *two) \
214 static int lock_stat_key_wait_time_min(struct lock_stat *one, in SINGLE_KEY()
215 struct lock_stat *two) in SINGLE_KEY()
233 int (*key)(struct lock_stat*, struct lock_stat*);
238 static int (*compare)(struct lock_stat *, struct lock_stat *);
272 static void insert_to_result(struct lock_stat *st, in insert_to_result() argument
273 int (*bigger)(struct lock_stat *, struct lock_stat *)) in insert_to_result() argument
277 struct lock_stat *p; in insert_to_result()
280 p = container_of(*rb, struct lock_stat, rb); in insert_to_result()
294 static struct lock_stat *pop_from_result(void) in pop_from_result()
305 return container_of(node, struct lock_stat, rb); in pop_from_result()
308 static struct lock_stat *lock_stat_findnew(void *addr, const char *name) in lock_stat_findnew()
311 struct lock_stat *ret, *new; in lock_stat_findnew()
318 new = zalloc(sizeof(struct lock_stat)); in lock_stat_findnew()
392 struct lock_stat *ls; in report_lock_acquire_event()
465 struct lock_stat *ls; in report_lock_acquired_event()
529 struct lock_stat *ls; in report_lock_contended_event()
584 struct lock_stat *ls; in report_lock_release_event()
702 struct lock_stat *st; in print_result()
773 struct lock_stat *st; in dump_map()
856 struct lock_stat *st; in sort_result()