Searched refs:gl_lockref (Results 1 – 6 of 6) sorted by relevance
190 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 …]
252 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()
144 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()
54 spin_lock_init(&gl->gl_lockref.lock); in gfs2_init_glock_once()
341 struct lockref gl_lockref; member
11 1. A spinlock (gl_lockref.lock) which protects the internal state such94 Operation GLF_LOCK bit lock held gl_lockref.lock spinlock held