Lines Matching defs:gl
96 struct gfs2_glock *gl = NULL;
125 if (gl == bd->bd_gl)
127 gl = bd->bd_gl;
679 struct gfs2_glock *gl = bd->bd_gl;
682 if (atomic_inc_return(&gl->gl_revokes) == 1)
683 gfs2_glock_hold(gl);
688 set_bit(GLF_LFLUSH, &gl->gl_flags);
692 void gfs2_glock_remove_revoke(struct gfs2_glock *gl)
694 if (atomic_dec_return(&gl->gl_revokes) == 0) {
695 clear_bit(GLF_LFLUSH, &gl->gl_flags);
696 gfs2_glock_queue_put(gl);
955 * @gl: The glock structure to flush. If NULL, flush the whole incore log
960 void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, u32 flags)
975 if (gl && !test_bit(GLF_LFLUSH, &gl->gl_flags))