52 __vlib_refcount_resize(per_cpu,
clib_max(counter_index + 16, per_cpu->
length * 2));
#define vec_validate(V, I)
Make sure vector is long enough for given index (no header, unspecified alignment) ...
#define CLIB_CACHE_LINE_ALIGN_MARK(mark)
u64 vlib_refcount_get(vlib_refcount_t *r, u32 index)
static_always_inline void vlib_refcount_init(vlib_refcount_t *r)
#define static_always_inline
static u32 counter_index(vlib_main_t *vm, vlib_error_t e)
static vlib_thread_main_t * vlib_get_thread_main()
vlib_refcount_per_cpu_t * per_cpu
static_always_inline void vlib_refcount_add(vlib_refcount_t *r, u32 cpu_index, u32 counter_index, i32 v)