Searched refs:nb (Results 1 - 8 of 8) sorted by relevance

/tldk/app/nginx/src/os/win32/
H A Dngx_socket.c15 unsigned long nb = 1; local
17 return ioctlsocket(s, FIONBIO, &nb);
24 unsigned long nb = 0; local
26 return ioctlsocket(s, FIONBIO, &nb);
/tldk/app/nginx/src/os/unix/
H A Dngx_socket.c29 int nb; local
31 nb = 1;
33 return ioctl(s, FIONBIO, &nb);
40 int nb; local
42 nb = 0;
44 return ioctl(s, FIONBIO, &nb);
/tldk/lib/libtle_l4p/
H A Dudp_rxtx.c462 uint32_t bsz, i, n, nb, nbc, nbm; local
469 nb = RTE_MAX(nbm, nbc) - nbc;
472 if (nb != 0)
473 nb = stream_drb_alloc(s, drbs + nbc, nb);
475 nb += nbc;
478 if (nb == 0)
482 else if (nb != nbm) {
485 nb_pkt = nb * bsz;
489 nbc = nb;
507 uint32_t i, k, n, nb; local
[all...]
H A Dudp_stream.c64 uint32_t i, k, n, nb; local
88 nb = drb_nb_elem(ctx);
89 k = calc_stream_drb_num(ctx, nb);
97 bsz = tle_drb_calc_size(nb);
118 drb->size = nb;
122 s->tx.drb.nb_elem = nb;
H A Dtcp_rxtx.c333 uint32_t bsz, i, nb, nbm; local
342 nb = stream_drb_alloc(s, drb, nbm);
345 if (nb == 0)
348 else if (nb != nbm)
349 num = nb * bsz;
354 nbm = nb;
356 num, drb, &nb);
359 if (nb != 0)
360 stream_drb_free(s, drb + nbm - nb, nb);
549 uint32_t n, nb; local
[all...]
/tldk/examples/l4fwd/test/
H A Drun_test.sh43 nb=3
199 -n ${nb} \
230 -n ${nb} \
/tldk/test/dring/
H A Dtest_dring.c220 uint32_t i, j, k, lc, nb; local
255 nb = j;
257 k = tle_dring_sp_enqueue(dr, (const void **)obj, i, drb, &nb);
259 k = tle_dring_mp_enqueue(dr, (const void **)obj, i, drb, &nb);
269 for (i = j - nb; i != j; i++) {
/tldk/test/gtest/
H A Dtest_tle_dring.h188 uint32_t i, j, k, lc, nb; local
223 nb = j;
225 k = tle_dring_sp_enqueue(dr, (const void **)obj, i, drb, &nb);
227 k = tle_dring_mp_enqueue(dr, (const void **)obj, i, drb, &nb);
237 for (i = j - nb; i != j; i++) {

Completed in 9 milliseconds