Lines Matching refs:gl
98 struct gfs2_glock *gl = NULL;
125 if (gl == bd->bd_gl)
127 gl = bd->bd_gl;
766 struct gfs2_glock *gl = bd->bd_gl;
769 if (atomic_inc_return(&gl->gl_revokes) == 1)
770 gfs2_glock_hold(gl);
775 set_bit(GLF_LFLUSH, &gl->gl_flags);
779 void gfs2_glock_remove_revoke(struct gfs2_glock *gl)
781 if (atomic_dec_return(&gl->gl_revokes) == 0) {
782 clear_bit(GLF_LFLUSH, &gl->gl_flags);
783 gfs2_glock_put_async(gl);
1065 * @gl: The glock structure to flush. If NULL, flush the whole incore log
1070 static void __gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl,
1091 if (gl && !test_bit(GLF_LFLUSH, &gl->gl_flags))
1214 void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, u32 flags)
1217 __gfs2_log_flush(sdp, gl, flags);