Lines Matching refs:gl_holders
200 if (!list_empty(&gl->gl_holders)) in demote_ok()
272 GLOCK_BUG_ON(gl, !list_empty(&gl->gl_holders)); in __gfs2_glock_put()
315 …const struct gfs2_holder *gh_head = list_first_entry(&gl->gl_holders, const struct gfs2_holder, gh… in may_grant()
355 list_for_each_entry_safe(gh, tmp, &gl->gl_holders, gh_list) { in do_error()
387 list_for_each_entry_safe(gh, tmp, &gl->gl_holders, gh_list) { in do_promote()
391 if (gh->gh_list.prev == &gl->gl_holders && in do_promote()
416 if (gh->gh_list.prev == &gl->gl_holders) in do_promote()
433 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in find_first_waiter()
516 list_move_tail(&gh->gh_list, &gl->gl_holders); in finish_xmote()
704 if (!list_empty(&gl->gl_holders)) { in find_first_holder()
705 gh = list_first_entry(&gl->gl_holders, struct gfs2_holder, gh_list); in find_first_holder()
1337 list_for_each_entry(gh2, &gl->gl_holders, gh_list) { in add_to_queue()
1357 list_add_tail(&gh->gh_list, &gl->gl_holders); in add_to_queue()
1364 gh = list_first_entry(&gl->gl_holders, struct gfs2_holder, gh_list); in add_to_queue()
1470 if (list_empty(&gl->gl_holders) && in gfs2_glock_dq()
1655 if (!list_empty(&gl->gl_holders) && in gfs2_glock_cb()
1687 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in gfs2_should_freeze()
2107 if (!list_empty(&gl->gl_holders)) in gflags2str()
2177 list_for_each_entry(gh, &gl->gl_holders, gh_list) in gfs2_dump_glock()