Home
last modified time | relevance | path

Searched refs:num_blks (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.7.0/include/zephyr/sys/
Dmem_blocks.h128 #define _SYS_MEM_BLOCKS_DEFINE_WITH_EXT_BUF(name, blk_sz, num_blks, buf, mbmod) \ argument
130 num_blks, mbmod); \
132 .info = {num_blks, ilog2(blk_sz)}, \
150 #define _SYS_MEM_BLOCKS_DEFINE(name, blk_sz, num_blks, balign, mbmod) \ argument
153 _sys_mem_blocks_buf_##name[num_blks * WB_UP(blk_sz)]; \
154 _SYS_MEM_BLOCKS_DEFINE_WITH_EXT_BUF(name, blk_sz, num_blks, \
170 #define SYS_MEM_BLOCKS_DEFINE(name, blk_sz, num_blks, buf_align) \ argument
171 _SYS_MEM_BLOCKS_DEFINE(name, blk_sz, num_blks, buf_align,)
181 #define SYS_MEM_BLOCKS_DEFINE_STATIC(name, blk_sz, num_blks, buf_align) \ argument
182 _SYS_MEM_BLOCKS_DEFINE(name, blk_sz, num_blks, buf_align, static)
[all …]
/Zephyr-Core-3.7.0/include/zephyr/rtio/
Drtio.h691 size_t num_blks = DIV_ROUND_UP(bytes, block_size); in rtio_block_pool_alloc()
692 int rc = sys_mem_blocks_alloc_contiguous(r->block_pool, num_blks, (void **)buf); in rtio_block_pool_alloc()
695 *buf_len = num_blks * block_size; in rtio_block_pool_alloc()
713 size_t num_blks = buf_len >> r->block_pool->info.blk_sz_shift; in rtio_block_pool_free()
715 sys_mem_blocks_free_contiguous(r->block_pool, buf, num_blks); in rtio_block_pool_free()
825 #define RTIO_DEFINE_WITH_MEMPOOL(name, sq_sz, cq_sz, num_blks, blk_size, balign) \ argument
828 Z_RTIO_BLOCK_POOL_DEFINE(name##_block_pool, blk_size, num_blks, balign); \