Home
last modified time | relevance | path

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

/linux/lib/
H A Ddebugobjects.c137 static __always_inline unsigned int pool_count(struct obj_pool *pool) in pool_count() function
144 return pool_count(pool) < pool->min_cnt; in pool_should_refill()
149 return pool_count(pool) < pool->min_cnt / 2; in pool_must_refill()
272 if (pool_count(&pool_to_free)) { in pcpu_alloc()
340 if (!pool_count(&pool_to_free)) in fill_pool_from_freelist()
357 while (pool_should_refill(&pool_global) && pool_count(&pool_to_free)) { in fill_pool_from_freelist()
486 if (!pool_count(&pool_to_free)) in free_obj_work()
533 if (!READ_ONCE(obj_freeing) && pool_count(&pool_to_free)) { in free_object()
1120 if (!READ_ONCE(obj_freeing) && pool_count(&pool_to_free)) { in __debug_check_no_obj_freed()
1156 seq_printf(m, "pool_free : %u\n", pool_count(&pool_global) + pcp_free); in debug_stats_show()
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_buffers.c109 unsigned int pool_count; member
631 pms = kcalloc(mlxsw_sp->sb_vals->pool_count, sizeof(*pms), in mlxsw_sp_sb_port_init()
657 prs = kcalloc(mlxsw_sp->sb_vals->pool_count, sizeof(*prs), in mlxsw_sp_sb_ports_init()
1076 for (i = 0; i < mlxsw_sp->sb_vals->pool_count; i++) { in mlxsw_sp_sb_pms_init()
1168 for (i = 0; i < mlxsw_sp->sb_vals->pool_count; ++i) { in mlxsw_sp_pool_count()
1180 .pool_count = ARRAY_SIZE(mlxsw_sp1_sb_pool_dess),
1196 .pool_count = ARRAY_SIZE(mlxsw_sp2_sb_pool_dess),
1284 mlxsw_sp->sb_vals->pool_count); in mlxsw_sp_buffers_init()
1659 for (i = 0; i < mlxsw_sp->sb_vals->pool_count; i++) { in mlxsw_sp_sb_occ_snapshot()
1737 for (i = 0; i < mlxsw_sp->sb_vals->pool_count; i++) { in mlxsw_sp_sb_occ_max_clear()
/linux/net/devlink/
H A Dsb.c347 u16 pool_count = devlink_sb_pool_count(devlink_sb); in __sb_pool_get_dumpit() local
351 for (pool_index = 0; pool_index < pool_count; pool_index++) { in __sb_pool_get_dumpit()
550 u16 pool_count = devlink_sb_pool_count(devlink_sb); in __sb_port_pool_get_dumpit() local
556 for (pool_index = 0; pool_index < pool_count; pool_index++) { in __sb_port_pool_get_dumpit()
/linux/drivers/net/ethernet/ibm/
H A Dibmveth.h106 static int pool_count[] = { 256, 512, 256, 256, 256 }; variable
H A Dibmveth.c1714 memcpy(pool_count, pool_count_cmo, sizeof(pool_count)); in ibmveth_probe()
1721 pool_count[i], pool_size[i], in ibmveth_probe()
/linux/drivers/s390/block/
H A Ddasd_eckd.h458 __u16 pool_count; /* Count of extent pools returned - Max: 448 */ member
H A Ddasd_eckd.c1750 for (i = 0; i < lcq->pool_count; i++) { in dasd_eckd_cpy_ext_pool_data()