Lines Matching refs:lock_stat
46 struct lock_stat { struct
211 static int lock_stat_key_ ## member(struct lock_stat *one, \
212 struct lock_stat *two) \
223 static int lock_stat_key_wait_time_min(struct lock_stat *one, in SINGLE_KEY()
224 struct lock_stat *two) in SINGLE_KEY()
242 int (*key)(struct lock_stat*, struct lock_stat*);
247 static int (*compare)(struct lock_stat *, struct lock_stat *);
282 static void insert_to_result(struct lock_stat *st, in insert_to_result() argument
283 int (*bigger)(struct lock_stat *, struct lock_stat *)) in insert_to_result() argument
287 struct lock_stat *p; in insert_to_result()
290 p = container_of(*rb, struct lock_stat, rb); in insert_to_result()
304 static struct lock_stat *pop_from_result(void) in pop_from_result()
315 return container_of(node, struct lock_stat, rb); in pop_from_result()
318 static struct lock_stat *lock_stat_findnew(void *addr, const char *name) in lock_stat_findnew()
321 struct lock_stat *ret, *new; in lock_stat_findnew()
328 new = zalloc(sizeof(struct lock_stat)); in lock_stat_findnew()
404 struct lock_stat *ls; in report_lock_acquire_event()
476 struct lock_stat *ls; in report_lock_acquired_event()
539 struct lock_stat *ls; in report_lock_contended_event()
594 struct lock_stat *ls; in report_lock_release_event()
710 struct lock_stat *st; in print_result()
784 struct lock_stat *st; in dump_map()
842 struct lock_stat *st; in sort_result()