PatchworkOS
Loading...
Searching...
No Matches
list_entry_t Struct Reference

A entry in a doubly linked list. More...

#include <list.h>

Data Fields

struct list_entry * prev
 The previous entry in the list.
 
struct list_entry * next
 The next entry in the list.
 
list_tlist
 The list this entry belongs to.
 

Detailed Description

A entry in a doubly linked list.

This structure should be placed within another structure so that the CONTAINER_OF() macro can then be used to access the other structure.

Definition at line 37 of file list.h.

Field Documentation

◆ list

list_t* list_entry_t::list

The list this entry belongs to.

Definition at line 41 of file list.h.

Referenced by list_add(), list_contains_entry(), list_entry_init(), and list_remove().

◆ next

struct list_entry* list_entry_t::next

The next entry in the list.

Definition at line 40 of file list.h.

Referenced by _heap_free(), list_add(), list_append(), list_entry_init(), list_first(), list_init(), list_is_empty(), list_pop(), list_push(), list_remove(), and realloc().

◆ prev

struct list_entry* list_entry_t::prev

The previous entry in the list.

Definition at line 39 of file list.h.

Referenced by _heap_block_new(), _heap_free(), list_add(), list_entry_init(), list_last(), list_prepend(), list_push(), and list_remove().


The documentation for this struct was generated from the following file: