Lines Matching defs:gl
103 * @gl: the glock
110 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create)
112 struct address_space *mapping = gfs2_glock2aspace(gl);
113 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd;
172 * @gl: The glock associated with this block
178 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno)
181 bh = gfs2_getbuf(gl, blkno, CREATE);
239 * @gl: The glock covering the block
247 int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags,
250 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd;
255 (!sdp->sd_jdesc || gl != sdp->sd_jinode_gl)) {
260 *bhp = bh = gfs2_getbuf(gl, blkno, CREATE);
273 bh = gfs2_getbuf(gl, blkno + 1, CREATE);
478 struct gfs2_glock *gl = ip->i_gl;
487 ret = gfs2_meta_read(gl, num, DIO_WAIT, rahead, &bh);
499 * @gl: the glock the blocks belong to
506 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen)
508 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd;
520 first_bh = gfs2_getbuf(gl, dblock, CREATE);
531 bh = gfs2_getbuf(gl, dblock, CREATE);