Lines Matching refs:send_max_size
86 u32 send_max_size; member
606 int left = sctx->send_max_size - sctx->send_size; in tlv_put()
4979 return sctx->send_max_size - SZ_16K; in max_send_read_size()
4992 if (sctx->send_max_size - sctx->send_size < sizeof(__le16) + len) in put_data_header()
4999 if (sctx->send_max_size - sctx->send_size < sizeof(*hdr) + len) in put_data_header()
5405 if (data_offset > sctx->send_max_size || in send_encoded_extent()
5406 sctx->send_max_size - data_offset < disk_num_bytes) { in send_encoded_extent()
7904 sctx->send_max_size = ALIGN(SZ_16K + BTRFS_MAX_COMPRESSED, PAGE_SIZE); in btrfs_ioctl_send()
7905 sctx->send_buf = vmalloc(sctx->send_max_size); in btrfs_ioctl_send()
7910 send_buf_num_pages = sctx->send_max_size >> PAGE_SHIFT; in btrfs_ioctl_send()
7923 sctx->send_max_size = BTRFS_SEND_BUF_SIZE_V1; in btrfs_ioctl_send()
7924 sctx->send_buf = kvmalloc(sctx->send_max_size, GFP_KERNEL); in btrfs_ioctl_send()