Lines Matching refs:lock_stat
41 struct lock_stat { struct
206 static int lock_stat_key_ ## member(struct lock_stat *one, \
207 struct lock_stat *two) \
218 static int lock_stat_key_wait_time_min(struct lock_stat *one, in SINGLE_KEY()
219 struct lock_stat *two) in SINGLE_KEY()
237 int (*key)(struct lock_stat*, struct lock_stat*);
242 static int (*compare)(struct lock_stat *, struct lock_stat *);
277 static void insert_to_result(struct lock_stat *st, in insert_to_result() argument
278 int (*bigger)(struct lock_stat *, struct lock_stat *)) in insert_to_result() argument
282 struct lock_stat *p; in insert_to_result()
285 p = container_of(*rb, struct lock_stat, rb); in insert_to_result()
299 static struct lock_stat *pop_from_result(void) in pop_from_result()
310 return container_of(node, struct lock_stat, rb); in pop_from_result()
313 static struct lock_stat *lock_stat_findnew(void *addr, const char *name) in lock_stat_findnew()
316 struct lock_stat *ret, *new; in lock_stat_findnew()
323 new = zalloc(sizeof(struct lock_stat)); in lock_stat_findnew()
399 struct lock_stat *ls; in report_lock_acquire_event()
471 struct lock_stat *ls; in report_lock_acquired_event()
534 struct lock_stat *ls; in report_lock_contended_event()
589 struct lock_stat *ls; in report_lock_release_event()
705 struct lock_stat *st; in print_result()
778 struct lock_stat *st; in dump_map()
833 struct lock_stat *st; in sort_result()