Lines Matching refs:gl_holders
270 GLOCK_BUG_ON(gl, !list_empty(&gl->gl_holders)); in __gfs2_glock_put()
402 list_for_each_entry_safe(gh, tmp, &gl->gl_holders, gh_list) { in do_error()
426 if (!list_empty(&gl->gl_holders)) { in find_first_holder()
427 gh = list_first_entry(&gl->gl_holders, struct gfs2_holder, in find_first_holder()
493 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in do_promote()
503 if (list_is_first(&gh->gh_list, &gl->gl_holders)) in do_promote()
526 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in find_first_waiter()
544 if (list_empty(&gl->gl_holders)) in find_last_waiter()
546 gh = list_last_entry(&gl->gl_holders, struct gfs2_holder, gh_list); in find_last_waiter()
612 list_move_tail(&gh->gh_list, &gl->gl_holders); in finish_xmote()
1525 list_for_each_entry(gh2, &gl->gl_holders, gh_list) { in add_to_queue()
1534 list_for_each_entry(gh2, &gl->gl_holders, gh_list) { in add_to_queue()
1549 list_add_tail(&gh->gh_list, &gl->gl_holders); in add_to_queue()
1600 list_add_tail(&gh->gh_list, &gl->gl_holders); in gfs2_glock_nq()
1668 if (list_empty(&gl->gl_holders)) in __gfs2_glock_dq()
1701 if (list_is_first(&gh->gh_list, &gl->gl_holders) && in gfs2_glock_dq()
1891 if (!list_empty(&gl->gl_holders) && in gfs2_glock_cb()
1928 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in gfs2_should_freeze()
2358 if (!list_empty(&gl->gl_holders)) in gflags2str()
2432 list_for_each_entry(gh, &gl->gl_holders, gh_list) in gfs2_dump_glock()