MCPcopy Create free account
hub / github.com/apache/nuttx / list_remove_head

Function list_remove_head

include/nuttx/list.h:324–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322 ****************************************************************************/
323
324static inline FAR struct list_node *
325list_remove_head(FAR struct list_node *list)
326{
327 if (list->next != list)
328 {
329 FAR struct list_node *item = list->next;
330 list_delete(item);
331 return item;
332 }
333 else
334 {
335 return NULL;
336 }
337}
338
339static inline FAR struct list_node *
340list_remove_tail(FAR struct list_node *list)

Callers 10

esp_send_queuecacheFunction · 0.85
nxmq_wait_receiveFunction · 0.85
msgsndFunction · 0.85
nxmq_alloc_msgFunction · 0.85
can_add_sendnodeFunction · 0.85
can_send_doneFunction · 0.85
rpmsg_port_remove_nodeFunction · 0.85
rpmsg_test_hold_rx_workFunction · 0.85
epoll_ctlFunction · 0.85

Calls

no outgoing calls

Tested by 1

rpmsg_test_hold_rx_workFunction · 0.68