Searched refs:num_used (Results 1 – 5 of 5) sorted by relevance
12 if (slab->info.num_used >= slab->info.num_blocks) { in k_mem_slab_alloc()20 slab->info.num_used++; in k_mem_slab_alloc()27 slab->info.num_used--; in k_mem_slab_free()
51 ptr->free_bytes = (slab->info.num_blocks - slab->info.num_used) * in k_mem_slab_stats_query()53 ptr->allocated_bytes = slab->info.num_used * slab->info.block_size; in k_mem_slab_stats_query()75 slab->info.max_used = slab->info.num_used; in k_mem_slab_stats_reset()179 slab->info.num_used = 0U; in k_mem_slab_init()232 slab->info.num_used++; in k_mem_slab_alloc()234 slab->info.num_used == slab->info.num_blocks) || in k_mem_slab_alloc()239 slab->info.max_used = MAX(slab->info.num_used, in k_mem_slab_alloc()295 slab->info.num_used--; in k_mem_slab_free()310 stats->allocated_bytes = slab->info.num_used * slab->info.block_size; in k_mem_slab_runtime_stats_get()311 stats->free_bytes = (slab->info.num_blocks - slab->info.num_used) * in k_mem_slab_runtime_stats_get()[all …]
580 zassert_equal(raw.num_used, expected->num_used, in test_mem_slab_raw()582 str, expected->num_used, raw.num_used); in test_mem_slab_raw()616 .num_blocks = 4, .block_size = 32, .num_used = 0, in ZTEST()648 raw.num_used++; in ZTEST()663 raw.num_used++; in ZTEST()676 raw.num_used--; in ZTEST()686 raw.max_used = raw.num_used; in ZTEST()
5205 uint32_t num_used; member5371 return slab->info.num_used; in k_mem_slab_num_used_get()5406 return slab->info.num_blocks - slab->info.num_used; in k_mem_slab_num_free_get()
252 while (tx_frame_slab.info.num_used == CONFIG_ETH_XMC4XXX_TX_FRAME_POOL_SIZE) { in eth_xmc4xxx_send()