Home
last modified time | relevance | path

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

/mbedtls-latest/library/
Dmemory_buffer_alloc.c40 memory_header *next_free; member
82 (size_t) hdr->prev_free, (size_t) hdr->next_free); in debug_header()
108 cur = cur->next_free; in debug_chain()
143 if (hdr->prev_free != NULL && hdr->prev_free == hdr->next_free) { in verify_header()
234 cur = cur->next_free; in buffer_alloc_calloc()
262 cur->prev_free->next_free = cur->next_free; in buffer_alloc_calloc()
264 heap.first_free = cur->next_free; in buffer_alloc_calloc()
267 if (cur->next_free != NULL) { in buffer_alloc_calloc()
268 cur->next_free->prev_free = cur->prev_free; in buffer_alloc_calloc()
272 cur->next_free = NULL; in buffer_alloc_calloc()
[all …]
Dpsa_crypto_slot_management.c528 size_t next_free = slot_idx + 1 + slot->var.free.next_free_relative_to_next; in psa_allocate_volatile_key_slot() local
529 if (next_free >= key_slice_length(slice_idx)) { in psa_allocate_volatile_key_slot()
530 next_free = FREE_SLOT_INDEX_NONE; in psa_allocate_volatile_key_slot()
532 global_data.first_free_slot_index[slice_idx] = next_free; in psa_allocate_volatile_key_slot()
581 size_t next_free = global_data.first_free_slot_index[slice_idx]; in psa_free_key_slot() local
582 if (next_free >= key_slice_length(slice_idx)) { in psa_free_key_slot()
585 next_free = key_slice_length(slice_idx); in psa_free_key_slot()
589 (int32_t) next_free - (int32_t) slot_idx - 1; in psa_free_key_slot()