Lines Matching refs:blkno
110 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create) in gfs2_getbuf() argument
124 index = blkno >> shift; /* convert block to page */ in gfs2_getbuf()
125 bufnum = blkno - (index << shift); /* block buf index within page */ in gfs2_getbuf()
150 map_bh(bh, sdp->sd_vfs, blkno); in gfs2_getbuf()
178 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno) in gfs2_meta_new() argument
181 bh = gfs2_getbuf(gl, blkno, CREATE); in gfs2_meta_new()
247 int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags, in gfs2_meta_read() argument
260 *bhp = bh = gfs2_getbuf(gl, blkno, CREATE); in gfs2_meta_read()
273 bh = gfs2_getbuf(gl, blkno + 1, CREATE); in gfs2_meta_read()
399 static struct buffer_head *gfs2_getjdatabuf(struct gfs2_inode *ip, u64 blkno) in gfs2_getjdatabuf() argument
406 unsigned long index = blkno >> shift; /* convert block to page */ in gfs2_getjdatabuf()
407 unsigned int bufnum = blkno - (index << shift); in gfs2_getjdatabuf()