Home
last modified time | relevance | path

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

/linux/samples/bpf/
A Dxsk_fwd.c119 u64 n_slabs_reserved_available; member
189 bp->n_slabs_reserved_available = n_slabs_reserved; in bpool_init()
276 if (bp->n_slabs_reserved_available == 0) { in bcache_init()
282 bc->slab_cons = bp->slabs_reserved[bp->n_slabs_reserved_available - 1]; in bcache_init()
283 bc->slab_prod = bp->slabs_reserved[bp->n_slabs_reserved_available - 2]; in bcache_init()
284 bp->n_slabs_reserved_available -= 2; in bcache_init()
304 bp->slabs_reserved[bp->n_slabs_reserved_available] = bc->slab_prod; in bcache_free()
305 bp->slabs_reserved[bp->n_slabs_reserved_available + 1] = bc->slab_cons; in bcache_free()
306 bp->n_slabs_reserved_available += 2; in bcache_free()

Completed in 4 milliseconds