MCPcopy Index your code
hub / github.com/RT-Thread/rt-thread / rt_list_insert_after

Function rt_list_insert_after

include/rtservice.h:61–68  ·  view source on GitHub ↗

* @brief insert a node after a list * * @param l list to insert it * @param n new node to be inserted */

Source from the content-addressed store, hash-verified

59 * @param n new node to be inserted
60 */
61rt_inline void rt_list_insert_after(rt_list_t *l, rt_list_t *n)
62{
63 l->next->prev = n;
64 n->next = l->next;
65
66 l->next = n;
67 n->prev = l;
68}
69
70/**
71 * @brief insert a node before a list

Callers 15

lwp_execveFunction · 0.85
sigqueue_enqueueFunction · 0.85
lwp_session_insertFunction · 0.85
sys_thread_createFunction · 0.85
_sys_cloneFunction · 0.85
_sys_forkFunction · 0.85
lwp_pgrp_insertFunction · 0.85
_bent_enqueueFunction · 0.85
dw_pcie_ep_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected