Searched refs:newNode (Results 1 – 3 of 3) sorted by relevance
84 TpduRecvBuff_List_t* newNode = NULL; in DataMgmt_StoreDataInList() local89 newNode = (TpduRecvBuff_List_t*)malloc(sizeof(TpduRecvBuff_List_t)); in DataMgmt_StoreDataInList()90 if (newNode == NULL) { in DataMgmt_StoreDataInList()93 newNode->pNext = NULL; in DataMgmt_StoreDataInList()94 newNode->tData.len = data_len; in DataMgmt_StoreDataInList()95 newNode->tData.data = (uint8_t*)malloc(ATP.ifsc * sizeof(uint8_t)); in DataMgmt_StoreDataInList()96 if (newNode->tData.data == NULL) { in DataMgmt_StoreDataInList()97 free(newNode); in DataMgmt_StoreDataInList()100 memcpy(newNode->tData.data, pbuff, data_len); in DataMgmt_StoreDataInList()104 head = newNode; in DataMgmt_StoreDataInList()[all …]
82 phNxpEse_sCoreRecvBuff_List_t* newNode = NULL; in phNxpEse_StoreDatainList() local84 newNode = (phNxpEse_sCoreRecvBuff_List_t*)phNxpEse_memalloc( in phNxpEse_StoreDatainList()86 if (newNode == NULL) { in phNxpEse_StoreDatainList()89 newNode->pNext = NULL; in phNxpEse_StoreDatainList()90 newNode->tData.wLen = data_len; in phNxpEse_StoreDatainList()91 phNxpEse_memcpy(newNode->tData.sbuffer, pbuff, data_len); in phNxpEse_StoreDatainList()94 head = newNode; in phNxpEse_StoreDatainList()95 current = newNode; in phNxpEse_StoreDatainList()97 current->pNext = newNode; in phNxpEse_StoreDatainList()98 current = newNode; in phNxpEse_StoreDatainList()
90 phNxpEse_sCoreRecvBuff_List_t* newNode = NULL; in phNxpEse_StoreDatainList() local92 newNode = (phNxpEse_sCoreRecvBuff_List_t*)phNxpEse_memalloc( in phNxpEse_StoreDatainList()94 if (newNode == NULL) { in phNxpEse_StoreDatainList()98 newNode->pNext = NULL; in phNxpEse_StoreDatainList()99 newNode->tData.wLen = data_len; in phNxpEse_StoreDatainList()100 phNxpEse_memcpy(newNode->tData.sbuffer, pbuff, data_len); in phNxpEse_StoreDatainList()103 head = newNode; in phNxpEse_StoreDatainList()104 current = newNode; in phNxpEse_StoreDatainList()106 current->pNext = newNode; in phNxpEse_StoreDatainList()107 current = newNode; in phNxpEse_StoreDatainList()