Home
last modified time | relevance | path

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

/Linux-v5.10/samples/bpf/
Dxsk_fwd.c115 u64 n_slabs_reserved; member
132 u64 n_slabs, n_slabs_reserved, n_buffers, n_buffers_reserved; in bpool_init() local
147 n_slabs_reserved = params->n_users_max * 2; in bpool_init()
149 n_buffers_reserved = n_slabs_reserved * params->n_buffers_per_slab; in bpool_init()
152 slabs_reserved_size = n_slabs_reserved * sizeof(u64 *); in bpool_init()
179 bp->n_slabs_reserved = n_slabs_reserved; in bpool_init()
186 for (i = 0; i < n_slabs_reserved; i++) in bpool_init()
189 bp->n_slabs_reserved_available = n_slabs_reserved; in bpool_init()