Lines Matching refs:gh_list
287 …t struct gfs2_holder *gh_head = list_entry(gl->gl_holders.next, const struct gfs2_holder, gh_list); in may_grant()
322 list_for_each_entry_safe(gh, tmp, &gl->gl_holders, gh_list) { in do_error()
331 list_del_init(&gh->gh_list); in do_error()
354 list_for_each_entry_safe(gh, tmp, &gl->gl_holders, gh_list) { in do_promote()
358 if (gh->gh_list.prev == &gl->gl_holders && in do_promote()
368 list_del_init(&gh->gh_list); in do_promote()
383 if (gh->gh_list.prev == &gl->gl_holders) in do_promote()
400 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in find_first_waiter()
477 list_move_tail(&gh->gh_list, &gl->gl_holders); in finish_xmote()
607 gh = list_entry(gl->gl_holders.next, struct gfs2_holder, gh_list); in find_first_holder()
892 INIT_LIST_HEAD(&gh->gh_list); in gfs2_holder_init()
1035 list_for_each_entry(gh2, &gl->gl_holders, gh_list) { in add_to_queue()
1049 insert_pt = &gh2->gh_list; in add_to_queue()
1056 list_add_tail(&gh->gh_list, &gl->gl_holders); in add_to_queue()
1061 list_add_tail(&gh->gh_list, insert_pt); in add_to_queue()
1063 gh = list_entry(gl->gl_holders.next, struct gfs2_holder, gh_list); in add_to_queue()
1152 list_del_init(&gh->gh_list); in gfs2_glock_dq()
1380 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in gfs2_should_freeze()
1807 list_for_each_entry(gh, &gl->gl_holders, gh_list) in gfs2_dump_glock()