Home
last modified time | relevance | path

Searched refs:gl_state (Results 1 – 9 of 9) sorted by relevance

/linux-4.19.296/fs/gfs2/
Dglock.h162 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()
Dglock.c175 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 …]
Dglops.c162 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()
Dtrace_gfs2.h112 __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);
Dincore.h362 unsigned int gl_state:2, /* Current state */ member
Dlock_dlm.c120 unsigned ret = gl->gl_state; in gdlm_ast()
Dxattr.c1239 if (WARN_ON_ONCE(ip->i_gl->gl_state != LM_ST_EXCLUSIVE)) in gfs2_xattr_set()
Dsuper.c814 } else if (WARN_ON_ONCE(ip->i_gl->gl_state != LM_ST_EXCLUSIVE)) in gfs2_dirty_inode()
Drgrp.c2004 if (gl->gl_state != LM_ST_UNLOCKED && list_empty(&gl->gl_holders) && in fast_to_acquire()