Home
last modified time | relevance | path

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

/lk-master/lib/pool/include/lib/
A Dpool.h92 #define POOL_STORAGE_SIZE(object_size, object_align, object_count) \ argument
93 ((object_count) * POOL_PADDED_OBJECT_SIZE(object_size, object_align))
98 #define DEFINE_POOL_STORAGE(name, object_size, object_align, object_count) \ argument
99 uint8_t name[POOL_STORAGE_SIZE(object_size, object_align, object_count)] \
112 size_t object_count,
133 #define TYPED_POOL_STORAGE_SIZE(type, object_count) \ argument
134 POOL_STORAGE_SIZE(sizeof(type), __alignof(type), object_count)
/lk-master/lib/pool/
A Dpool.c9 size_t object_count, in pool_init() argument
12 assert(!object_count || storage); in pool_init()
16 for (size_t i = 0; i < object_count; ++i) { in pool_init()

Completed in 2 milliseconds