1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2019-2020 Broadcom
6 /* Linked List Header File */
11 /* linked list entry */
13 struct ll_entry *prev;
14 struct ll_entry *next;
19 struct ll_entry *head;
20 struct ll_entry *tail;
24 * Linked list initialization.
26 * [in] ll, linked list to be initialized
28 void ll_init(struct ll *ll);
33 * [in] ll, linked list where element is inserted
34 * [in] entry, entry to be added
36 void ll_insert(struct ll *ll, struct ll_entry *entry);
41 * [in] ll, linked list where element is removed
42 * [in] entry, entry to be deleted
44 void ll_delete(struct ll *ll, struct ll_entry *entry);