Lines Matching refs:lock_stat
45 struct lock_stat { struct
210 static int lock_stat_key_ ## member(struct lock_stat *one, \
211 struct lock_stat *two) \
222 static int lock_stat_key_wait_time_min(struct lock_stat *one, in SINGLE_KEY()
223 struct lock_stat *two) in SINGLE_KEY()
241 int (*key)(struct lock_stat*, struct lock_stat*);
246 static int (*compare)(struct lock_stat *, struct lock_stat *);
281 static void insert_to_result(struct lock_stat *st, in insert_to_result() argument
282 int (*bigger)(struct lock_stat *, struct lock_stat *)) in insert_to_result() argument
286 struct lock_stat *p; in insert_to_result()
289 p = container_of(*rb, struct lock_stat, rb); in insert_to_result()
303 static struct lock_stat *pop_from_result(void) in pop_from_result()
314 return container_of(node, struct lock_stat, rb); in pop_from_result()
317 static struct lock_stat *lock_stat_findnew(void *addr, const char *name) in lock_stat_findnew()
320 struct lock_stat *ret, *new; in lock_stat_findnew()
327 new = zalloc(sizeof(struct lock_stat)); in lock_stat_findnew()
403 struct lock_stat *ls; in report_lock_acquire_event()
475 struct lock_stat *ls; in report_lock_acquired_event()
538 struct lock_stat *ls; in report_lock_contended_event()
593 struct lock_stat *ls; in report_lock_release_event()
709 struct lock_stat *st; in print_result()
783 struct lock_stat *st; in dump_map()
841 struct lock_stat *st; in sort_result()