Home
last modified time | relevance | path

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

/hal_stm32-latest/lib/stm32wb0/BLE_TransparentMode/STM32_BLE/App/
Ddm_alloc.c226 dm_free_header_t *entry_p, *best_entry_p; in dm_alloc() local
228 best_entry_p = NULL; in dm_alloc()
249 if ((best_entry_p == NULL) || in dm_alloc()
250 ((best_entry_p != NULL) && in dm_alloc()
251 (best_entry_p->buffer_size > entry_p->buffer_size))) in dm_alloc()
253 best_entry_p = entry_p; in dm_alloc()
259 if (best_entry_p != NULL) in dm_alloc()
266 db_extract_from_free_list(best_entry_p); in dm_alloc()
272 best_entry_p->buffer_size = dm_slice(best_entry_p, alloc_size); in dm_alloc()
274 alloc_entry_p = (db_alloc_header_t *)best_entry_p; in dm_alloc()
[all …]