Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/heap/
Dheap_caps_init.c209 heap_t *p_new = heap_caps_malloc(sizeof(heap_t), MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT); in heap_caps_add_region_with_caps() local
210 if (p_new == NULL) { in heap_caps_add_region_with_caps()
214 memcpy(p_new->caps, caps, sizeof(p_new->caps)); in heap_caps_add_region_with_caps()
215 p_new->start = start; in heap_caps_add_region_with_caps()
216 p_new->end = end; in heap_caps_add_region_with_caps()
217 MULTI_HEAP_LOCK_INIT(&p_new->heap_mux); in heap_caps_add_region_with_caps()
218 p_new->heap = multi_heap_register((void *)start, end - start); in heap_caps_add_region_with_caps()
219 SLIST_NEXT(p_new, next) = NULL; in heap_caps_add_region_with_caps()
220 if (p_new->heap == NULL) { in heap_caps_add_region_with_caps()
224 multi_heap_set_lock(p_new->heap, &p_new->heap_mux); in heap_caps_add_region_with_caps()
[all …]
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/gatt/
Dgatt_utils.c598 BOOLEAN gatt_add_a_srv_to_list(tGATT_SRV_LIST_INFO *p_list, tGATT_SRV_LIST_ELEM *p_new) in gatt_add_a_srv_to_list() argument
602 if (!p_new) { in gatt_add_a_srv_to_list()
610 p_list->p_last = p_new; in gatt_add_a_srv_to_list()
611 p_new->p_next = in gatt_add_a_srv_to_list()
612 p_new->p_prev = NULL; in gatt_add_a_srv_to_list()
617 p_list->p_last->p_next = p_new; in gatt_add_a_srv_to_list()
618 p_new->p_prev = p_list->p_last; in gatt_add_a_srv_to_list()
619 p_new->p_next = NULL; in gatt_add_a_srv_to_list()
620 p_list->p_last = p_new; in gatt_add_a_srv_to_list()
623 if (p_new->s_hdl < p_old->s_hdl) { in gatt_add_a_srv_to_list()
[all …]
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/av/
Dbta_av_main.c1129 BT_HDR *p_new; in bta_av_dup_audio_buf() local
1144 p_new = (BT_HDR *)osi_malloc(copy_size); in bta_av_dup_audio_buf()
1145 if (p_new) { in bta_av_dup_audio_buf()
1146 memcpy(p_new, p_buf, copy_size); in bta_av_dup_audio_buf()
1147 list_append(p_scbi->a2d_list, p_new); in bta_av_dup_audio_buf()
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/gatt/include/
Dgatt_int.h645 extern BOOLEAN gatt_add_a_srv_to_list(tGATT_SRV_LIST_INFO *p_list, tGATT_SRV_LIST_ELEM *p_new);
647 extern BOOLEAN gatt_add_an_item_to_list(tGATT_HDL_LIST_INFO *p_list, tGATT_HDL_LIST_ELEM *p_new);