coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
list.c File Reference
#include <list.h>
Include dependency graph for list.c:

Go to the source code of this file.

Functions

void list_remove (struct list_node *node)
 
void list_insert_after (struct list_node *node, struct list_node *after)
 
void list_insert_before (struct list_node *node, struct list_node *before)
 
void list_append (struct list_node *node, struct list_node *head)
 

Function Documentation

◆ list_append()

void list_append ( struct list_node node,
struct list_node head 
)

Definition at line 32 of file list.c.

References list_insert_after(), and list_node::next.

Referenced by append_cbfs_preload_context().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ list_insert_after()

◆ list_insert_before()

void list_insert_before ( struct list_node node,
struct list_node before 
)

Definition at line 23 of file list.c.

References list_node::next, and list_node::prev.

◆ list_remove()

void list_remove ( struct list_node node)

Definition at line 6 of file list.c.

References list_node::next, and list_node::prev.

Referenced by cbfs_preload_thread_entry(), dt_delete_prop(), dt_platform_fixup(), dt_platform_fixup_mac(), dt_platform_fixup_phy(), and fit_update_memory().

Here is the caller graph for this function: