Lines Matching defs:g
68 struct trans_waiting_for_lock g[8]; member
72 static noinline void print_cycle(struct printbuf *out, struct lock_graph *g) in print_cycle()
88 static noinline void print_chain(struct printbuf *out, struct lock_graph *g) in print_chain()
101 static void lock_graph_up(struct lock_graph *g) in lock_graph_up()
106 static noinline void lock_graph_pop_all(struct lock_graph *g) in lock_graph_pop_all()
112 static void __lock_graph_down(struct lock_graph *g, struct btree_trans *trans) in __lock_graph_down()
121 static void lock_graph_down(struct lock_graph *g, struct btree_trans *trans) in lock_graph_down()
127 static bool lock_graph_remove_non_waiters(struct lock_graph *g) in lock_graph_remove_non_waiters()
142 static void trace_would_deadlock(struct lock_graph *g, struct btree_trans *trans) in trace_would_deadlock()
159 static int abort_lock(struct lock_graph *g, struct trans_waiting_for_lock *i) in abort_lock()
182 static noinline int break_cycle(struct lock_graph *g, struct printbuf *cycle) in break_cycle()
237 static int lock_graph_descend(struct lock_graph *g, struct btree_trans *trans, in lock_graph_descend()
276 struct lock_graph g; in bch2_check_for_deadlock() local