Lines Matching defs:gl
106 struct gfs2_glock *gl = NULL;
135 if (gl == bd->bd_gl)
137 gl = bd->bd_gl;
772 struct gfs2_glock *gl = bd->bd_gl;
775 if (atomic_inc_return(&gl->gl_revokes) == 1)
776 gfs2_glock_hold(gl);
781 set_bit(GLF_LFLUSH, &gl->gl_flags);
785 void gfs2_glock_remove_revoke(struct gfs2_glock *gl)
787 if (atomic_dec_return(&gl->gl_revokes) == 0) {
788 clear_bit(GLF_LFLUSH, &gl->gl_flags);
789 gfs2_glock_queue_put(gl);
1035 * @gl: The glock structure to flush. If NULL, flush the whole incore log
1040 void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, u32 flags)
1061 if (gl && !test_bit(GLF_LFLUSH, &gl->gl_flags))