Lines Matching refs:send_max_size
142 u32 send_max_size; member
664 int left = sctx->send_max_size - sctx->send_size; in tlv_put()
5168 return sctx->send_max_size - SZ_16K; in max_send_read_size()
5181 if (unlikely(sctx->send_max_size - sctx->send_size < sizeof(__le16) + len)) in put_data_header()
5188 if (unlikely(sctx->send_max_size - sctx->send_size < sizeof(*hdr) + len)) in put_data_header()
5588 if (unlikely(data_offset > sctx->send_max_size || in send_encoded_extent()
5589 sctx->send_max_size - data_offset < disk_num_bytes)) { in send_encoded_extent()
8093 sctx->send_max_size = BTRFS_SEND_BUF_SIZE_V2; in btrfs_ioctl_send()
8094 sctx->send_buf = vmalloc(sctx->send_max_size); in btrfs_ioctl_send()
8099 send_buf_num_pages = sctx->send_max_size >> PAGE_SHIFT; in btrfs_ioctl_send()
8111 sctx->send_max_size = BTRFS_SEND_BUF_SIZE_V1; in btrfs_ioctl_send()
8112 sctx->send_buf = kvmalloc(sctx->send_max_size, GFP_KERNEL); in btrfs_ioctl_send()