Lines Matching defs:bsize
758 blhdr->binfo[i].u.bi.bsize = SWAP32(blhdr->binfo[i].u.bi.bsize);
765 update_fs_block(journal *jnl, void *block_ptr, off_t fs_block, size_t bsize)
771 ret = buf_meta_bread(jnl->fsdev, (daddr64_t)fs_block, bsize, NOCRED, &oblock_bp);
781 oblock_bp = buf_getblk(jnl->fsdev, (daddr64_t)fs_block, bsize, 0, 0, BLK_META);
789 if (buf_size(oblock_bp) != bsize) {
795 memcpy((char *)buf_dataptr(oblock_bp), block_ptr, bsize);
804 ret = buf_meta_bread(jnl->fsdev, (daddr64_t)fs_block, bsize, NOCRED, &oblock_bp);
1250 if ((size_t)blhdr->binfo[i].u.bi.bsize > max_bsize) {
1251 max_bsize = blhdr->binfo[i].u.bi.bsize;
1275 size = blhdr->binfo[i].u.bi.bsize;
2788 tbuffer_offset += blhdr->binfo[i].u.bi.bsize;
2851 int bsize;
2856 bsize = buf_size(bp);
2861 KERNEL_DEBUG_CONSTANT(0x3018004, vp, blhdr->binfo[i].bnum, bsize, 0, 0);
2872 blhdr->bytes_used += bsize;
2873 tr->total_bytes += bsize;
2939 blhdr->binfo[i].u.bi.bsize = buf_size(bp);
3809 int32_t bsize;
3858 bsize = buf_size(bp);
3872 memcpy(blkptr, (char *)buf_dataptr(bp), bsize);
3893 bsize = blhdr->binfo[i].u.bi.bsize;
3895 tbuffer_offset += bsize;
4006 int32_t bsize;
4072 bsize = buf_size(bp);
4073 blhdr->binfo[i].u.bi.bsize = bsize;
4074 blhdr->binfo[i].u.bi.b.cksum = calc_checksum(&((char *)blhdr)[tbuffer_offset], bsize);
4077 bsize = blhdr->binfo[i].u.bi.bsize;
4080 tbuffer_offset += bsize;