Home
last modified time | relevance | path

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

/openbmc/linux/tools/mm/
H A Dslabinfo.c472 unsigned long total_alloc; in slab_stats() local
479 total_alloc = s->alloc_fastpath + s->alloc_slowpath; in slab_stats()
482 if (!total_alloc) in slab_stats()
490 s->alloc_fastpath * 100 / total_alloc, in slab_stats()
493 total_alloc - s->alloc_fastpath, s->free_slowpath, in slab_stats()
494 (total_alloc - s->alloc_fastpath) * 100 / total_alloc, in slab_stats()
498 s->alloc_slab * 100 / total_alloc, in slab_stats()
503 (s->deactivate_to_head + s->deactivate_to_tail) * 100 / total_alloc, in slab_stats()
507 s->alloc_from_partial * 100 / total_alloc, in slab_stats()
512 s->cpu_partial_alloc * 100 / total_alloc, in slab_stats()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c460 int total_alloc = 0; in mlx5e_refill_rx_wqes() local
471 mlx5e_free_rx_wqes(rq, ix + total_alloc, refill); in mlx5e_refill_rx_wqes()
472 refill_alloc = mlx5e_alloc_rx_wqes(rq, ix + total_alloc, refill); in mlx5e_refill_rx_wqes()
476 total_alloc += refill_alloc; in mlx5e_refill_rx_wqes()
480 return total_alloc; in mlx5e_refill_rx_wqes()
483 mlx5e_free_rx_wqes(rq, ix, total_alloc + refill_alloc); in mlx5e_refill_rx_wqes()
485 for (int i = 0; i < total_alloc + refill; i++) { in mlx5e_refill_rx_wqes()
/openbmc/linux/kernel/trace/
H A Dring_buffer.c6157 unsigned long total_alloc; in test_ringbuffer() local
6170 total_alloc = data->bytes_alloc + data->bytes_alloc_nested; in test_ringbuffer()
6179 pr_info(" alloced bytes: %ld\n", total_alloc); in test_ringbuffer()
6218 if (RB_WARN_ON(buffer, total_len != total_alloc || in test_ringbuffer()