Lines Matching defs:current_gh
313 * @current_gh: One of the current holders of @gl
318 * @current_gh; they are all the same as far as compatibility with the new @gh
325 struct gfs2_holder *current_gh,
328 if (current_gh) {
329 GLOCK_BUG_ON(gl, !test_bit(HIF_HOLDER, ¤t_gh->gh_iflags));
331 switch(current_gh->gh_state) {
341 (current_gh->gh_flags & LM_FLAG_NODE_SCOPE) &&
346 return gh->gh_state == current_gh->gh_state;
476 struct gfs2_holder *gh, *current_gh;
478 current_gh = find_first_holder(gl);
482 if (!may_grant(gl, current_gh, gh)) {
497 if (!current_gh)
498 current_gh = gh;
1490 struct gfs2_holder *current_gh;
1492 current_gh = find_first_holder(gl);
1493 try_futile = !may_grant(gl, current_gh, gh);