Home
last modified time | relevance | path

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

/linux/tools/mm/
H A Dslabinfo.c475 unsigned long total_alloc; in slab_stats() local
482 total_alloc = s->alloc_fastpath + s->alloc_slowpath; in slab_stats()
485 if (!total_alloc) in slab_stats()
493 s->alloc_fastpath * 100 / total_alloc, in slab_stats()
496 total_alloc - s->alloc_fastpath, s->free_slowpath, in slab_stats()
497 (total_alloc - s->alloc_fastpath) * 100 / total_alloc, in slab_stats()
501 s->alloc_slab * 100 / total_alloc, in slab_stats()
506 (s->deactivate_to_head + s->deactivate_to_tail) * 100 / total_alloc, in slab_stats()
510 s->alloc_from_partial * 100 / total_alloc, in slab_stats()
515 s->cpu_partial_alloc * 100 / total_alloc, in slab_stats()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c461 int total_alloc = 0; in mlx5e_refill_rx_wqes() local
472 mlx5e_free_rx_wqes(rq, ix + total_alloc, refill); in mlx5e_refill_rx_wqes()
473 refill_alloc = mlx5e_alloc_rx_wqes(rq, ix + total_alloc, refill); in mlx5e_refill_rx_wqes()
477 total_alloc += refill_alloc; in mlx5e_refill_rx_wqes()
481 return total_alloc; in mlx5e_refill_rx_wqes()
484 mlx5e_free_rx_wqes(rq, ix, total_alloc + refill_alloc); in mlx5e_refill_rx_wqes()
486 for (int i = 0; i < total_alloc + refill; i++) { in mlx5e_refill_rx_wqes()
/linux/kernel/trace/
H A Dring_buffer.c7707 unsigned long total_alloc; in test_ringbuffer() local
7720 total_alloc = data->bytes_alloc + data->bytes_alloc_nested; in test_ringbuffer()
7729 pr_info(" alloced bytes: %ld\n", total_alloc); in test_ringbuffer()
7768 if (RB_WARN_ON(buffer, total_len != total_alloc || in test_ringbuffer()