zephyr/include
Benjamin Walsh ca51a72133 dlist: enhance library and make all functions inline
The old doubly-linked list implementation had only support for very
basic operations, i.e. add at head and remove.

The new implementation is highly enhanced, allowing these operations:

- initialize list
- check if a node is the list's head
- check if a node is the list's tail
- check if the list is empty
- get a reference to the head item in the list
- get a reference to the next item in the list
- add node to tail of list
- add node to head of list
- insert node after a node
- insert node before a node
- insert node at position based on condition
- remove a specific node from a list
- get the first node in a list

The implementation is completely inline, since the operations are rather
simple and do not warrant a function call.

Change-Id: Id85c04e67f6a88b005390172f1276daa12bcf8ce
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-02-05 20:14:22 -05:00
..
arch arm: fix __assert.h inclusion in asm files 2016-02-05 20:14:21 -05:00
bluetooth Bluetooth: Document bt_init and bt_start_advertising 2016-02-05 20:14:19 -05:00
drivers sys_clock: rename nanokernel's _do_sys_clock_tick_announce 2016-02-05 20:14:21 -05:00
microkernel Rename workload_time_slice_set() to sys_workload_time_slice_set() 2016-02-05 20:14:19 -05:00
misc dlist: enhance library and make all functions inline 2016-02-05 20:14:22 -05:00
net net: Use our network buffers instead of global ones in Contiki 2016-02-05 20:14:20 -05:00
toolchain Rename VXMICRO_ARCH_arc -> CONFIG_ARC 2016-02-05 20:14:16 -05:00
atomic.h atomic: Add bitfield API for atomic_t 2016-02-05 20:14:15 -05:00
clock_vars.h Fix checkpatch issue - WARNING:SPACING 2016-02-05 20:13:59 -05:00
device.h device: Add device model infrastructure 2016-02-05 20:14:14 -05:00
init.h init.h: Add the ability to set driver_data at build time 2016-02-05 20:14:19 -05:00
kernel_version.h Add "sys_" prefix to public kernel versioning APIs 2016-02-05 20:14:13 -05:00
linker-defs.h Rename VXMICRO_ARCH_arc -> CONFIG_ARC 2016-02-05 20:14:16 -05:00
linker-tool-gcc.h Always use __start as the entry point 2016-02-05 20:14:00 -05:00
linker-tool.h First commit 2015-04-10 16:44:37 -07:00
microkernel.h Eliminate VxMicro branding in kernel code 2016-02-05 20:14:15 -05:00
nanokernel.h nanokernel: rename struct s_CCS to struct ccs 2016-02-05 20:14:22 -05:00
section_tags.h Rename VXMICRO_ARCH_arc -> CONFIG_ARC 2016-02-05 20:14:16 -05:00
sections.h Rename VXMICRO_ARCH_arc -> CONFIG_ARC 2016-02-05 20:14:16 -05:00
sw_isr_table.h Rename _IsrTable to _sw_isr_table 2016-02-05 20:13:53 -05:00
toolchain.h Compiler specific configuration 2016-02-05 20:13:52 -05:00