Lines Matching refs:GLOCK_BUG_ON
190 GLOCK_BUG_ON(gl, __lockref_is_dead(&gl->gl_lockref)); in gfs2_glock_hold()
259 GLOCK_BUG_ON(gl, gl->gl_lockref.count < 2); in __gfs2_glock_queue_work()
278 GLOCK_BUG_ON(gl, !list_empty(&gl->gl_holders)); in __gfs2_glock_put()
282 GLOCK_BUG_ON(gl, !mapping_empty(mapping)); in __gfs2_glock_put()
329 GLOCK_BUG_ON(gl, !test_bit(HIF_HOLDER, ¤t_gh->gh_iflags)); in may_grant()
533 GLOCK_BUG_ON(gl, __lockref_is_dead(&gl->gl_lockref)); in state_change()
622 GLOCK_BUG_ON(gl, 1); in finish_xmote()
684 GLOCK_BUG_ON(gl, gl->gl_state == target); in do_xmote()
685 GLOCK_BUG_ON(gl, gl->gl_state == gl->gl_target); in do_xmote()
797 GLOCK_BUG_ON(gl, !gfs2_withdrawn(sdp)); in do_xmote()
823 GLOCK_BUG_ON(gl, test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags)); in run_queue()
832 GLOCK_BUG_ON(gl, gl->gl_demote_state == LM_ST_EXCLUSIVE); in run_queue()
1484 GLOCK_BUG_ON(gl, gh->gh_owner_pid == NULL); in add_to_queue()
1486 GLOCK_BUG_ON(gl, true); in add_to_queue()