Home
last modified time | relevance | path

Searched refs:sndbuf_len (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/tty/hvc/
H A Dhvc_iucv.c73 size_t sndbuf_len; /* length of send buffer */ member
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()
[all …]