Searched refs:pool (Results 1 - 25 of 81) sorted by relevance

1234

/vpp/src/vppinfra/
H A Ddlist.h23 #include <vppinfra/pool.h>
36 clib_dlist_init (dlist_elt_t * pool, u32 index) argument
38 dlist_elt_t *head = pool_elt_at_index (pool, index);
43 clib_dlist_addtail (dlist_elt_t * pool, u32 head_index, u32 new_index) argument
45 dlist_elt_t *head = pool_elt_at_index (pool, head_index);
52 new = pool_elt_at_index (pool, new_index);
62 old_last = pool_elt_at_index (pool, old_last_index);
71 clib_dlist_addhead (dlist_elt_t * pool, u32 head_index, u32 new_index) argument
73 dlist_elt_t *head = pool_elt_at_index (pool, head_index);
80 new = pool_elt_at_index (pool, new_inde
99 clib_dlist_remove(dlist_elt_t * pool, u32 index) argument
117 clib_dlist_remove_head(dlist_elt_t * pool, u32 head_index) argument
133 clib_dlist_remove_tail(dlist_elt_t * pool, u32 head_index) argument
[all...]
H A Dtest_fpool.c17 #include <vppinfra/pool.h>
50 fformat (stdout, "%d pool elts before deletes\n", pool_elts (tp));
55 fformat (stdout, "%d pool elts after deletes\n", pool_elts (tp));
H A Dvalloc.h19 #include <vppinfra/pool.h>
30 u32 next; /**< next chunk pool index */
31 u32 prev; /**< previous chunk pool index */
41 clib_valloc_chunk_t *chunks; /**< pool of virtual chunks */
45 u32 first_index; /**< pool index of first chunk in list */
H A Dtest_pool_iterate.c18 #include <vppinfra/pool.h>
H A Dbihash_16_8.h34 #include <vppinfra/pool.h>
H A Dbihash_8_8.h34 #include <vppinfra/pool.h>
H A Dbihash_16_8_32.h36 #include <vppinfra/pool.h>
H A Dbihash_8_8_stats.h35 #include <vppinfra/pool.h>
H A Dpool.c38 #include <vppinfra/pool.h>
85 /* First comes the pool header */
/vpp/src/plugins/nat/lib/
H A Dalloc.h32 typedef int (nat_alloc_ip4_addr_and_port_cb_t) (nat_ip4_pool_t * pool,
69 nat_add_del_ip4_pool_addr (nat_ip4_pool_t * pool,
73 nat_add_del_ip4_pool_addrs (nat_ip4_pool_t * pool,
78 nat_alloc_ip4_addr_and_port_cb_default (nat_ip4_pool_t * pool,
87 nat_alloc_ip4_addr_and_port (nat_ip4_pool_t * pool,
95 nat_free_ip4_addr_and_port (nat_ip4_pool_t * pool,
H A Dalloc.c32 nat_add_del_ip4_pool_addr (nat_ip4_pool_t * pool, ip4_address_t addr, argument
40 for (i = 0; i < vec_len (pool->pool_addr); i++)
42 if (pool->pool_addr[i].addr.as_u32 == addr.as_u32)
44 a = pool->pool_addr + 1;
52 vec_add2 (pool->pool_addr, a, 1);
70 vec_del1 (pool->pool_addr, i);
76 nat_add_del_ip4_pool_addrs (nat_ip4_pool_t * pool, argument
89 // pool->add_del_pool_addr_pre_cb (&addr, is_add, opaque);
91 if ((rv = nat_add_del_ip4_pool_addr (pool, addr, is_add)) != 0)
95 // pool
112 nat_alloc_ip4_addr_and_port_cb_default(nat_ip4_pool_t * pool, u32 fib_index, u32 thread_index, u32 nat_thread_index, u16 port_per_thread, u16 protocol, nat_ip4_addr_port_t * out) argument
195 nat_alloc_ip4_addr_and_port(nat_ip4_pool_t * pool, u32 fib_index, u32 thread_index, u32 nat_thread_index, u16 port_per_thread, u16 protocol, nat_ip4_addr_port_t * out) argument
211 nat_free_ip4_addr_and_port(nat_ip4_pool_t * pool, u32 thread_index, u16 protocol, nat_ip4_addr_port_t * addr_port) argument
[all...]
/vpp/src/plugins/ioam/export-vxlan-gpe/
H A Dvxlan_gpe_ioam_export_thread.c19 #include <vppinfra/pool.h>
/vpp/src/plugins/nsh/nsh-md2-ioam/export-nsh-md2-ioam/
H A Dnsh_md2_ioam_export_thread.c19 #include <vppinfra/pool.h>
/vpp/src/plugins/ioam/export/
H A Dioam_export_thread.c19 #include <vppinfra/pool.h>
/vpp/src/vlib/
H A Dtrace.h43 #include <vppinfra/pool.h>
H A Dlex.h21 #include <vppinfra/pool.h>
/vpp/src/plugins/ioam/ipfixcollector/
H A Dipfixcollector.h19 #include <vppinfra/pool.h>
70 /** Hash table to map IP-FIX setid to a client registration pool. SetId is
/vpp/src/vlibmemory/
H A Dmemory_shared.c47 vl_msg_api_alloc_internal (svm_region_t * vlib_rp, int nbytes, int pool, argument
64 ASSERT (pool == 0 || vlib_get_thread_index () == 0);
89 ap = pool ? shmem_hdr->vl_rings : shmem_hdr->client_rings;
99 if (pool == 0)
121 ("garbage collect pool %d ring %d index %d", pool, i,
135 /* yes, loser; try next larger pool */
137 if (pool == 0)
155 if (pool == 0)
201 int pool; local
226 int pool; local
[all...]
/vpp/src/svm/
H A Dsvm_test.c41 #include <vppinfra/pool.h>
/vpp/src/vnet/session/
H A Dsession_cli.c304 session_t *pool, *s; local
308 pool = smm->wrk[thread_index].sessions;
310 if (!pool_elts (pool))
319 pool_elts (pool));
323 if (pool_elts (pool) > 50)
327 thread_index, pool_elts (pool));
339 pool_foreach(s, pool, ({
351 pool_elts (pool) - n_closed);
354 thread_index, pool_elts (pool) - n_closed, n_closed);
385 session_t *pool, * local
[all...]
H A Dmma_template.h19 #include <vppinfra/pool.h>
58 /** Rules pool */
/vpp/extras/deprecated/vppinfra/
H A Dcuckoo_8_8.h28 #include <vppinfra/pool.h>
/vpp/src/vnet/ip/reass/
H A Dip6_sv_reass.c113 ip6_sv_reass_t *pool; member in struct:__anon28
270 pool_elt_at_index (rt->pool, reass->lru_prev);
276 pool_elt_at_index (rt->pool, reass->lru_next);
279 if (rt->lru_first == reass - rt->pool)
283 if (rt->lru_last == reass - rt->pool)
287 pool_put (rt->pool, reass);
315 reass = pool_elt_at_index (rt->pool, kv->v.reass_index);
332 reass = pool_elt_at_index (rt->pool, rt->lru_first);
336 pool_get (rt->pool, reass);
347 ip6_sv_reass_t *lru_last = pool_elt_at_index (rt->pool, r
[all...]
H A Dip4_sv_reass.c116 ip4_sv_reass_t *pool; member in struct:__anon10
274 pool_elt_at_index (rt->pool, reass->lru_prev);
280 pool_elt_at_index (rt->pool, reass->lru_next);
283 if (rt->lru_first == reass - rt->pool)
287 if (rt->lru_last == reass - rt->pool)
291 pool_put (rt->pool, reass);
317 reass = pool_elt_at_index (rt->pool, kv->v.reass_index);
334 reass = pool_elt_at_index (rt->pool, rt->lru_first);
338 pool_get (rt->pool, reass);
348 ip4_sv_reass_t *lru_last = pool_elt_at_index (rt->pool, r
[all...]
/vpp/src/plugins/nat/dslite/
H A Ddslite_api.c123 rv = nat_add_del_ip4_pool_addrs (&dm->pool, this_addr, count, mp->is_add, 0);
158 vec_foreach (a, dm->pool.pool_addr)

Completed in 20 milliseconds

1234