Lines Matching refs:lock_stat
162 static int lock_stat_key_ ## member(struct lock_stat *one, \
163 struct lock_stat *two) \
174 static int lock_stat_key_wait_time_min(struct lock_stat *one, in SINGLE_KEY()
175 struct lock_stat *two) in SINGLE_KEY()
198 int (*key)(struct lock_stat*, struct lock_stat*);
200 void (*print)(struct lock_key*, struct lock_stat*);
232 struct lock_stat *ls) \
239 struct lock_stat *ls) \
251 struct lock_stat *ls) in PRINT_KEY()
264 static int (*compare)(struct lock_stat *, struct lock_stat *);
377 static void combine_lock_stats(struct lock_stat *st) in combine_lock_stats()
381 struct lock_stat *p; in combine_lock_stats()
385 p = container_of(*rb, struct lock_stat, rb); in combine_lock_stats()
421 static void insert_to_result(struct lock_stat *st, in insert_to_result() argument
422 int (*bigger)(struct lock_stat *, struct lock_stat *)) in insert_to_result() argument
426 struct lock_stat *p; in insert_to_result()
432 p = container_of(*rb, struct lock_stat, rb); in insert_to_result()
446 static struct lock_stat *pop_from_result(void) in pop_from_result()
457 return container_of(node, struct lock_stat, rb); in pop_from_result()
460 static struct lock_stat *lock_stat_find(u64 addr) in lock_stat_find()
463 struct lock_stat *ret; in lock_stat_find()
472 static struct lock_stat *lock_stat_findnew(u64 addr, const char *name, int flags) in lock_stat_findnew()
475 struct lock_stat *ret, *new; in lock_stat_findnew()
482 new = zalloc(sizeof(struct lock_stat)); in lock_stat_findnew()
598 struct lock_stat *ls; in report_lock_acquire_event()
673 struct lock_stat *ls; in report_lock_acquired_event()
739 struct lock_stat *ls; in report_lock_contended_event()
797 struct lock_stat *ls; in report_lock_release_event()
1044 struct lock_stat *ls; in report_lock_contention_begin_event()
1122 struct lock_stat *ls; in report_lock_contention_end_event()
1267 struct lock_stat *st; in print_result()
1345 static int compare_maps(struct lock_stat *a, struct lock_stat *b) in compare_maps()
1363 struct lock_stat *st; in dump_map()
1424 struct lock_stat *st; in combine_result()
1439 struct lock_stat *st; in sort_result()
1448 static const char *get_type_str(struct lock_stat *st) in get_type_str()
1483 struct lock_stat *st; in print_contention_result()