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