Home
last modified time | relevance | path

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

/Linux-v5.10/samples/bpf/
Dxsk_fwd.c86 u32 n_buffers_per_slab; member
145 n_slabs = (params->n_buffers + params->n_buffers_per_slab - 1) / in bpool_init()
146 params->n_buffers_per_slab; in bpool_init()
148 n_buffers = n_slabs * params->n_buffers_per_slab; in bpool_init()
149 n_buffers_reserved = n_slabs_reserved * params->n_buffers_per_slab; in bpool_init()
183 bp->slabs[i] = &bp->buffers[i * params->n_buffers_per_slab]; in bpool_init()
188 params->n_buffers_per_slab]; in bpool_init()
259 return bp->params.n_buffers_per_slab; in bcache_slab_size()
321 u64 n_buffers_per_slab = bp->params.n_buffers_per_slab; in bcache_cons_check() local
354 bc->n_buffers_cons = n_buffers_per_slab; in bcache_cons_check()
[all …]