iPXE
Functions
list.c File Reference

Linked lists. More...

#include <ipxe/list.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
void extern_list_add (struct list_head *new, struct list_head *head)
void extern_list_add_tail (struct list_head *new, struct list_head *head)
void extern_list_del (struct list_head *list)
int extern_list_empty (const struct list_head *list)
int extern_list_is_singular (const struct list_head *list)
int extern_list_is_last (const struct list_head *list, const struct list_head *head)
void extern_list_cut_position (struct list_head *new, struct list_head *list, struct list_head *entry)
void extern_list_splice (const struct list_head *list, struct list_head *entry)
void extern_list_splice_tail (const struct list_head *list, struct list_head *entry)
void extern_list_splice_init (struct list_head *list, struct list_head *entry)
void extern_list_splice_tail_init (struct list_head *list, struct list_head *entry)
int extern_list_contains (struct list_head *entry, struct list_head *head)

Detailed Description

Linked lists.

Definition in file list.c.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )
void extern_list_add ( struct list_head new,
struct list_head head 
)

Definition at line 34 of file list.c.

References inline_list_add().

                                                                       {
        inline_list_add ( new, head );
}
void extern_list_add_tail ( struct list_head new,
struct list_head head 
)

Definition at line 38 of file list.c.

References inline_list_add_tail().

                                                                            {
        inline_list_add_tail ( new, head );
}
void extern_list_del ( struct list_head list)

Definition at line 42 of file list.c.

References inline_list_del().

                                                {
        inline_list_del ( list );
}
int extern_list_empty ( const struct list_head list)

Definition at line 46 of file list.c.

References inline_list_empty().

                                                       {
        return inline_list_empty ( list );
}
int extern_list_is_singular ( const struct list_head list)

Definition at line 50 of file list.c.

References inline_list_is_singular().

                                                             {
        return inline_list_is_singular ( list );
}
int extern_list_is_last ( const struct list_head list,
const struct list_head head 
)

Definition at line 54 of file list.c.

References inline_list_is_last().

                                                         {
        return inline_list_is_last ( list, head );
}
void extern_list_cut_position ( struct list_head new,
struct list_head list,
struct list_head entry 
)

Definition at line 59 of file list.c.

References inline_list_cut_position().

                                                          {
        inline_list_cut_position ( new, list, entry );
}
void extern_list_splice ( const struct list_head list,
struct list_head entry 
)

Definition at line 65 of file list.c.

References inline_list_splice().

                                                    {
        inline_list_splice ( list, entry );
}
void extern_list_splice_tail ( const struct list_head list,
struct list_head entry 
)

Definition at line 70 of file list.c.

References inline_list_splice_tail().

                                                         {
        inline_list_splice_tail ( list, entry );
}
void extern_list_splice_init ( struct list_head list,
struct list_head entry 
)

Definition at line 75 of file list.c.

References inline_list_splice_init().

                                                         {
        inline_list_splice_init ( list, entry );
}
void extern_list_splice_tail_init ( struct list_head list,
struct list_head entry 
)

Definition at line 80 of file list.c.

References inline_list_splice_tail_init().

                                                              {
        inline_list_splice_tail_init ( list, entry );
}
int extern_list_contains ( struct list_head entry,
struct list_head head 
)

Definition at line 85 of file list.c.

References inline_list_contains().

                                                    {
        return inline_list_contains ( entry, head );
}