Searched refs:gl_state (Results 1 – 9 of 9) sorted by relevance
162 return gl->gl_state == LM_ST_EXCLUSIVE; in gfs2_glock_is_held_excl()167 return gl->gl_state == LM_ST_DEFERRED; in gfs2_glock_is_held_dfrd()172 return gl->gl_state == LM_ST_SHARED; in gfs2_glock_is_held_shrd()
175 if (gl->gl_state == LM_ST_UNLOCKED) in demote_ok()291 if (gl->gl_state == gh->gh_state) in may_grant()295 if (gl->gl_state == LM_ST_EXCLUSIVE) { in may_grant()301 if (gl->gl_state != LM_ST_UNLOCKED && (gh->gh_flags & LM_FLAG_ANY)) in may_grant()418 held1 = (gl->gl_state != LM_ST_UNLOCKED); in state_change()435 gl->gl_state = new_state; in state_change()485 gl->gl_target = gl->gl_state; in finish_xmote()554 GLOCK_BUG_ON(gl, gl->gl_state == target); in do_xmote()555 GLOCK_BUG_ON(gl, gl->gl_state == gl->gl_target); in do_xmote()564 (gl->gl_state == LM_ST_EXCLUSIVE) || in do_xmote()[all …]
162 GLOCK_BUG_ON(gl, gl->gl_state != LM_ST_EXCLUSIVE); in rgrp_go_sync()258 GLOCK_BUG_ON(gl, gl->gl_state != LM_ST_EXCLUSIVE); in inode_go_sync()455 (gl->gl_state == LM_ST_EXCLUSIVE) && in inode_go_lock()501 if (gl->gl_state == LM_ST_SHARED && in freeze_go_sync()574 gl->gl_state == LM_ST_SHARED && ip) { in iopen_go_callback()
112 __entry->cur_state = glock_trace_state(gl->gl_state);148 __entry->cur_state = glock_trace_state(gl->gl_state);182 __entry->cur_state = glock_trace_state(gl->gl_state);
362 unsigned int gl_state:2, /* Current state */ member
120 unsigned ret = gl->gl_state; in gdlm_ast()
1239 if (WARN_ON_ONCE(ip->i_gl->gl_state != LM_ST_EXCLUSIVE)) in gfs2_xattr_set()
814 } else if (WARN_ON_ONCE(ip->i_gl->gl_state != LM_ST_EXCLUSIVE)) in gfs2_dirty_inode()
2004 if (gl->gl_state != LM_ST_UNLOCKED && list_empty(&gl->gl_holders) && in fast_to_acquire()