Lines Matching refs:node

123     camera_q_node *node =  in enqueue()  local
125 if (NULL == node) { in enqueue()
130 memset(node, 0, sizeof(camera_q_node)); in enqueue()
131 node->data = data; in enqueue()
134 cam_list_add_tail_node(&node->list, &m_head.list); in enqueue()
153 camera_q_node *node = in enqueueWithPriority() local
155 if (NULL == node) { in enqueueWithPriority()
160 memset(node, 0, sizeof(camera_q_node)); in enqueueWithPriority()
161 node->data = data; in enqueueWithPriority()
166 m_head.list.next = &node->list; in enqueueWithPriority()
167 p_next->prev = &node->list; in enqueueWithPriority()
168 node->list.next = p_next; in enqueueWithPriority()
169 node->list.prev = &m_head.list; in enqueueWithPriority()
189 camera_q_node* node = NULL; in dequeue() local
202 node = member_of(pos, camera_q_node, list); in dequeue()
203 cam_list_del_node(&node->list); in dequeue()
208 if (NULL != node) { in dequeue()
209 data = node->data; in dequeue()
210 free(node); in dequeue()
227 camera_q_node* node = NULL; in flush() local
236 node = member_of(pos, camera_q_node, list); in flush()
238 cam_list_del_node(&node->list); in flush()
241 if (NULL != node->data) { in flush()
243 m_dataFn(node->data, m_userData); in flush()
245 free(node->data); in flush()
247 free(node); in flush()
266 camera_q_node* node = NULL; in flushNodes() local
279 node = member_of(pos, camera_q_node, list); in flushNodes()
281 if ( match(node->data, m_userData) ) { in flushNodes()
282 cam_list_del_node(&node->list); in flushNodes()
285 if (NULL != node->data) { in flushNodes()
287 m_dataFn(node->data, m_userData); in flushNodes()
289 free(node->data); in flushNodes()
291 free(node); in flushNodes()