Home
last modified time | relevance | path

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

/hal_stm32-latest/lib/stm32wb0/BLE_TransparentMode/STM32_BLE/App/
Ddm_alloc.c32 #define DM_SLICE_THRESHOLD (3 * sizeof(db_alloc_header_t))
49 } db_alloc_header_t; typedef
230 alloc_size = (uint16_t)(ALIGN_UPTO_32BITS(size) + sizeof(db_alloc_header_t)); in dm_alloc()
261 db_alloc_header_t *alloc_entry_p; in dm_alloc()
274 alloc_entry_p = (db_alloc_header_t *)best_entry_p; in dm_alloc()
319 db_alloc_header_t *allocated_entry_p = (db_alloc_header_t *)(buffer32_p - 1); in dm_realloc()
321 total_alloc_size = ALIGN_UPTO_32BITS(size) + sizeof(db_alloc_header_t); in dm_realloc()
334 … = &allocated_entry_p->buffer_a[(allocated_entry_p->buffer_size - sizeof(db_alloc_header_t)) >> 2]; in dm_realloc()
367 uint16_t old_data_size = allocated_entry_p->buffer_size - sizeof(db_alloc_header_t); in dm_realloc()