Lines Matching refs:gl
72 struct gfs2_glock *gl = bd->bd_gl; in maybe_release_space() local
73 struct gfs2_sbd *sdp = gl->gl_sbd; in maybe_release_space()
74 struct gfs2_rgrpd *rgd = gl->gl_object; 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()
536 struct gfs2_glock *gl = ip->i_gl; in buf_lo_scan_elements() local
559 bh_ip = gfs2_meta_new(gl, blkno); in buf_lo_scan_elements()
585 static void gfs2_meta_sync(struct gfs2_glock *gl) in gfs2_meta_sync() argument
587 struct address_space *mapping = gfs2_glock2aspace(gl); in gfs2_meta_sync()
588 struct gfs2_sbd *sdp = gl->gl_sbd; in gfs2_meta_sync()
598 gfs2_io_error(gl->gl_sbd); in gfs2_meta_sync()
663 struct gfs2_glock *gl; in revoke_lo_after_commit() local
668 gl = bd->bd_gl; in revoke_lo_after_commit()
669 atomic_dec(&gl->gl_revokes); in revoke_lo_after_commit()
670 clear_bit(GLF_LFLUSH, &gl->gl_flags); in revoke_lo_after_commit()
773 struct gfs2_glock *gl = ip->i_gl; in databuf_lo_scan_elements() local
797 bh_ip = gfs2_meta_new(gl, blkno); in databuf_lo_scan_elements()