Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/mem_slab/mslab_api/src/
Dtest_mslab_api.c122 zassert_equal(k_mem_slab_num_free_get(pslab), BLK_NUM - 1 - i); in tmslab_used_get()
128 zassert_equal(k_mem_slab_num_free_get(pslab), 0); in tmslab_used_get()
135 zassert_equal(k_mem_slab_num_free_get(pslab), 0); in tmslab_used_get()
140 zassert_equal(k_mem_slab_num_free_get(pslab), i + 1); in tmslab_used_get()
203 zassert_equal(k_mem_slab_num_free_get(&mslab), BLK_NUM); in ZTEST()
218 zassert_equal(k_mem_slab_num_free_get(&kmslab), BLK_NUM); in ZTEST()
/Zephyr-latest/subsys/net/lib/shell/
Dmem.c66 slab, slab->info.num_blocks, k_mem_slab_num_free_get(slab)); in context_info()
120 rx, rx->info.num_blocks, k_mem_slab_num_free_get(rx)); in cmd_net_mem()
123 tx, tx->info.num_blocks, k_mem_slab_num_free_get(tx)); in cmd_net_mem()
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/
Dmempool.c217 return k_mem_slab_num_free_get(&mslab->z_mslab); in osMemoryPoolGetSpace()
/Zephyr-latest/subsys/net/ip/
Dnet_pkt.c560 slab2str(pkt->slab), k_mem_slab_num_free_get(pkt->slab),
641 slab2str(pkt->slab), k_mem_slab_num_free_get(pkt->slab),
861 k_mem_slab_num_free_get(&tx_pkts),
862 k_mem_slab_num_free_get(&rx_pkts),
2392 k_mem_slab_num_free_get(&rx_pkts),
2393 (size_t)(k_mem_slab_num_free_get(&rx_pkts) *
2395 k_mem_slab_num_free_get(&tx_pkts),
2396 (size_t)(k_mem_slab_num_free_get(&tx_pkts) *
/Zephyr-latest/drivers/i2s/
Di2s_mcux_flexcomm.c649 num_of_bufs = k_mem_slab_num_free_get(stream->cfg.mem_slab); in i2s_mcux_rx_stream_start()
Di2s_mcux_sai.c782 num_of_bufs = k_mem_slab_num_free_get(strm->cfg.mem_slab); in i2s_rx_stream_start()
/Zephyr-latest/subsys/bluetooth/mesh/
Dtransport.c1303 if (k_mem_slab_num_free_get(&segs) < 1) { in seg_rx_alloc()
/Zephyr-latest/subsys/net/lib/mqtt_sn/
Dmqtt_sn.c341 LOG_DBG("Free GW slots: %d", k_mem_slab_num_free_get(&gateways)); in mqtt_sn_gw_create()
/Zephyr-latest/include/zephyr/
Dkernel.h5404 static inline uint32_t k_mem_slab_num_free_get(struct k_mem_slab *slab) in k_mem_slab_num_free_get() function
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_message_handling.c260 k_mem_slab_num_free_get(&body_encode_buffer_slab), in log_buffer_usage()