Home
last modified time | relevance | path

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

/linux-4.4.14/fs/gfs2/
Dglock.c122 if (!list_empty(&gl->gl_holders)) in demote_ok()
174 GLOCK_BUG_ON(gl, !list_empty(&gl->gl_holders)); in gfs2_glock_put()
190 …const struct gfs2_holder *gh_head = list_entry(gl->gl_holders.next, const struct gfs2_holder, gh_l… in may_grant()
225 list_for_each_entry_safe(gh, tmp, &gl->gl_holders, gh_list) { in do_error()
257 list_for_each_entry_safe(gh, tmp, &gl->gl_holders, gh_list) { in do_promote()
261 if (gh->gh_list.prev == &gl->gl_holders && in do_promote()
286 if (gh->gh_list.prev == &gl->gl_holders) in do_promote()
303 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in find_first_waiter()
331 if (held1 && held2 && list_empty(&gl->gl_holders)) in state_change()
380 list_move_tail(&gh->gh_list, &gl->gl_holders); in finish_xmote()
[all …]
Dglops.c292 if (!list_empty(&gl->gl_holders)) { in inode_go_demote_ok()
293 gh = list_entry(gl->gl_holders.next, struct gfs2_holder, gh_list); in inode_go_demote_ok()
294 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.h347 struct list_head gl_holders; member
Drgrp.c1958 if (gl->gl_state != LM_ST_UNLOCKED && list_empty(&gl->gl_holders) && in fast_to_acquire()
/linux-4.4.14/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