Lines Matching refs:gl
97 struct gfs2_glock *gl = NULL; in gfs2_ail1_start_one() local
126 if (gl == bd->bd_gl) in gfs2_ail1_start_one()
128 gl = bd->bd_gl; in gfs2_ail1_start_one()
767 struct gfs2_glock *gl = bd->bd_gl; in gfs2_add_revoke() local
770 if (atomic_inc_return(&gl->gl_revokes) == 1) in gfs2_add_revoke()
771 gfs2_glock_hold(gl); in gfs2_add_revoke()
776 set_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_add_revoke()
780 void gfs2_glock_remove_revoke(struct gfs2_glock *gl) in gfs2_glock_remove_revoke() argument
782 if (atomic_dec_return(&gl->gl_revokes) == 0) { in gfs2_glock_remove_revoke()
783 clear_bit(GLF_LFLUSH, &gl->gl_flags); in gfs2_glock_remove_revoke()
784 gfs2_glock_queue_put(gl); in gfs2_glock_remove_revoke()
1026 void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, u32 flags) in gfs2_log_flush() argument
1046 if (gl && !test_bit(GLF_LFLUSH, &gl->gl_flags)) in gfs2_log_flush()