Lines Matching refs:blkno
124 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create) in gfs2_getbuf() argument
138 index = blkno >> shift; /* convert block to page */ in gfs2_getbuf()
139 bufnum = blkno - (index << shift); /* block buf index within page */ in gfs2_getbuf()
162 map_bh(bh, sdp->sd_vfs, blkno); in gfs2_getbuf()
191 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno) in gfs2_meta_new() argument
194 bh = gfs2_getbuf(gl, blkno, CREATE); in gfs2_meta_new()
258 int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags, in gfs2_meta_read() argument
271 *bhp = bh = gfs2_getbuf(gl, blkno, CREATE); in gfs2_meta_read()
284 bh = gfs2_getbuf(gl, blkno + 1, CREATE); in gfs2_meta_read()
412 static struct buffer_head *gfs2_getjdatabuf(struct gfs2_inode *ip, u64 blkno) in gfs2_getjdatabuf() argument
419 unsigned long index = blkno >> shift; /* convert block to page */ in gfs2_getjdatabuf()
420 unsigned int bufnum = blkno - (index << shift); in gfs2_getjdatabuf()