Home
last modified time | relevance | path

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

/freebsd/tests/sys/kern/
H A Dunix_seqpacket_test.c157 const int numpkts = totalsize / pktsize; in test_eagain() local
171 for(i=0; i < numpkts; i++) { in test_eagain()
238 int numpkts; in test_pipe_simulator() local
254 numpkts = MAX(sndbufsize, rcvbufsize) * 8 / pktsize; in test_pipe_simulator()
256 num_sent < numpkts || num_received < numpkts; ) { in test_pipe_simulator()
257 if (currently_sending && num_sent < numpkts) { in test_pipe_simulator()
281 ATF_REQUIRE_MSG(num_sent < numpkts, in test_pipe_simulator()
306 int numpkts; member
318 for(i=0; i < td->numpkts; i++) { in test_pipe_writer()
341 for(i=0; i < td->numpkts; i++) { in test_pipe_reader()
[all …]
/freebsd/crypto/openssl/test/helpers/
H A Dssltestlib.c434 int numpkts = sk_MEMPACKET_num(ctx->pkts); in mempacket_swap_epoch()
436 if (numpkts <= 0) in mempacket_swap_epoch()
443 thispkt = sk_MEMPACKET_value(ctx->pkts, numpkts - 1); in mempacket_swap_epoch()
491 if (sk_MEMPACKET_insert(ctx->pkts, thispkt, numpkts) <= 0) { in mempacket_swap_epoch()
511 int numpkts = sk_MEMPACKET_num(ctx->pkts); in mempacket_move_packet()
518 if (numpkts <= s) in mempacket_move_packet()
425 int numpkts = sk_MEMPACKET_num(ctx->pkts); mempacket_swap_epoch() local
502 int numpkts = sk_MEMPACKET_num(ctx->pkts); mempacket_move_packet() local