Home
last modified time | relevance | path

Searched refs:send_size (Results 1 – 1 of 1) sorted by relevance

/fs/btrfs/
Dsend.c89 u32 send_size; member
547 int left = sctx->send_max_size - sctx->send_size; in tlv_put()
552 hdr = (struct btrfs_tlv_header *) (sctx->send_buf + sctx->send_size); in tlv_put()
556 sctx->send_size += total_len; in tlv_put()
660 BUG_ON(sctx->send_size); in begin_cmd()
662 sctx->send_size += sizeof(*hdr); in begin_cmd()
676 hdr->len = cpu_to_le32(sctx->send_size - sizeof(*hdr)); in send_cmd()
679 crc = btrfs_crc32c(0, (unsigned char *)sctx->send_buf, sctx->send_size); in send_cmd()
682 ret = write_buf(sctx->send_filp, sctx->send_buf, sctx->send_size, in send_cmd()
685 sctx->total_send_size += sctx->send_size; in send_cmd()
[all …]