Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/gfs2/
Dglock.c183 GLOCK_BUG_ON(gl, __lockref_is_dead(&gl->gl_lockref)); in gfs2_glock_hold()
184 lockref_get(&gl->gl_lockref); in gfs2_glock_hold()
252 GLOCK_BUG_ON(gl, gl->gl_lockref.count < 2); in __gfs2_glock_queue_work()
253 gl->gl_lockref.count--; in __gfs2_glock_queue_work()
258 spin_lock(&gl->gl_lockref.lock); in gfs2_glock_queue_work()
260 spin_unlock(&gl->gl_lockref.lock); in gfs2_glock_queue_work()
268 lockref_mark_dead(&gl->gl_lockref); in __gfs2_glock_put()
271 spin_unlock(&gl->gl_lockref.lock); in __gfs2_glock_put()
299 if (lockref_put_or_lock(&gl->gl_lockref)) in gfs2_glock_put()
379 __releases(&gl->gl_lockref.lock) in do_promote()
[all …]
Dglock.h142 spin_lock(&gl->gl_lockref.lock); in gfs2_glock_is_locked_by_me()
152 spin_unlock(&gl->gl_lockref.lock); in gfs2_glock_is_locked_by_me()
289 spin_lock(&gl->gl_lockref.lock); in glock_set_object()
293 spin_unlock(&gl->gl_lockref.lock); in glock_set_object()
316 spin_lock(&gl->gl_lockref.lock); in glock_clear_object()
319 spin_unlock(&gl->gl_lockref.lock); in glock_clear_object()
Dglops.c258 spin_lock(&gl->gl_lockref.lock); in gfs2_glock2inode()
262 spin_unlock(&gl->gl_lockref.lock); in gfs2_glock2inode()
270 spin_lock(&gl->gl_lockref.lock); in gfs2_glock2rgrp()
272 spin_unlock(&gl->gl_lockref.lock); in gfs2_glock2rgrp()
665 gl->gl_lockref.count++; in iopen_go_callback()
668 gl->gl_lockref.count--; in iopen_go_callback()
Dmain.c55 spin_lock_init(&gl->gl_lockref.lock); in gfs2_init_glock_once()
Dincore.h360 struct lockref gl_lockref; member
/kernel/linux/linux-5.10/Documentation/filesystems/
Dgfs2-glocks.rst11 1. A spinlock (gl_lockref.lock) which protects the internal state such
95 Operation GLF_LOCK bit lock held gl_lockref.lock spinlock held