Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/
H A Dipsec.c676 ssize_t r_bytes, s_bytes; in udp_ping_send()
691 r_bytes = recv(sock[0], sock_buf, buf_len, 0); in udp_ping_send()
692 if (r_bytes < 0) { in udp_ping_send()
696 } else if (r_bytes == 0) { /* EOF */ in udp_ping_send()
699 } else if (r_bytes != buf_len || memcmp(buf, sock_buf, buf_len)) { in udp_ping_send()
700 printk("ping reply packet is corrupted %zd/%zu", r_bytes, buf_len); in udp_ping_send()
713 ssize_t r_bytes, s_bytes; in udp_ping_reply()
719 r_bytes = recv(sock[0], sock_buf, buf_len, 0); in udp_ping_reply()
720 if (r_bytes < 0) { in udp_ping_reply()
725 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/drivers/tty/serial/
H A Dimx.c1200 unsigned int r_bytes; in imx_uart_dma_rx_callback() local
1234 r_bytes = rx_ring->head - rx_ring->tail; in imx_uart_dma_rx_callback()
1248 sport->rx_buf + rx_ring->tail, r_bytes); in imx_uart_dma_rx_callback()
1254 if (w_bytes != r_bytes) in imx_uart_dma_rx_callback()