Lines Matching refs:gl_holders
208 if (!list_empty(&gl->gl_holders)) in demote_ok()
278 GLOCK_BUG_ON(gl, !list_empty(&gl->gl_holders)); in __gfs2_glock_put()
388 list_for_each_entry_safe(gh, tmp, &gl->gl_holders, gh_list) { in do_error()
412 if (!list_empty(&gl->gl_holders)) { in find_first_holder()
413 gh = list_first_entry(&gl->gl_holders, struct gfs2_holder, in find_first_holder()
479 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in do_promote()
489 if (list_is_first(&gh->gh_list, &gl->gl_holders)) in do_promote()
512 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in find_first_waiter()
595 list_move_tail(&gh->gh_list, &gl->gl_holders); in finish_xmote()
1499 list_for_each_entry(gh2, &gl->gl_holders, gh_list) { in add_to_queue()
1508 list_for_each_entry(gh2, &gl->gl_holders, gh_list) { in add_to_queue()
1525 list_add_tail(&gh->gh_list, &gl->gl_holders); in add_to_queue()
1532 gh = list_first_entry(&gl->gl_holders, struct gfs2_holder, gh_list); in add_to_queue()
1633 if (list_empty(&gl->gl_holders)) in __gfs2_glock_dq()
1669 if (list_is_first(&gh->gh_list, &gl->gl_holders) && in gfs2_glock_dq()
1862 if (!list_empty(&gl->gl_holders) && in gfs2_glock_cb()
1894 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in gfs2_should_freeze()
2307 if (!list_empty(&gl->gl_holders)) in gflags2str()
2381 list_for_each_entry(gh, &gl->gl_holders, gh_list) in gfs2_dump_glock()