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

Function list_del

scripts/config/list.h:126–131  ·  view source on GitHub ↗

* list_del - deletes entry from list. * @entry: the element to delete from the list. * Note: list_empty() on entry does not return true after this, the entry is * in an undefined state. */

Source from the content-addressed store, hash-verified

124 * in an undefined state.
125 */
126static inline void list_del(struct list_head *entry)
127{
128 __list_del(entry->prev, entry->next);
129 entry->next = (struct list_head*)LIST_POISON1;
130 entry->prev = (struct list_head*)LIST_POISON2;
131}
132#endif

Callers 4

env_delFunction · 0.70
variable_delFunction · 0.70
search_confFunction · 0.70
confFunction · 0.70

Calls 1

__list_delFunction · 0.70

Tested by

no test coverage detected