Lines Matching refs:current_gh
327 * @current_gh: One of the current holders of @gl
332 * @current_gh; they are all the same as far as compatibility with the new @gh
339 struct gfs2_holder *current_gh,
342 if (current_gh) {
343 GLOCK_BUG_ON(gl, !test_bit(HIF_HOLDER, ¤t_gh->gh_iflags));
345 switch(current_gh->gh_state) {
355 (current_gh->gh_flags & LM_FLAG_NODE_SCOPE) &&
360 return gh->gh_state == current_gh->gh_state;
490 struct gfs2_holder *gh, *current_gh;
492 current_gh = find_first_holder(gl);
496 if (!may_grant(gl, current_gh, gh)) {
511 if (!current_gh)
512 current_gh = gh;
1497 struct gfs2_holder *current_gh;
1499 current_gh = find_first_holder(gl);
1500 try_futile = !may_grant(gl, current_gh, gh);
1561 struct gfs2_holder *current_gh;
1567 current_gh = find_first_holder(gl);
1568 if (!may_grant(gl, current_gh, gh))