Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/
H A Dipsec.c679 ssize_t r_bytes, s_bytes; in udp_ping_send()
694 r_bytes = recv(sock[0], sock_buf, buf_len, 0); in udp_ping_send()
695 if (r_bytes < 0) { in udp_ping_send()
699 } else if (r_bytes == 0) { /* EOF */ in udp_ping_send()
702 } else if (r_bytes != buf_len || memcmp(buf, sock_buf, buf_len)) { in udp_ping_send()
703 printk("ping reply packet is corrupted %zd/%zu", r_bytes, buf_len); in udp_ping_send()
716 ssize_t r_bytes, s_bytes; in udp_ping_reply()
722 r_bytes = recv(sock[0], sock_buf, buf_len, 0); in udp_ping_reply()
723 if (r_bytes < 0) { in udp_ping_reply()
728 if (r_bytes in udp_ping_reply()
675 ssize_t r_bytes, s_bytes; udp_ping_send() local
712 ssize_t r_bytes, s_bytes; udp_ping_reply() local
[all...]
/linux/lib/
H A Dbch.c214 const size_t r_bytes = BCH_ECC_WORDS(bch) * sizeof(*r); in bch_encode() local
221 if (WARN_ON(r_bytes > sizeof(r))) in bch_encode()
228 memset(bch->ecc_buf, 0, r_bytes); in bch_encode()
245 memcpy(r, bch->ecc_buf, r_bytes); in bch_encode()
277 memcpy(bch->ecc_buf, r, r_bytes); in bch_encode()
/linux/drivers/tty/serial/
H A Dimx.c1199 unsigned int r_bytes; in imx_uart_dma_rx_callback() local
1233 r_bytes = rx_ring->head - rx_ring->tail; in imx_uart_dma_rx_callback()
1247 sport->rx_buf + rx_ring->tail, r_bytes); in imx_uart_dma_rx_callback()
1253 if (w_bytes != r_bytes) in imx_uart_dma_rx_callback()