Searched refs:mp_id (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/ |
D | mempool.c | 29 static void mempool_common_tests(osMemoryPoolId_t mp_id, in mempool_common_tests() argument 41 name = osMemoryPoolGetName(mp_id); in mempool_common_tests() 47 zassert_equal(osMemoryPoolGetCapacity(mp_id), MAX_BLOCKS, in mempool_common_tests() 53 zassert_equal(osMemoryPoolGetBlockSize(mp_id), in mempool_common_tests() 58 zassert_equal(osMemoryPoolGetCount(mp_id), 0, in mempool_common_tests() 60 zassert_equal(osMemoryPoolGetSpace(mp_id), MAX_BLOCKS, in mempool_common_tests() 64 addr_list[i] = (struct mem_block *)osMemoryPoolAlloc(mp_id, in mempool_common_tests() 70 zassert_equal(osMemoryPoolGetCount(mp_id), MAX_BLOCKS, in mempool_common_tests() 72 zassert_equal(osMemoryPoolGetSpace(mp_id), 0, in mempool_common_tests() 78 addr_list[i] = (struct mem_block *)osMemoryPoolAlloc(mp_id, in mempool_common_tests() [all …]
|
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/ |
D | mempool.c | 94 void *osMemoryPoolAlloc(osMemoryPoolId_t mp_id, uint32_t timeout) in osMemoryPoolAlloc() argument 96 struct cv2_mslab *mslab = (struct cv2_mslab *)mp_id; in osMemoryPoolAlloc() 133 osStatus_t osMemoryPoolFree(osMemoryPoolId_t mp_id, void *block) in osMemoryPoolFree() argument 135 struct cv2_mslab *mslab = (struct cv2_mslab *)mp_id; in osMemoryPoolFree() 154 const char *osMemoryPoolGetName(osMemoryPoolId_t mp_id) in osMemoryPoolGetName() argument 156 struct cv2_mslab *mslab = (struct cv2_mslab *)mp_id; in osMemoryPoolGetName() 168 uint32_t osMemoryPoolGetCapacity(osMemoryPoolId_t mp_id) in osMemoryPoolGetCapacity() argument 170 struct cv2_mslab *mslab = (struct cv2_mslab *)mp_id; in osMemoryPoolGetCapacity() 182 uint32_t osMemoryPoolGetBlockSize(osMemoryPoolId_t mp_id) in osMemoryPoolGetBlockSize() argument 184 struct cv2_mslab *mslab = (struct cv2_mslab *)mp_id; in osMemoryPoolGetBlockSize() [all …]
|
/Zephyr-latest/include/zephyr/portability/ |
D | cmsis_os2.h | 648 const char *osMemoryPoolGetName(osMemoryPoolId_t mp_id); 654 void *osMemoryPoolAlloc(osMemoryPoolId_t mp_id, uint32_t timeout); 660 osStatus_t osMemoryPoolFree(osMemoryPoolId_t mp_id, void *block); 665 uint32_t osMemoryPoolGetCapacity(osMemoryPoolId_t mp_id); 670 uint32_t osMemoryPoolGetBlockSize(osMemoryPoolId_t mp_id); 675 uint32_t osMemoryPoolGetCount(osMemoryPoolId_t mp_id); 680 uint32_t osMemoryPoolGetSpace(osMemoryPoolId_t mp_id); 685 osStatus_t osMemoryPoolDelete(osMemoryPoolId_t mp_id);
|
/Zephyr-latest/doc/services/portability/ |
D | cmsis_rtos_v2.rst | 60 parameter mp_id is in an invalid memory pool state) is 65 parameter mp_id is in an invalid memory pool state) is
|