Searched refs:sndbuf_len (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/tty/hvc/ |
H A D | hvc_iucv.c | 74 size_t sndbuf_len; /* length of send buffer */ member 367 len = min_t(size_t, count, SNDBUF_SIZE - priv->sndbuf_len); in hvc_iucv_queue() 371 memcpy(priv->sndbuf + priv->sndbuf_len, buf, len); in hvc_iucv_queue() 372 priv->sndbuf_len += len; in hvc_iucv_queue() 400 if (!priv->sndbuf_len) in hvc_iucv_send() 405 sb = alloc_tty_buffer(priv->sndbuf_len, GFP_ATOMIC); in hvc_iucv_send() 409 memcpy(sb->mbuf->data, priv->sndbuf, priv->sndbuf_len); in hvc_iucv_send() 410 sb->mbuf->datalen = (u16) priv->sndbuf_len; in hvc_iucv_send() 423 len = priv->sndbuf_len; in hvc_iucv_send() 424 priv->sndbuf_len in hvc_iucv_send() [all...] |
/kernel/linux/linux-6.6/drivers/tty/hvc/ |
H A D | hvc_iucv.c | 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 in hvc_iucv_send() [all...] |
Completed in 3 milliseconds