Searched refs:SIZE_AND_USED (Results 1 – 1 of 1) sorted by relevance
/Zephyr-Core-3.6.0/lib/heap/ |
D | heap.h | 54 enum chunk_fields { LEFT_SIZE, SIZE_AND_USED, FREE_PREV, FREE_NEXT }; enumerator 139 return chunk_field(h, c, SIZE_AND_USED) & 1U; in chunk_used() 144 return chunk_field(h, c, SIZE_AND_USED) >> 1; in chunk_size() 154 ((uint32_t *)cmem)[SIZE_AND_USED] |= 1U; in set_chunk_used() 156 ((uint32_t *)cmem)[SIZE_AND_USED] &= ~1U; in set_chunk_used() 160 ((uint16_t *)cmem)[SIZE_AND_USED] |= 1U; in set_chunk_used() 162 ((uint16_t *)cmem)[SIZE_AND_USED] &= ~1U; in set_chunk_used() 174 chunk_set(h, c, SIZE_AND_USED, size << 1); in set_chunk_size()
|