Home
last modified time | relevance | path

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

/linux-6.1.9/fs/gfs2/
Dglock.c332 struct gfs2_holder *current_gh, in may_grant() argument
335 if (current_gh) { in may_grant()
336 GLOCK_BUG_ON(gl, !test_bit(HIF_HOLDER, &current_gh->gh_iflags)); in may_grant()
338 switch(current_gh->gh_state) { in may_grant()
348 (current_gh->gh_flags & LM_FLAG_NODE_SCOPE) && in may_grant()
353 return gh->gh_state == current_gh->gh_state; in may_grant()
419 struct gfs2_holder *current_gh) in demote_incompat_holders() argument
435 if (gh == current_gh) in demote_incompat_holders()
438 !may_grant(gl, current_gh, gh)) { in demote_incompat_holders()
542 struct gfs2_holder *gh, *current_gh; in do_promote() local
[all …]