Lines Matching refs:blkno
108 * @blkno: the block number (filesystem scope)
114 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create)
128 index = blkno >> shift; /* convert block to page */
129 bufnum = blkno - (index << shift); /* block buf index within page */
152 map_bh(bh, sdp->sd_vfs, blkno);
176 * @blkno: The block number
181 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno)
184 bh = gfs2_getbuf(gl, blkno, CREATE);
240 * @blkno: The block number
248 int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags,
261 *bhp = bh = gfs2_getbuf(gl, blkno, CREATE);
274 bh = gfs2_getbuf(gl, blkno + 1, CREATE);
402 static struct buffer_head *gfs2_getjdatabuf(struct gfs2_inode *ip, u64 blkno)
409 unsigned long index = blkno >> shift; /* convert block to page */
410 unsigned int bufnum = blkno - (index << shift);