Lines Matching refs:blkno
112 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create) in gfs2_getbuf() argument
126 index = blkno >> shift; /* convert block to page */ in gfs2_getbuf()
127 bufnum = blkno - (index << shift); /* block buf index within page */ in gfs2_getbuf()
155 map_bh(bh, sdp->sd_vfs, blkno); in gfs2_getbuf()
184 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno) in gfs2_meta_new() argument
187 bh = gfs2_getbuf(gl, blkno, CREATE); in gfs2_meta_new()
254 int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags, in gfs2_meta_read() argument
266 *bhp = bh = gfs2_getbuf(gl, blkno, CREATE); in gfs2_meta_read()
279 bh = gfs2_getbuf(gl, blkno + 1, CREATE); in gfs2_meta_read()
405 static struct buffer_head *gfs2_getjdatabuf(struct gfs2_inode *ip, u64 blkno) in gfs2_getjdatabuf() argument
412 unsigned long index = blkno >> shift; /* convert block to page */ in gfs2_getjdatabuf()
413 unsigned int bufnum = blkno - (index << shift); in gfs2_getjdatabuf()