Searched refs:nr_packets (Results 1 – 10 of 10) sorted by relevance
| /linux/tools/testing/selftests/net/tcp_ao/ |
| H A D | connect.c | 36 const size_t nr_packets = 20; in client_fn() local 56 if (test_client_verify(sk, 100, nr_packets)) { in client_fn() 69 if (nr_packets > (after_aogood - before_aogood)) { in client_fn() 71 nr_packets, after_aogood, before_aogood); in client_fn() 82 nr_packets); in client_fn()
|
| H A D | seq-ext.c | 13 const unsigned int nr_packets = 1000; variable 15 const unsigned int quota = nr_packets * msg_len; 194 if (test_client_verify(sk, msg_len, nr_packets)) { in client_fn() 219 if (test_client_verify(sk, msg_len, nr_packets)) in client_fn()
|
| H A D | restore.c | 11 const size_t nr_packets = 20; variable 13 const size_t quota = nr_packets * msg_len; 127 if (test_client_verify(sk, msg_len, nr_packets)) in test_get_sk_checkpoint() 167 if (test_skpair_client(sk, msg_len, nr_packets, poll_cnt, &dummy)) { in test_sk_restore()
|
| H A D | self-connect.c | 39 const size_t nr_packets = 20; in tcp_self_connect() local 76 if (test_client_verify(sk, 100, nr_packets)) { in tcp_self_connect() 142 if (test_client_verify(sk, 100, nr_packets)) { in tcp_self_connect()
|
| H A D | key-management.c | 7 const size_t nr_packets = 20; variable 9 const size_t quota = nr_packets * msg_len; 1019 if (test_client_verify(sk, msg_len, nr_packets)) in try_unmatched_keys() 1055 &tmp, msg_len, nr_packets); in check_current_back() 1064 if (test_client_verify(sk, msg_len, nr_packets)) in check_current_back() 1089 &tmp, msg_len, nr_packets); in roll_over_keys() 1102 if (test_client_verify(sk, msg_len, nr_packets)) { in roll_over_keys() 1123 &tmp, msg_len, nr_packets); in try_client_run() 1136 rnext_index, msg_len, nr_packets); in try_client_match()
|
| /linux/drivers/media/pci/saa7134/ |
| H A D | saa7134-ts.c | 92 lines = dev->ts.nr_packets; in saa7134_ts_buffer_prepare() 112 int size = TS_PACKET_SIZE * dev->ts.nr_packets; in saa7134_ts_queue_setup() 191 saa_writeb(SAA7134_TS_DMA0, ((dev->ts.nr_packets-1)&0xff)); in saa7134_ts_init_hw() 192 saa_writeb(SAA7134_TS_DMA1, (((dev->ts.nr_packets-1)>>8)&0xff)); in saa7134_ts_init_hw() 195 ((((dev->ts.nr_packets-1)>>16)&0x3f) | 0x00)); in saa7134_ts_init_hw() 212 dev->ts.nr_packets = ts_nr_packets; in saa7134_ts_init1() 258 saa_writeb(SAA7134_TS_DMA0, (dev->ts.nr_packets - 1) & 0xff); in saa7134_ts_start() 260 ((dev->ts.nr_packets - 1) >> 8) & 0xff); in saa7134_ts_start() 263 (((dev->ts.nr_packets - 1) >> 16) & 0x3f) | 0x00); in saa7134_ts_start()
|
| H A D | saa7134.h | 523 int nr_packets; member
|
| H A D | saa7134-dvb.c | 1238 dev->ts.nr_packets = 32*4; in dvb_init()
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| H A D | dma.c | 976 u64 nr_packets = failed_packets + succeed_packets; in b43_destroy_dmaring() local 979 if (nr_packets) in b43_destroy_dmaring() 980 permille_failed = divide(failed_packets * 1000, nr_packets); in b43_destroy_dmaring() 981 if (nr_packets) in b43_destroy_dmaring() 982 average_tries = divide(ring->nr_total_packet_tries * 100, nr_packets); in b43_destroy_dmaring() 991 (unsigned long long)nr_packets, in b43_destroy_dmaring()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_xsk.c | 2568 int nr_packets; in testapp_tx_queue_consumer() local 2575 nr_packets = MAX_TX_BUDGET_DEFAULT + 1; in testapp_tx_queue_consumer() 2576 if (pkt_stream_replace(test, nr_packets, MIN_PKT_SIZE)) in testapp_tx_queue_consumer() 2578 test->ifobj_tx->xsk->batch_size = nr_packets; in testapp_tx_queue_consumer()
|