Searched refs:numpkts (Results 1 – 2 of 2) sorted by relevance
157 const int numpkts = totalsize / pktsize; in test_eagain() local171 for(i=0; i < numpkts; i++) { in test_eagain()238 int numpkts; in test_pipe_simulator() local254 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; member318 for(i=0; i < td->numpkts; i++) { in test_pipe_writer()341 for(i=0; i < td->numpkts; i++) { in test_pipe_reader()[all …]
434 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