MCPcopy Create free account
hub / github.com/Entware/Entware / __list_add

Function __list_add

scripts/config/list.h:82–90  ·  view source on GitHub ↗

* Insert a new entry between two known consecutive entries. * * This is only for internal list manipulation where we know * the prev/next entries already! */

Source from the content-addressed store, hash-verified

80 * the prev/next entries already!
81 */
82static inline void __list_add(struct list_head *_new,
83 struct list_head *prev,
84 struct list_head *next)
85{
86 next->prev = _new;
87 _new->next = next;
88 _new->prev = prev;
89 prev->next = _new;
90}
91
92/**
93 * list_add_tail - add a new entry

Callers 1

list_add_tailFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected