Lines Matching refs:gl
97 struct gfs2_glock *gl = NULL; in gfs2_ail1_start_one() local
120 if (gl == bd->bd_gl) in gfs2_ail1_start_one()
122 gl = bd->bd_gl; in gfs2_ail1_start_one()
599 struct gfs2_glock *gl = bd->bd_gl; in gfs2_add_revoke() local
602 if (atomic_inc_return(&gl->gl_revokes) == 1) in gfs2_add_revoke()
603 gfs2_glock_hold(gl); in gfs2_add_revoke()
608 set_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_add_revoke()
612 void gfs2_glock_remove_revoke(struct gfs2_glock *gl) in gfs2_glock_remove_revoke() argument
614 if (atomic_dec_return(&gl->gl_revokes) == 0) { in gfs2_glock_remove_revoke()
615 clear_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_glock_remove_revoke()
616 gfs2_glock_queue_put(gl); in gfs2_glock_remove_revoke()
792 void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, u32 flags) in gfs2_log_flush() argument
800 if (gl && !test_bit(GLF_LFLUSH, &gl->gl_flags)) { in gfs2_log_flush()