zephyr/lib/os
Nicolas Pitre 54950aca01 sys_heap: provide more chunk_fields accessors
Let's provide accessors for getting and setting every field to make the
chunk header layout abstracted away from the main code. Those are:

SIZE_AND_USED: chunk_used(), chunk_size(), set_chunk_used() and
chunk_size().

LEFT_SIZE: left_chunk() and set_left_chunk_size().

FREE_PREV: prev_free_chunk() and set_prev_free_chunk().

FREE_NEXT: next_free_chunk() and set_next_free_chunk().

To be consistent, the former chunk_set_used() is now set_chunk_used().

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2020-06-21 19:25:35 +02:00
..
assert.c
base64.c
CMakeLists.txt
crc7_sw.c
crc8_sw.c
crc16_sw.c
crc32_sw.c
dec.c
fdtable.c
heap-validate.c
heap.c
heap.h
hex.c
json.c
Kconfig
mempool.c
mutex.c
notify.c
onoff.c
printk.c
rb.c
ring_buffer.c
sem.c
thread_entry.c
timeutil.c
work_q.c