Lines Matching refs:gl
72 struct gfs2_glock *gl = bd->bd_gl; in maybe_release_space() local
73 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in maybe_release_space()
74 struct gfs2_rgrpd *rgd = gfs2_glock2rgrp(gl); in maybe_release_space()
75 unsigned int index = bd->bd_bh->b_blocknr - gl->gl_name.ln_number; in maybe_release_space()
118 struct gfs2_glock *gl = bd->bd_gl; in gfs2_unpin() local
119 list_add(&bd->bd_ail_gl_list, &gl->gl_ail_list); in gfs2_unpin()
120 atomic_inc(&gl->gl_ail_count); in gfs2_unpin()
734 struct gfs2_glock *gl = ip->i_gl; in buf_lo_scan_elements() local
757 bh_ip = gfs2_meta_new(gl, blkno); in buf_lo_scan_elements()
801 static void gfs2_meta_sync(struct gfs2_glock *gl) in gfs2_meta_sync() argument
803 struct address_space *mapping = gfs2_glock2aspace(gl); in gfs2_meta_sync()
804 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_meta_sync()
814 gfs2_io_error(gl->gl_name.ln_sbd); in gfs2_meta_sync()
879 struct gfs2_glock *gl; in revoke_lo_after_commit() local
884 gl = bd->bd_gl; in revoke_lo_after_commit()
885 if (atomic_dec_return(&gl->gl_revokes) == 0) { in revoke_lo_after_commit()
886 clear_bit(GLF_LFLUSH, &gl->gl_flags); in revoke_lo_after_commit()
887 gfs2_glock_queue_put(gl); in revoke_lo_after_commit()
990 struct gfs2_glock *gl = ip->i_gl; in databuf_lo_scan_elements() local
1014 bh_ip = gfs2_meta_new(gl, blkno); in databuf_lo_scan_elements()