Lines Matching refs:lock_stat
174 static int lock_stat_key_ ## member(struct lock_stat *one, \
175 struct lock_stat *two) \
186 static int lock_stat_key_wait_time_min(struct lock_stat *one, in SINGLE_KEY()
187 struct lock_stat *two) in SINGLE_KEY()
210 int (*key)(struct lock_stat*, struct lock_stat*);
212 void (*print)(struct lock_key*, struct lock_stat*);
250 struct lock_stat *ls) \
257 struct lock_stat *ls) \
269 struct lock_stat *ls) in PRINT_KEY()
282 static int (*compare)(struct lock_stat *, struct lock_stat *);
395 static void combine_lock_stats(struct lock_stat *st) in combine_lock_stats()
399 struct lock_stat *p; in combine_lock_stats()
403 p = container_of(*rb, struct lock_stat, rb); in combine_lock_stats()
439 static void insert_to_result(struct lock_stat *st, in insert_to_result() argument
440 int (*bigger)(struct lock_stat *, struct lock_stat *)) in insert_to_result() argument
444 struct lock_stat *p; in insert_to_result()
450 p = container_of(*rb, struct lock_stat, rb); in insert_to_result()
464 static struct lock_stat *pop_from_result(void) in pop_from_result()
475 return container_of(node, struct lock_stat, rb); in pop_from_result()
478 struct lock_stat *lock_stat_find(u64 addr) in lock_stat_find()
481 struct lock_stat *ret; in lock_stat_find()
490 struct lock_stat *lock_stat_findnew(u64 addr, const char *name, int flags) in lock_stat_findnew()
493 struct lock_stat *ret, *new; in lock_stat_findnew()
500 new = zalloc(sizeof(struct lock_stat)); in lock_stat_findnew()
644 struct lock_stat *ls; in report_lock_acquire_event()
719 struct lock_stat *ls; in report_lock_acquired_event()
785 struct lock_stat *ls; in report_lock_contended_event()
843 struct lock_stat *ls; in report_lock_release_event()
1044 struct lock_stat *ls; in report_lock_contention_begin_event()
1207 struct lock_stat *ls; in report_lock_contention_end_event()
1352 struct lock_stat *st; in print_result()
1430 static int compare_maps(struct lock_stat *a, struct lock_stat *b) in compare_maps()
1448 struct lock_stat *st; in dump_map()
1537 struct lock_stat *st; in combine_result()
1552 struct lock_stat *st; in sort_result()
1698 static void print_lock_stat_stdio(struct lock_contention *con, struct lock_stat *st) in print_lock_stat_stdio()
1745 static void print_lock_stat_csv(struct lock_contention *con, struct lock_stat *st, in print_lock_stat_csv()
1796 static void print_lock_stat(struct lock_contention *con, struct lock_stat *st) in print_lock_stat()
1865 struct lock_stat *st; in print_contention_result()