MCPcopy Create free account
hub / github.com/coreboot/coreboot / list_clear

Function list_clear

src/commonlib/list.c:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#define PREV(ptr) ((ptr)->_internal_do_not_access.prev)
9
10static inline void list_clear(struct list_node *head)
11{
12 PREV(head) = NEXT(head) = head;
13}
14
15void _list_init(struct list_node *head)
16{

Callers 2

_list_initFunction · 0.85
list_moveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected