Home
last modified time | relevance | path

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

/hardware/qcom/media/mm-video/vidc/vdec/src/
Dqueue.c81 Node *new_node = (Node *) malloc(sizeof(Node)); in push() local
83 if (new_node == NULL) in push()
86 new_node->element = element; in push()
87 new_node->next = NULL; in push()
91 q->head = new_node; in push()
95 q->tail->next = new_node; in push()
98 q->tail = new_node; in push()
/hardware/qcom/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_channel.c1332 mm_camera_q_node_t* new_node = NULL; in mm_channel_superbuf_comp_and_enqueue() local
1335 new_node = (mm_camera_q_node_t*)malloc(sizeof(mm_camera_q_node_t)); in mm_channel_superbuf_comp_and_enqueue()
1336 if (NULL != new_buf && NULL != new_node) { in mm_channel_superbuf_comp_and_enqueue()
1338 memset(new_node, 0, sizeof(mm_camera_q_node_t)); in mm_channel_superbuf_comp_and_enqueue()
1339 new_node->data = (void *)new_buf; in mm_channel_superbuf_comp_and_enqueue()
1345 cam_list_add_tail_node(&new_node->list, &queue->que.head.list); in mm_channel_superbuf_comp_and_enqueue()
1362 if (NULL != new_node) { in mm_channel_superbuf_comp_and_enqueue()
1363 free(new_node); in mm_channel_superbuf_comp_and_enqueue()