Searched refs:gl_lockref (Results 1 – 5 of 5) sorted by relevance
160 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 …]
145 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()
154 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()
55 spin_lock_init(&gl->gl_lockref.lock); in gfs2_init_glock_once()
359 struct lockref gl_lockref; member