Home
last modified time | relevance | path

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

/linux/lib/crypto/tests/
H A Dhash-test-template.h14 static u8 *test_buf; global() variable
H A Dblake2b_kunit.c
H A Dblake2s_kunit.c
H A Dpoly1305_kunit.c
H A Dsha3_kunit.c
/linux/tools/virtio/
H A Dvhost_net_test.c52 char *test_buf; member
122 char *sendbuf = dev->test_buf + HDR_LEN; in vdev_send_packet()
220 dev->test_buf = dev->buf; in vdev_info_init()
221 dev->res_buf = dev->test_buf + HDR_LEN + TEST_BUF_LEN; in vdev_info_init()
223 memset(dev->test_buf, 0, HDR_LEN + TEST_BUF_LEN); in vdev_info_init()
224 eh = (struct ether_header *)(dev->test_buf + HDR_LEN); in vdev_info_init()
230 dev->test_buf[i + HDR_LEN] = (char)i; in vdev_info_init()
291 sg_init_one(&sl, dev->test_buf, HDR_LEN + TEST_BUF_LEN); in run_tx_test()
293 dev->test_buf + vq->started, in run_tx_test()
/linux/drivers/net/ethernet/microchip/
H A Denc28j60.c1255 u8 test_buf[64]; /* limit the test to the first 64 bytes */ in enc28j60_hw_tx() local
1259 if (test_len > sizeof(test_buf)) in enc28j60_hw_tx()
1260 test_len = sizeof(test_buf); in enc28j60_hw_tx()
1263 enc28j60_mem_read(priv, TXSTART_INIT + 1, test_len, test_buf); in enc28j60_hw_tx()
1266 if (priv->tx_skb->data[k] != test_buf[k]) { in enc28j60_hw_tx()
1269 k, priv->tx_skb->data[k], test_buf[k]); in enc28j60_hw_tx()