Home
last modified time | relevance | path

Searched refs:gh_state (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/fs/gfs2/
H A Dglock.c357 switch(current_gh->gh_state) { in may_grant()
366 return gh->gh_state == LM_ST_EXCLUSIVE && in may_grant()
372 return gh->gh_state == current_gh->gh_state; in may_grant()
379 if (gl->gl_state == gh->gh_state) in may_grant()
384 return gh->gh_state == LM_ST_SHARED || in may_grant()
385 gh->gh_state == LM_ST_DEFERRED; in may_grant()
621 gl->gl_target = gh->gh_state; in finish_xmote()
875 gl->gl_target = gh->gh_state; in run_queue()
1292 gh->gh_state = state; in __gfs2_holder_init()
1309 gh->gh_state = state; in gfs2_holder_reinit()
[all …]
H A Dglops.c523 if (gh->gh_state != LM_ST_DEFERRED) in inode_go_held()
528 (gh->gh_state == LM_ST_EXCLUSIVE)) in inode_go_held()
H A Dtrace_gfs2.h215 __entry->state = glock_trace_state(gh->gh_state);
244 __entry->state = glock_trace_state(gh->gh_state);
H A Dincore.h265 u16 gh_state; member
H A Dfile.c1489 if (fl_gh->gh_state == state) in do_flock()