Home
last modified time | relevance | path

Searched refs:gl_holders (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/fs/gfs2/
Dglock.c154 if (!list_empty(&gl->gl_holders)) in demote_ok()
208 GLOCK_BUG_ON(gl, !list_empty(&gl->gl_holders)); in gfs2_glock_put()
251 …const struct gfs2_holder *gh_head = list_entry(gl->gl_holders.next, const struct gfs2_holder, gh_l… in may_grant()
286 list_for_each_entry_safe(gh, tmp, &gl->gl_holders, gh_list) { in do_error()
318 list_for_each_entry_safe(gh, tmp, &gl->gl_holders, gh_list) { in do_promote()
322 if (gh->gh_list.prev == &gl->gl_holders && in do_promote()
347 if (gh->gh_list.prev == &gl->gl_holders) in do_promote()
364 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in find_first_waiter()
392 if (held1 && held2 && list_empty(&gl->gl_holders)) in state_change()
441 list_move_tail(&gh->gh_list, &gl->gl_holders); in finish_xmote()
[all …]
Dglops.c282 if (!list_empty(&gl->gl_holders)) { in inode_go_demote_ok()
283 gh = list_entry(gl->gl_holders.next, struct gfs2_holder, gh_list); in inode_go_demote_ok()
284 if (gh->gh_list.next != &gl->gl_holders) in inode_go_demote_ok()
Dmain.c54 INIT_LIST_HEAD(&gl->gl_holders); in gfs2_init_glock_once()
Dglock.h146 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in gfs2_glock_is_locked_by_me()
Dincore.h346 struct list_head gl_holders; member
Drgrp.c1935 if (gl->gl_state != LM_ST_UNLOCKED && list_empty(&gl->gl_holders) && in fast_to_acquire()
/linux-4.1.27/Documentation/filesystems/
Dgfs2-glocks.txt9 as gl_state, gl_target and the list of holders (gl_holders)
16 The gl_holders list contains all the queued lock requests (not