Lines Matching refs:send_buf
81 char *send_buf;
580 hdr = (struct btrfs_tlv_header *) (sctx->send_buf + sctx->send_size);
685 if (WARN_ON(!sctx->send_buf))
691 hdr = (struct btrfs_cmd_header *)sctx->send_buf;
703 hdr = (struct btrfs_cmd_header *)sctx->send_buf;
707 crc = btrfs_crc32c(0, (unsigned char *)sctx->send_buf, sctx->send_size);
710 ret = write_buf(sctx->send_filp, sctx->send_buf, sctx->send_size,
4949 hdr = (struct btrfs_tlv_header *)(sctx->send_buf + sctx->send_size);
5020 memcpy(sctx->send_buf + sctx->send_size, addr + pg_offset,
5220 memset(sctx->send_buf + sctx->send_size, 0, len);
7324 sctx->send_buf = kvmalloc(sctx->send_max_size, GFP_KERNEL);
7325 if (!sctx->send_buf) {
7533 kvfree(sctx->send_buf);