Lines Matching defs:blkno
120 * @blkno: the block number (filesystem scope)
126 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create)
140 index = blkno >> shift; /* convert block to page */
141 bufnum = blkno - (index << shift); /* block buf index within page */
164 map_bh(bh, sdp->sd_vfs, blkno);
188 * @blkno: The block number
193 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno)
196 bh = gfs2_getbuf(gl, blkno, CREATE);
251 * @blkno: The block number
259 int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags,
271 *bhp = bh = gfs2_getbuf(gl, blkno, CREATE);
284 bh = gfs2_getbuf(gl, blkno + 1, CREATE);
410 static struct buffer_head *gfs2_getjdatabuf(struct gfs2_inode *ip, u64 blkno)
417 unsigned long index = blkno >> shift; /* convert block to page */
418 unsigned int bufnum = blkno - (index << shift);