Lines Matching refs:lock_stat
176 static int lock_stat_key_ ## member(struct lock_stat *one, \
177 struct lock_stat *two) \
188 static int lock_stat_key_wait_time_min(struct lock_stat *one, in SINGLE_KEY()
189 struct lock_stat *two) in SINGLE_KEY()
212 int (*key)(struct lock_stat*, struct lock_stat*);
214 void (*print)(struct lock_key*, struct lock_stat*);
252 struct lock_stat *ls) \
259 struct lock_stat *ls) \
271 struct lock_stat *ls) in PRINT_KEY()
284 static int (*compare)(struct lock_stat *, struct lock_stat *);
397 static void combine_lock_stats(struct lock_stat *st) in combine_lock_stats()
401 struct lock_stat *p; in combine_lock_stats()
405 p = container_of(*rb, struct lock_stat, rb); in combine_lock_stats()
441 static void insert_to_result(struct lock_stat *st, in insert_to_result() argument
442 int (*bigger)(struct lock_stat *, struct lock_stat *)) in insert_to_result() argument
446 struct lock_stat *p; in insert_to_result()
452 p = container_of(*rb, struct lock_stat, rb); in insert_to_result()
466 static struct lock_stat *pop_from_result(void) in pop_from_result()
477 return container_of(node, struct lock_stat, rb); in pop_from_result()
480 struct lock_stat *lock_stat_find(u64 addr) in lock_stat_find()
483 struct lock_stat *ret; in lock_stat_find()
492 struct lock_stat *lock_stat_findnew(u64 addr, const char *name, int flags) in lock_stat_findnew()
495 struct lock_stat *ret, *new; in lock_stat_findnew()
502 new = zalloc(sizeof(struct lock_stat)); in lock_stat_findnew()
662 struct lock_stat *ls; in report_lock_acquire_event()
737 struct lock_stat *ls; in report_lock_acquired_event()
803 struct lock_stat *ls; in report_lock_contended_event()
861 struct lock_stat *ls; in report_lock_release_event()
1062 struct lock_stat *ls; in report_lock_contention_begin_event()
1226 struct lock_stat *ls; in report_lock_contention_end_event()
1371 struct lock_stat *st; in print_result()
1449 static int compare_maps(struct lock_stat *a, struct lock_stat *b) in compare_maps()
1467 struct lock_stat *st; in dump_map()
1552 struct lock_stat *st; in combine_result()
1567 struct lock_stat *st; in sort_result()
1722 static void print_lock_stat_stdio(struct lock_contention *con, struct lock_stat *st) in print_lock_stat_stdio()
1772 static void print_lock_stat_csv(struct lock_contention *con, struct lock_stat *st, in print_lock_stat_csv()
1826 static void print_lock_stat(struct lock_contention *con, struct lock_stat *st) in print_lock_stat()
1895 struct lock_stat *st; in print_contention_result()