Lines Matching refs:GLOCK_BUG_ON
214 GLOCK_BUG_ON(gl, __lockref_is_dead(&gl->gl_lockref)); in gfs2_glock_hold()
257 GLOCK_BUG_ON(gl, gl->gl_lockref.count < 2); in gfs2_glock_queue_work()
270 GLOCK_BUG_ON(gl, !list_empty(&gl->gl_holders)); in __gfs2_glock_put()
274 GLOCK_BUG_ON(gl, !mapping_empty(mapping)); in __gfs2_glock_put()
284 GLOCK_BUG_ON(gl, gl->gl_lockref.count != 1); in __gfs2_glock_put_or_lock()
343 GLOCK_BUG_ON(gl, !test_bit(HIF_HOLDER, ¤t_gh->gh_iflags)); in may_grant()
641 GLOCK_BUG_ON(gl, 1); in finish_xmote()
701 GLOCK_BUG_ON(gl, gl->gl_state == target); in do_xmote()
702 GLOCK_BUG_ON(gl, gl->gl_state == gl->gl_target); in do_xmote()
852 GLOCK_BUG_ON(gl, test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags)); in run_queue()
861 GLOCK_BUG_ON(gl, gl->gl_demote_state == LM_ST_EXCLUSIVE); in run_queue()
1115 GLOCK_BUG_ON(gl, gl->gl_lockref.count < drop_refs); in glock_work_func()
1510 GLOCK_BUG_ON(gl, gh->gh_owner_pid == NULL); in add_to_queue()
1512 GLOCK_BUG_ON(gl, true); in add_to_queue()