Home
last modified time | relevance | path

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

/linux-4.19.296/fs/gfs2/
Dglock.c160 GLOCK_BUG_ON(gl, __lockref_is_dead(&gl->gl_lockref)); in gfs2_glock_hold()
161 lockref_get(&gl->gl_lockref); in gfs2_glock_hold()
229 GLOCK_BUG_ON(gl, gl->gl_lockref.count < 2); in __gfs2_glock_queue_work()
230 gl->gl_lockref.count--; in __gfs2_glock_queue_work()
235 spin_lock(&gl->gl_lockref.lock); in gfs2_glock_queue_work()
237 spin_unlock(&gl->gl_lockref.lock); in gfs2_glock_queue_work()
245 lockref_mark_dead(&gl->gl_lockref); in __gfs2_glock_put()
248 spin_unlock(&gl->gl_lockref.lock); in __gfs2_glock_put()
271 if (lockref_put_or_lock(&gl->gl_lockref)) in gfs2_glock_put()
346 __releases(&gl->gl_lockref.lock) in do_promote()
[all …]
Dglock.h145 spin_lock(&gl->gl_lockref.lock); in gfs2_glock_is_locked_by_me()
155 spin_unlock(&gl->gl_lockref.lock); in gfs2_glock_is_locked_by_me()
270 spin_lock(&gl->gl_lockref.lock); in glock_set_object()
274 spin_unlock(&gl->gl_lockref.lock); in glock_set_object()
297 spin_lock(&gl->gl_lockref.lock); in glock_clear_object()
300 spin_unlock(&gl->gl_lockref.lock); in glock_clear_object()
Dglops.c154 spin_lock(&gl->gl_lockref.lock); in rgrp_go_sync()
158 spin_unlock(&gl->gl_lockref.lock); in rgrp_go_sync()
171 spin_lock(&gl->gl_lockref.lock); in rgrp_go_sync()
175 spin_unlock(&gl->gl_lockref.lock); in rgrp_go_sync()
209 spin_lock(&gl->gl_lockref.lock); in gfs2_glock2inode()
213 spin_unlock(&gl->gl_lockref.lock); in gfs2_glock2inode()
221 spin_lock(&gl->gl_lockref.lock); in gfs2_glock2rgrp()
223 spin_unlock(&gl->gl_lockref.lock); in gfs2_glock2rgrp()
575 gl->gl_lockref.count++; in iopen_go_callback()
577 gl->gl_lockref.count--; in iopen_go_callback()
Dmain.c55 spin_lock_init(&gl->gl_lockref.lock); in gfs2_init_glock_once()
Dincore.h359 struct lockref gl_lockref; member