Home
last modified time | relevance | path

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

/AliOS-Things-master/components/py_engine/engine/extmod/nimble/nimble/
A Dnimble_npl_os.c67 } mp_bluetooth_nimble_malloc_t; typedef
71 size += sizeof(mp_bluetooth_nimble_malloc_t); in m_malloc_bluetooth()
72 mp_bluetooth_nimble_malloc_t *alloc = m_malloc0(size); in m_malloc_bluetooth()
82 STATIC mp_bluetooth_nimble_malloc_t* get_nimble_malloc(void *ptr) { in get_nimble_malloc()
83 return (mp_bluetooth_nimble_malloc_t*)((uintptr_t)ptr - sizeof(mp_bluetooth_nimble_malloc_t)); in get_nimble_malloc()
87 mp_bluetooth_nimble_malloc_t *alloc = get_nimble_malloc(ptr); in m_free_bluetooth()
107 mp_bluetooth_nimble_malloc_t *alloc = MP_STATE_PORT(bluetooth_nimble_memory); in is_valid_nimble_malloc()
153 mp_bluetooth_nimble_malloc_t *alloc = get_nimble_malloc(ptr); in nimble_realloc()
154 size_t old_size = alloc->size - sizeof(mp_bluetooth_nimble_malloc_t); in nimble_realloc()

Completed in 3 milliseconds