Lines Matching refs:send_max_size
140 u32 send_max_size; member
663 int left = sctx->send_max_size - sctx->send_size; in tlv_put()
5243 return sctx->send_max_size - SZ_16K; in max_send_read_size()
5256 if (sctx->send_max_size - sctx->send_size < sizeof(__le16) + len) in put_data_header()
5263 if (sctx->send_max_size - sctx->send_size < sizeof(*hdr) + len) in put_data_header()
5670 if (data_offset > sctx->send_max_size || in send_encoded_extent()
5671 sctx->send_max_size - data_offset < disk_num_bytes) { in send_encoded_extent()
8234 sctx->send_max_size = BTRFS_SEND_BUF_SIZE_V2; in btrfs_ioctl_send()
8235 sctx->send_buf = vmalloc(sctx->send_max_size); in btrfs_ioctl_send()
8240 send_buf_num_pages = sctx->send_max_size >> PAGE_SHIFT; in btrfs_ioctl_send()
8253 sctx->send_max_size = BTRFS_SEND_BUF_SIZE_V1; in btrfs_ioctl_send()
8254 sctx->send_buf = kvmalloc(sctx->send_max_size, GFP_KERNEL); in btrfs_ioctl_send()