Lines Matching refs:sndbuf_len
73 size_t sndbuf_len; /* length of send buffer */ member
366 len = min_t(size_t, count, SNDBUF_SIZE - priv->sndbuf_len); in hvc_iucv_queue()
370 memcpy(priv->sndbuf + priv->sndbuf_len, buf, len); in hvc_iucv_queue()
371 priv->sndbuf_len += len; in hvc_iucv_queue()
399 if (!priv->sndbuf_len) in hvc_iucv_send()
404 sb = alloc_tty_buffer(priv->sndbuf_len, GFP_ATOMIC); in hvc_iucv_send()
408 memcpy(sb->mbuf->data, priv->sndbuf, priv->sndbuf_len); in hvc_iucv_send()
409 sb->mbuf->datalen = (u16) priv->sndbuf_len; in hvc_iucv_send()
422 len = priv->sndbuf_len; in hvc_iucv_send()
423 priv->sndbuf_len = 0; in hvc_iucv_send()
514 priv->sndbuf_len = 0; in hvc_iucv_cleanup()
728 priv->sndbuf_len = 0; in hvc_iucv_notifier_del()