Home
last modified time | relevance | path

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

/Linux-v5.10/fs/gfs2/
Dglock.c316 if ((gh->gh_state == LM_ST_EXCLUSIVE || in may_grant()
317 gh_head->gh_state == LM_ST_EXCLUSIVE) && gh != gh_head) in may_grant()
319 if (gl->gl_state == gh->gh_state) in may_grant()
324 if (gh->gh_state == LM_ST_SHARED && gh_head->gh_state == LM_ST_SHARED) in may_grant()
326 if (gh->gh_state == LM_ST_DEFERRED && gh_head->gh_state == LM_ST_DEFERRED) in may_grant()
518 gl->gl_target = gh->gh_state; in finish_xmote()
749 gl->gl_target = gh->gh_state; in run_queue()
1105 gh->gh_state = state; in gfs2_holder_init()
1124 gh->gh_state = state; in gfs2_holder_reinit()
1377 gh2->gh_gl->gl_name.ln_type, gh2->gh_state); in add_to_queue()
[all …]
Dglops.c513 if (gh->gh_state != LM_ST_DEFERRED) in inode_go_lock()
518 (gh->gh_state == LM_ST_EXCLUSIVE)) { in inode_go_lock()
Dtrace_gfs2.h217 __entry->state = glock_trace_state(gh->gh_state);
247 __entry->state = glock_trace_state(gh->gh_state);
Dincore.h288 u16 gh_state; member
Dfile.c1285 if (fl_gh->gh_state == state) in do_flock()