Home
last modified time | relevance | path

Searched refs:k_mem_slab_init (Results 1 – 16 of 16) sorted by relevance

/Zephyr-latest/samples/boards/enjoydigital/litex/i2s/src/
Dmain.c42 k_mem_slab_init(&i2s_rx_mem_slab, rx_buffers, AUDIO_FRAME_BUF_BYTES, in init()
67 k_mem_slab_init(&i2s_tx_mem_slab, tx_buffer, AUDIO_FRAME_BUF_BYTES, in init()
/Zephyr-latest/tests/kernel/mem_slab/mslab_api/src/
Dtest_mslab_api.c21 k_mem_slab_init(&mslab, tslab, BLK_SIZE, BLK_NUM); in mslab_setup()
199 zassert_equal(k_mem_slab_init(&mslab, tslab, BLK_SIZE + 1, BLK_NUM), in ZTEST()
201 k_mem_slab_init(&mslab, tslab, BLK_SIZE, BLK_NUM); in ZTEST()
/Zephyr-latest/modules/openthread/platform/
Dmessagepool.c42 if (k_mem_slab_init(&message_pool, message_pool_buffer, aBufferSize,
/Zephyr-latest/subsys/demand_paging/backing_store/
Dram.c141 k_mem_slab_init(&backing_slabs, backing_store, CONFIG_MMU_PAGE_SIZE, in k_mem_paging_backing_store_init()
/Zephyr-latest/tests/kernel/mem_slab/mslab_threadsafe/src/
Dtest_mslab_threadsafe.c78 k_mem_slab_init(&mslab2, tslab, BLK_SIZE2, SLAB_BLOCKS); in ZTEST()
/Zephyr-latest/tests/benchmarks/thread_metric/src/
Dtm_porting_layer_zephyr.c195 status = k_mem_slab_init(&test_slab[pool_id], &test_slab_buffer[pool_id][0], 128, 8); in tm_memory_pool_create()
/Zephyr-latest/tests/kernel/obj_tracking/src/
Dmain.c56 k_mem_slab_init(&slab, slab_buffer, 8, 4); in ZTEST()
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/
Dmempool.c71 int rc = k_mem_slab_init(&mslab->z_mslab, mslab->pool, block_size, block_count); in osMemoryPoolNew()
/Zephyr-latest/doc/kernel/memory_management/
Dslabs.rst71 It must then be initialized by calling :c:func:`k_mem_slab_init`.
81 k_mem_slab_init(&my_slab, my_slab_buffer, 400, 6);
/Zephyr-latest/subsys/mgmt/osdp/src/
Dosdp.c159 k_mem_slab_init(&pd->cmd.slab, pd->cmd.slab_buf, sizeof(union osdp_ephemeral_data), in osdp_build_ctx()
/Zephyr-latest/tests/kernel/obj_core/obj_core/src/
Dmain.c203 k_mem_slab_init(&slab2, slab2_buffer, 32, 8); in ZTEST()
/Zephyr-latest/kernel/
Dmem_slab.c171 int k_mem_slab_init(struct k_mem_slab *slab, void *buffer, in k_mem_slab_init() function
/Zephyr-latest/subsys/tracing/sysview/
DSYSVIEW_Zephyr.txt89 84 k_mem_slab_init slab=%I, buffer=%p, bock_size=%u, num_blocks=%u | Returns ErrCodePos…
/Zephyr-latest/subsys/logging/frontends/
Dlog_frontend_stmesp_demux.c185 err = k_mem_slab_init(&demux.mslab, slab_buf, in log_frontend_stmesp_demux_init()
/Zephyr-latest/subsys/fs/ext2/
Dext2_impl.c155 k_mem_slab_init(&ext2_block_struct_slab, __ext2_block_struct_buffer, in ext2_init_blocks_slab()
158 k_mem_slab_init(&ext2_block_memory_slab, __ext2_block_memory_buffer, fs->block_size, in ext2_init_blocks_slab()
/Zephyr-latest/include/zephyr/
Dkernel.h5320 int k_mem_slab_init(struct k_mem_slab *slab, void *buffer,