Lines Matching refs:gl_holders
200 if (!list_empty(&gl->gl_holders)) in demote_ok()
271 GLOCK_BUG_ON(gl, !list_empty(&gl->gl_holders)); in __gfs2_glock_put()
313 …const struct gfs2_holder *gh_head = list_first_entry(&gl->gl_holders, const struct gfs2_holder, gh… in may_grant()
368 list_for_each_entry_safe(gh, tmp, &gl->gl_holders, gh_list) { in do_error()
400 list_for_each_entry_safe(gh, tmp, &gl->gl_holders, gh_list) { in do_promote()
404 if (gh->gh_list.prev == &gl->gl_holders && in do_promote()
429 if (gh->gh_list.prev == &gl->gl_holders) in do_promote()
446 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in find_first_waiter()
528 list_move_tail(&gh->gh_list, &gl->gl_holders); in finish_xmote()
734 if (!list_empty(&gl->gl_holders)) { in find_first_holder()
735 gh = list_first_entry(&gl->gl_holders, struct gfs2_holder, gh_list); in find_first_holder()
1363 list_for_each_entry(gh2, &gl->gl_holders, gh_list) { in add_to_queue()
1383 list_add_tail(&gh->gh_list, &gl->gl_holders); in add_to_queue()
1390 gh = list_first_entry(&gl->gl_holders, struct gfs2_holder, gh_list); in add_to_queue()
1497 if (list_empty(&gl->gl_holders) && in gfs2_glock_dq()
1683 if (!list_empty(&gl->gl_holders) && in gfs2_glock_cb()
1715 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in gfs2_should_freeze()
2135 if (!list_empty(&gl->gl_holders)) in gflags2str()
2203 list_for_each_entry(gh, &gl->gl_holders, gh_list) in gfs2_dump_glock()