Home
last modified time | relevance | path

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

/linux-3.4.99/fs/gfs2/
Dglock.h161 return gl->gl_state == LM_ST_EXCLUSIVE; in gfs2_glock_is_held_excl()
166 return gl->gl_state == LM_ST_DEFERRED; in gfs2_glock_is_held_dfrd()
171 return gl->gl_state == LM_ST_SHARED; in gfs2_glock_is_held_shrd()
Dglock.c147 if (gl->gl_state == LM_ST_UNLOCKED) in demote_ok()
280 if (gl->gl_state == gh->gh_state) in may_grant()
284 if (gl->gl_state == LM_ST_EXCLUSIVE) { in may_grant()
290 if (gl->gl_state != LM_ST_UNLOCKED && (gh->gh_flags & LM_FLAG_ANY)) in may_grant()
407 held1 = (gl->gl_state != LM_ST_UNLOCKED); in state_change()
423 gl->gl_state = new_state; in state_change()
473 gl->gl_target = gl->gl_state; in finish_xmote()
539 GLOCK_BUG_ON(gl, gl->gl_state == target); in do_xmote()
540 GLOCK_BUG_ON(gl, gl->gl_state == gl->gl_target); in do_xmote()
549 (gl->gl_state == LM_ST_EXCLUSIVE) || in do_xmote()
[all …]
Dglops.c142 BUG_ON(gl->gl_state != LM_ST_EXCLUSIVE); in rgrp_go_sync()
200 BUG_ON(gl->gl_state != LM_ST_EXCLUSIVE); in inode_go_sync()
419 (gl->gl_state == LM_ST_EXCLUSIVE) && in inode_go_lock()
466 if (gl->gl_state != LM_ST_UNLOCKED && in trans_go_sync()
532 gl->gl_state == LM_ST_SHARED && ip) { in iopen_go_callback()
Dtrace_gfs2.h98 __entry->cur_state = glock_trace_state(gl->gl_state);
134 __entry->cur_state = glock_trace_state(gl->gl_state);
167 __entry->cur_state = glock_trace_state(gl->gl_state);
Dincore.h272 unsigned int gl_state:2, /* Current state */ member
Dlock_dlm.c118 unsigned ret = gl->gl_state; in gdlm_ast()
/linux-3.4.99/Documentation/filesystems/
Dgfs2-glocks.txt9 as gl_state, gl_target and the list of holders (gl_holders)