Lines Matching refs:bsize
757 blhdr->binfo[i].u.bi.bsize = SWAP32(blhdr->binfo[i].u.bi.bsize);
764 update_fs_block(journal *jnl, void *block_ptr, off_t fs_block, size_t bsize)
770 ret = buf_meta_bread(jnl->fsdev, (daddr64_t)fs_block, bsize, NOCRED, &oblock_bp);
780 oblock_bp = buf_getblk(jnl->fsdev, (daddr64_t)fs_block, bsize, 0, 0, BLK_META);
788 if (buf_size(oblock_bp) != bsize) {
794 memcpy((char *)buf_dataptr(oblock_bp), block_ptr, bsize);
803 ret = buf_meta_bread(jnl->fsdev, (daddr64_t)fs_block, bsize, NOCRED, &oblock_bp);
1248 if ((size_t)blhdr->binfo[i].u.bi.bsize > max_bsize) {
1249 max_bsize = blhdr->binfo[i].u.bi.bsize;
1273 size = blhdr->binfo[i].u.bi.bsize;
2777 tbuffer_offset += blhdr->binfo[i].u.bi.bsize;
2840 int bsize;
2845 bsize = buf_size(bp);
2859 blhdr->bytes_used += bsize;
2860 tr->total_bytes += bsize;
2926 blhdr->binfo[i].u.bi.bsize = buf_size(bp);
3706 int32_t bsize;
3755 bsize = buf_size(bp);
3769 memcpy(blkptr, (char *)buf_dataptr(bp), bsize);
3790 bsize = blhdr->binfo[i].u.bi.bsize;
3792 tbuffer_offset += bsize;
3900 int32_t bsize;
3966 bsize = buf_size(bp);
3967 blhdr->binfo[i].u.bi.bsize = bsize;
3968 blhdr->binfo[i].u.bi.b.cksum = calc_checksum(&((char *)blhdr)[tbuffer_offset], bsize);
3971 bsize = blhdr->binfo[i].u.bi.bsize;
3974 tbuffer_offset += bsize;