Searched refs:gl_lockref (Results 1 – 6 of 6) sorted by relevance
183 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 …]
142 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()
258 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()
55 spin_lock_init(&gl->gl_lockref.lock); in gfs2_init_glock_once()
360 struct lockref gl_lockref; member
11 1. A spinlock (gl_lockref.lock) which protects the internal state such95 Operation GLF_LOCK bit lock held gl_lockref.lock spinlock held