Lines Matching refs:gl_holders
209 if (!list_empty(&gl->gl_holders)) in demote_ok()
280 GLOCK_BUG_ON(gl, !list_empty(&gl->gl_holders)); in __gfs2_glock_put()
390 list_for_each_entry_safe(gh, tmp, &gl->gl_holders, gh_list) { in do_error()
420 list_for_each_entry_safe(gh, tmp, &gl->gl_holders, gh_list) { in demote_incompat_holders()
448 if (!list_empty(&gl->gl_holders)) { in find_first_holder()
449 gh = list_first_entry(&gl->gl_holders, struct gfs2_holder, in find_first_holder()
468 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in find_first_strong_holder()
537 list_for_each_entry_safe(gh, tmp, &gl->gl_holders, gh_list) { in do_promote()
547 if (list_is_first(&gh->gh_list, &gl->gl_holders)) in do_promote()
596 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in find_first_waiter()
680 list_move_tail(&gh->gh_list, &gl->gl_holders); in finish_xmote()
1502 list_for_each_entry(gh2, &gl->gl_holders, gh_list) { in add_to_queue()
1523 list_add_tail(&gh->gh_list, &gl->gl_holders); in add_to_queue()
1530 gh = list_first_entry(&gl->gl_holders, struct gfs2_holder, gh_list); in add_to_queue()
1657 if (list_empty(&gl->gl_holders)) in __gfs2_glock_dq()
1699 if (list_is_first(&gh->gh_list, &gl->gl_holders) && in gfs2_glock_dq()
1877 if (!list_empty(&gl->gl_holders) && in gfs2_glock_cb()
1936 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in gfs2_should_freeze()
2362 if (!list_empty(&gl->gl_holders)) in gflags2str()
2434 list_for_each_entry(gh, &gl->gl_holders, gh_list) in gfs2_dump_glock()