Home
last modified time | relevance | path

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

/f-stack/app/micro_thread/
H A Dheap.h123 HeapEntry** new_list = (HeapEntry**)malloc(sizeof(HeapEntry*) * (size+1)); in HeapResize() local
124 if (NULL == new_list) { in HeapResize()
127 memset(new_list, 0, sizeof(HeapEntry*) * (size+1)); in HeapResize()
128 memcpy(new_list, _list, sizeof(HeapEntry*) * (_max+1)); in HeapResize()
130 _list = new_list; in HeapResize()
/f-stack/freebsd/netinet/
H A Dsctp_auth.c93 if (new_list == NULL) in sctp_copy_chunklist()
96 memcpy(new_list, list, sizeof(*new_list)); in sctp_copy_chunklist()
98 return (new_list); in sctp_copy_chunklist()
635 alloc_size = sizeof(*new_list) + num_hmacs * sizeof(new_list->hmac[0]); in sctp_alloc_hmaclist()
638 if (new_list == NULL) { in sctp_alloc_hmaclist()
643 new_list->num_algo = 0; in sctp_alloc_hmaclist()
644 return (new_list); in sctp_alloc_hmaclist()
693 if (new_list == NULL) in sctp_copy_hmaclist()
700 return (new_list); in sctp_copy_hmaclist()
709 if (new_list == NULL) in sctp_default_supported_hmaclist()
[all …]
/f-stack/freebsd/kern/
H A Dsubr_eventhandler.c73 struct eventhandler_list *list, *new_list; in eventhandler_find_or_create_list() local
82 new_list = malloc(sizeof(*new_list) + strlen(name) + 1, in eventhandler_find_or_create_list()
89 free(new_list, M_EVENTHANDLER); in eventhandler_find_or_create_list()
92 list = new_list; in eventhandler_find_or_create_list()
/f-stack/dpdk/drivers/net/qede/base/
H A Dbcm_osal.h190 #define OSAL_LIST_SPLICE_INIT(new_list, list) nothing argument
191 #define OSAL_LIST_SPLICE_TAIL_INIT(new_list, list) nothing argument