Lines Matching refs:send_size
73 u32 send_size; member
557 int left = sctx->send_max_size - sctx->send_size; in tlv_put()
562 hdr = (struct btrfs_tlv_header *) (sctx->send_buf + sctx->send_size); in tlv_put()
566 sctx->send_size += total_len; in tlv_put()
670 BUG_ON(sctx->send_size); in begin_cmd()
672 sctx->send_size += sizeof(*hdr); in begin_cmd()
686 hdr->len = cpu_to_le32(sctx->send_size - sizeof(*hdr)); in send_cmd()
689 crc = crc32c(0, (unsigned char *)sctx->send_buf, sctx->send_size); in send_cmd()
692 ret = write_buf(sctx->send_filp, sctx->send_buf, sctx->send_size, in send_cmd()
695 sctx->total_send_size += sctx->send_size; in send_cmd()
696 sctx->cmd_send_size[le16_to_cpu(hdr->cmd)] += sctx->send_size; in send_cmd()
697 sctx->send_size = 0; in send_cmd()