/Zephyr-Core-3.4.0/kernel/ |
D | mempool.c | 12 static void *z_heap_aligned_alloc(struct k_heap *heap, size_t align, size_t size) in z_heap_aligned_alloc() argument 27 __align = align | sizeof(heap_ref); in z_heap_aligned_alloc() 37 __ASSERT(align == 0 || ((uintptr_t)mem & (align - 1)) == 0, in z_heap_aligned_alloc() 38 "misaligned memory at %p (align = %zu)", mem, align); in z_heap_aligned_alloc() 64 void *k_aligned_alloc(size_t align, size_t size) in k_aligned_alloc() argument 66 __ASSERT(align / sizeof(void *) >= 1 in k_aligned_alloc() 67 && (align % sizeof(void *)) == 0, in k_aligned_alloc() 70 __ASSERT((align & (align - 1)) == 0, in k_aligned_alloc() 75 void *ret = z_heap_aligned_alloc(_SYSTEM_HEAP, align, size); in k_aligned_alloc() 124 void *z_thread_aligned_alloc(size_t align, size_t size) in z_thread_aligned_alloc() argument [all …]
|
/Zephyr-Core-3.4.0/tests/lib/heap_align/src/ |
D | main.c | 24 size_t prefix, size_t align, size_t size) in check_heap_align() argument 31 q = sys_heap_aligned_alloc(h, align, size); in check_heap_align() 33 zassert_true((((uintptr_t)q) & (align - 1)) == 0, "block not aligned"); in check_heap_align() 35 r = sys_heap_aligned_alloc(h, align, size); in check_heap_align() 37 zassert_true((((uintptr_t)r) & (align - 1)) == 0, "block not aligned"); in check_heap_align() 44 prefix, align, size); in check_heap_align() 77 for (size_t align = 8; align < HEAP_SZ / 4; align *= 2) { in ZTEST() local 78 for (size_t prefix = 0; prefix <= align; prefix += 8) { in ZTEST() 79 for (size_t size = 8; size <= align; size += 8) { in ZTEST() 80 check_heap_align(&heap, prefix, align, size); in ZTEST()
|
/Zephyr-Core-3.4.0/subsys/debug/ |
D | gdbstub.c | 79 bool gdb_mem_can_read(const uintptr_t addr, const size_t len, uint8_t *align) in gdb_mem_can_read() argument 90 *align = 1; in gdb_mem_can_read() 98 *align = r->alignment; in gdb_mem_can_read() 100 *align = 1; in gdb_mem_can_read() 110 bool gdb_mem_can_write(const uintptr_t addr, const size_t len, uint8_t *align) in gdb_mem_can_write() argument 121 *align = 1; in gdb_mem_can_write() 129 *align = r->alignment; in gdb_mem_can_write() 131 *align = 1; in gdb_mem_can_write() 299 uint8_t align) in gdb_mem_read_aligned() argument 317 if (align > 4) { in gdb_mem_read_aligned() [all …]
|
/Zephyr-Core-3.4.0/include/zephyr/linker/ |
D | linker-tool-mwdt.h | 82 #define SECTION_PROLOGUE(name, options, align) name options align : argument 92 #define SECTION_DATA_PROLOGUE(name, options, align) \ argument 93 name options ALIGN(8) align : 95 #define SECTION_DATA_PROLOGUE(name, options, align) name options align : argument
|
D | linker-tool-gcc.h | 177 #define SECTION_PROLOGUE(name, options, align) \ argument 178 name options : ALIGN_WITH_INPUT align 180 #define SECTION_PROLOGUE(name, options, align) \ 181 name options : align 202 #define SECTION_DATA_PROLOGUE(name, options, align) \ argument 203 name options : ALIGN_WITH_INPUT align 205 #define SECTION_DATA_PROLOGUE(name, options, align) \ 206 SECTION_PROLOGUE(name, options, align)
|
/Zephyr-Core-3.4.0/arch/arm64/core/ |
D | vector_table.S | 147 .align 11 150 .align 7 155 .align 7 164 .align 7 168 .align 7 173 .align 7 178 .align 7 187 .align 7 191 .align 7 196 .align 7 [all …]
|
/Zephyr-Core-3.4.0/doc/services/device_mgmt/smp_groups/ |
D | smp_group_0.rst | 9 :align: center 43 :align: center 62 :align: center 74 :align: center 103 :align: center 123 :align: center 140 :align: center 180 :align: center 223 :align: center 239 :align: center [all …]
|
D | smp_group_9.rst | 12 :align: center 32 :align: center 55 :align: center 72 :align: center 100 :align: center
|
D | smp_group_2.rst | 12 :align: center 36 :align: center 55 :align: center 67 :align: center 98 :align: center 131 :align: center 147 :align: center 176 :align: center
|
D | smp_group_8.rst | 12 :align: center 61 :align: center 81 :align: center 95 :align: center 124 :align: center 182 :align: center 204 :align: center 224 :align: center 251 :align: center 272 :align: center [all …]
|
/Zephyr-Core-3.4.0/lib/os/ |
D | cbprintf_packaged.c | 250 unsigned int align; /* current argument's required alignment */ in cbvprintf_package() local 339 align = VA_STACK_ALIGN(char *); in cbvprintf_package() 353 align = VA_STACK_ALIGN(int); in cbvprintf_package() 357 buf = (void *)ROUND_UP(buf, align); in cbvprintf_package() 392 align = VA_STACK_ALIGN(int); in cbvprintf_package() 399 align = VA_STACK_ALIGN(long); in cbvprintf_package() 406 align = VA_STACK_ALIGN(long long); in cbvprintf_package() 423 align = VA_STACK_ALIGN(long double); in cbvprintf_package() 427 align = VA_STACK_ALIGN(double); in cbvprintf_package() 432 buf = (void *) ROUND_UP(buf, align); in cbvprintf_package() [all …]
|
D | shared_multi_heap.c | 19 static void *smh_choice(struct sys_multi_heap *mheap, void *cfg, size_t align, size_t size) in smh_choice() argument 41 block = sys_heap_aligned_alloc(h, align, size); in smh_choice() 90 void *shared_multi_heap_aligned_alloc(unsigned int attr, size_t align, size_t bytes) in shared_multi_heap_aligned_alloc() argument 97 align, bytes); in shared_multi_heap_aligned_alloc()
|
D | heap.c | 301 void *sys_heap_aligned_alloc(struct sys_heap *heap, size_t align, size_t bytes) in sys_heap_aligned_alloc() argument 313 rew = align & -align; in sys_heap_aligned_alloc() 314 if (align != rew) { in sys_heap_aligned_alloc() 315 align -= rew; in sys_heap_aligned_alloc() 318 if (align <= chunk_header_bytes(h)) { in sys_heap_aligned_alloc() 324 __ASSERT((align & (align - 1)) == 0, "align must be a power of 2"); in sys_heap_aligned_alloc() 335 chunksz_t padded_sz = bytes_to_chunksz(h, bytes + align - gap); in sys_heap_aligned_alloc() 344 mem = (uint8_t *) ROUND_UP(mem + rew, align) - rew; in sys_heap_aligned_alloc() 380 size_t align, size_t bytes) in sys_heap_aligned_realloc() argument 386 return sys_heap_aligned_alloc(heap, align, bytes); in sys_heap_aligned_realloc() [all …]
|
/Zephyr-Core-3.4.0/boards/arm64/fvp_baser_aemv8r/doc/ |
D | debug-with-arm-ds.rst | 13 :align: center 28 :align: center 34 :align: center 43 :align: center 49 :align: center 55 :align: center 64 :align: center 74 :align: center 81 :align: center 90 :align: center [all …]
|
/Zephyr-Core-3.4.0/doc/connectivity/bluetooth/autopts/ |
D | autopts-linux.rst | 37 :align: center 77 :align: center 84 :align: center 91 :align: center 105 :align: center 113 :align: center 126 :align: center 138 :align: center 143 :align: center 155 :align: center [all …]
|
D | autopts-win10.rst | 33 :align: center 38 :align: center 50 :align: center 62 :align: center 84 :align: center 92 :align: center 97 :align: center 107 :align: center 168 :align: center 175 :align: center [all …]
|
/Zephyr-Core-3.4.0/arch/arc/core/ |
D | regular_irq.S | 268 .align 4 280 .align 4 321 .align 4
|
D | fast_irq.S | 159 .align 4 172 .align 4 257 .align 4 278 .align 4
|
/Zephyr-Core-3.4.0/subsys/tracing/ctf/tsdl/ |
D | metadata | 2 typealias integer { size = 8; align = 8; signed = true; } := int8_t; 3 typealias integer { size = 8; align = 8; signed = false; } := uint8_t; 4 typealias integer { size = 16; align = 8; signed = false; } := uint16_t; 5 typealias integer { size = 32; align = 8; signed = false; } := uint32_t; 6 typealias integer { size = 32; align = 8; signed = true; } := int32_t; 7 typealias integer { size = 64; align = 8; signed = false; } := uint64_t; 8 typealias integer { size = 8; align = 8; signed = false; encoding = ASCII; } := ctf_bounded_string_…
|
/Zephyr-Core-3.4.0/subsys/fs/fcb/ |
D | fcb.c | 21 uint8_t align; in fcb_get_align() local 27 align = flash_area_align(fcb->fap); in fcb_get_align() 29 return align; in fcb_get_align() 100 uint8_t align; in fcb_init() local 118 align = fcb_get_align(fcb); in fcb_init() 119 if (align == 0U) { in fcb_init() 157 fcb->f_align = align; in fcb_init()
|
/Zephyr-Core-3.4.0/include/zephyr/debug/ |
D | gdbstub.h | 89 bool gdb_mem_can_read(const uintptr_t addr, const size_t len, uint8_t *align); 102 bool gdb_mem_can_write(const uintptr_t addr, const size_t len, uint8_t *align);
|
/Zephyr-Core-3.4.0/include/zephyr/sys/ |
D | multi_heap.h | 52 size_t align, size_t size); 133 void *cfg, size_t align, size_t bytes);
|
D | kobject.h | 279 struct z_object *z_dynamic_object_aligned_create(size_t align, size_t size); 325 static inline struct z_object *z_dynamic_object_aligned_create(size_t align, in z_dynamic_object_aligned_create() argument 328 ARG_UNUSED(align); in z_dynamic_object_aligned_create()
|
D | sys_heap.h | 136 void *sys_heap_aligned_alloc(struct sys_heap *heap, size_t align, size_t bytes); 177 size_t align, size_t bytes);
|
/Zephyr-Core-3.4.0/doc/build/cmake/ |
D | index.rst | 62 :align: center 64 :figclass: align-center 159 :align: center 161 :figclass: align-center 174 :align: center 176 :figclass: align-center 204 :align: center 206 :figclass: align-center 217 :align: center 219 :figclass: align-center [all …]
|