Lines Matching refs:gl_holders

214 	if (!list_empty(&gl->gl_holders))  in demote_ok()
285 GLOCK_BUG_ON(gl, !list_empty(&gl->gl_holders)); in __gfs2_glock_put()
395 list_for_each_entry_safe(gh, tmp, &gl->gl_holders, gh_list) { in do_error()
428 list_for_each_entry_safe(gh, tmp, &gl->gl_holders, gh_list) { in demote_incompat_holders()
458 if (!list_empty(&gl->gl_holders)) { in find_first_holder()
459 gh = list_first_entry(&gl->gl_holders, struct gfs2_holder, in find_first_holder()
478 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in find_first_strong_holder()
546 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in do_promote()
556 if (list_is_first(&gh->gh_list, &gl->gl_holders)) in do_promote()
582 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in find_first_waiter()
665 list_move_tail(&gh->gh_list, &gl->gl_holders); in finish_xmote()
1506 list_for_each_entry(gh2, &gl->gl_holders, gh_list) { in add_to_queue()
1517 list_for_each_entry(gh2, &gl->gl_holders, gh_list) { in add_to_queue()
1534 list_add_tail(&gh->gh_list, &gl->gl_holders); in add_to_queue()
1541 gh = list_first_entry(&gl->gl_holders, struct gfs2_holder, gh_list); in add_to_queue()
1668 if (list_empty(&gl->gl_holders)) in __gfs2_glock_dq()
1710 if (list_is_first(&gh->gh_list, &gl->gl_holders) && in gfs2_glock_dq()
1884 if (!list_empty(&gl->gl_holders) && in gfs2_glock_cb()
1943 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in gfs2_should_freeze()
2374 if (!list_empty(&gl->gl_holders)) in gflags2str()
2446 list_for_each_entry(gh, &gl->gl_holders, gh_list) in gfs2_dump_glock()