Searched refs:r_bytes (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/tools/testing/selftests/net/ |
D | ipsec.c | 633 ssize_t r_bytes, s_bytes; in udp_ping_send() local 648 r_bytes = recv(sock[0], sock_buf, buf_len, 0); in udp_ping_send() 649 if (r_bytes < 0) { in udp_ping_send() 653 } else if (r_bytes == 0) { /* EOF */ in udp_ping_send() 656 } else if (r_bytes != buf_len || memcmp(buf, sock_buf, buf_len)) { in udp_ping_send() 657 printk("ping reply packet is corrupted %zd/%zu", r_bytes, buf_len); in udp_ping_send() 670 ssize_t r_bytes, s_bytes; in udp_ping_reply() local 676 r_bytes = recv(sock[0], sock_buf, buf_len, 0); in udp_ping_reply() 677 if (r_bytes < 0) { in udp_ping_reply() 682 if (r_bytes == 0) { /* EOF */ in udp_ping_reply() [all …]
|
/Linux-v5.10/lib/ |
D | bch.c | 248 const size_t r_bytes = BCH_ECC_WORDS(bch) * sizeof(*r); in bch_encode() local 255 if (WARN_ON(r_bytes > sizeof(r))) in bch_encode() 262 memset(bch->ecc_buf, 0, r_bytes); in bch_encode() 279 memcpy(r, bch->ecc_buf, r_bytes); in bch_encode() 311 memcpy(bch->ecc_buf, r, r_bytes); in bch_encode()
|
/Linux-v5.10/drivers/tty/serial/ |
D | imx.c | 1153 unsigned int r_bytes; in imx_uart_dma_rx_callback() local 1187 r_bytes = rx_ring->head - rx_ring->tail; in imx_uart_dma_rx_callback() 1194 sport->rx_buf + rx_ring->tail, r_bytes); in imx_uart_dma_rx_callback() 1200 if (w_bytes != r_bytes) in imx_uart_dma_rx_callback()
|