Home
last modified time | relevance | path

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

/linux-6.6.21/fs/gfs2/
Dglock.c190 GLOCK_BUG_ON(gl, __lockref_is_dead(&gl->gl_lockref)); in gfs2_glock_hold()
191 lockref_get(&gl->gl_lockref); in gfs2_glock_hold()
259 GLOCK_BUG_ON(gl, gl->gl_lockref.count < 2); in __gfs2_glock_queue_work()
260 gl->gl_lockref.count--; in __gfs2_glock_queue_work()
265 spin_lock(&gl->gl_lockref.lock); in gfs2_glock_queue_work()
267 spin_unlock(&gl->gl_lockref.lock); in gfs2_glock_queue_work()
275 lockref_mark_dead(&gl->gl_lockref); in __gfs2_glock_put()
276 spin_unlock(&gl->gl_lockref.lock); in __gfs2_glock_put()
304 if (lockref_put_or_lock(&gl->gl_lockref)) in gfs2_glock_put()
533 GLOCK_BUG_ON(gl, __lockref_is_dead(&gl->gl_lockref)); in state_change()
[all …]
Dglops.c252 spin_lock(&gl->gl_lockref.lock); in gfs2_glock2inode()
256 spin_unlock(&gl->gl_lockref.lock); in gfs2_glock2inode()
264 spin_lock(&gl->gl_lockref.lock); in gfs2_glock2rgrp()
266 spin_unlock(&gl->gl_lockref.lock); in gfs2_glock2rgrp()
646 gl->gl_lockref.count++; in iopen_go_callback()
648 gl->gl_lockref.count--; in iopen_go_callback()
Dglock.h144 spin_lock(&gl->gl_lockref.lock); in gfs2_glock_is_locked_by_me()
154 spin_unlock(&gl->gl_lockref.lock); in gfs2_glock_is_locked_by_me()
Dmain.c54 spin_lock_init(&gl->gl_lockref.lock); in gfs2_init_glock_once()
Dincore.h341 struct lockref gl_lockref; member
/linux-6.6.21/Documentation/filesystems/
Dgfs2-glocks.rst11 1. A spinlock (gl_lockref.lock) which protects the internal state such
94 Operation GLF_LOCK bit lock held gl_lockref.lock spinlock held