Lines Matching refs:gl
96 struct gfs2_glock *gl = NULL; in gfs2_ail1_start_one() local
125 if (gl == bd->bd_gl) in gfs2_ail1_start_one()
127 gl = bd->bd_gl; in gfs2_ail1_start_one()
679 struct gfs2_glock *gl = bd->bd_gl; in gfs2_add_revoke() local
682 if (atomic_inc_return(&gl->gl_revokes) == 1) in gfs2_add_revoke()
683 gfs2_glock_hold(gl); in gfs2_add_revoke()
688 set_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_add_revoke()
692 void gfs2_glock_remove_revoke(struct gfs2_glock *gl) in gfs2_glock_remove_revoke() argument
694 if (atomic_dec_return(&gl->gl_revokes) == 0) { in gfs2_glock_remove_revoke()
695 clear_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_glock_remove_revoke()
696 gfs2_glock_queue_put(gl); in gfs2_glock_remove_revoke()
956 void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, u32 flags) in gfs2_log_flush() argument
971 if (gl && !test_bit(GLF_LFLUSH, &gl->gl_flags)) in gfs2_log_flush()