Collaboration diagram for Defines:Macros | |
| #define | MAX_MEM_POOLS 4 |
| count of memory pool More... | |
| #define | ALIGNNUM (16) |
| align bytes More... | |
| #define | ALIGNMASK (ALIGNNUM-1) |
| align mask More... | |
| #define | ALIGN(s) ((((s)+ALIGNMASK)/ALIGNNUM)*ALIGNNUM) |
| align address More... | |
| #define | FLAG_EMPTY 0xf1fa1U |
| empty flag More... | |
| #define | FLAG_NONEMPTY 0xf1fa2U |
| non-empty flag More... | |
| #define | IS_LAST(c) ( (c)->next_offset == 0U ) |
| check is last or not More... | |
| #define | OFFSET(c) ((uintptr_t)(c) - (uintptr_t)HEAD) |
| offset from pool head More... | |
align address
Definition at line 70 of file tsi_malloc_intern.h.
| #define ALIGNMASK (ALIGNNUM-1) |
align mask
Definition at line 69 of file tsi_malloc_intern.h.
| #define ALIGNNUM (16) |
align bytes
Definition at line 68 of file tsi_malloc_intern.h.
| #define FLAG_EMPTY 0xf1fa1U |
empty flag
Definition at line 72 of file tsi_malloc_intern.h.
| #define FLAG_NONEMPTY 0xf1fa2U |
non-empty flag
Definition at line 73 of file tsi_malloc_intern.h.
| #define IS_LAST | ( | c | ) | ( (c)->next_offset == 0U ) |
check is last or not
Definition at line 75 of file tsi_malloc_intern.h.
| #define MAX_MEM_POOLS 4 |
count of memory pool
Definition at line 65 of file tsi_malloc_intern.h.
| #define OFFSET | ( | c | ) | ((uintptr_t)(c) - (uintptr_t)HEAD) |
offset from pool head
Definition at line 76 of file tsi_malloc_intern.h.