Lines Matching refs:b_size
74 if (dsize > (dibh->b_size - sizeof(struct gfs2_dinode))) in gfs2_unstuffer_page()
75 dsize = dibh->b_size - sizeof(struct gfs2_dinode); in gfs2_unstuffer_page()
277 const __be64 *endp = (const __be64 *)(bh->b_data + bh->b_size); in gfs2_metapath_ra()
479 dblks = gfs2_extent_length(bh->b_data, bh->b_size, ptr, maxlen, in gfs2_bmap_alloc()
584 bh_map->b_size = dblks << inode->i_blkbits; in gfs2_bmap_alloc()
609 const size_t maxlen = bh_map->b_size >> inode->i_blkbits; in gfs2_block_map()
655 len = gfs2_extent_length(bh->b_data, bh->b_size, ptr, maxlen, &eob); in gfs2_block_map()
656 bh_map->b_size = (len << inode->i_blkbits); in gfs2_block_map()
692 bh.b_size = 1 << (inode->i_blkbits + (create ? 0 : 5)); in gfs2_extent_map()
694 *extlen = bh.b_size >> inode->i_blkbits; in gfs2_extent_map()
1419 bh.b_size = size; in gfs2_map_journal_extents()
1423 rc = gfs2_add_jextent(jd, lblock, bh.b_blocknr, bh.b_size >> shift); in gfs2_map_journal_extents()
1426 size -= bh.b_size; in gfs2_map_journal_extents()
1427 lblock += (bh.b_size >> ip->i_inode.i_blkbits); in gfs2_map_journal_extents()
1441 bh.b_state, (unsigned long long)bh.b_size); in gfs2_map_journal_extents()
1485 bh.b_size = size; in gfs2_write_alloc_required()
1489 size -= bh.b_size; in gfs2_write_alloc_required()
1490 lblock += (bh.b_size >> ip->i_inode.i_blkbits); in gfs2_write_alloc_required()