Home
last modified time | relevance | path

Searched refs:align (Results 1 – 25 of 486) sorted by relevance

12345678910>>...20

/Zephyr-latest/tests/lib/heap_align/src/
Dmain.c24 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-latest/kernel/
Dmempool.c12 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()
65 void *k_aligned_alloc(size_t align, size_t size) in k_aligned_alloc() argument
67 __ASSERT(align / sizeof(void *) >= 1 in k_aligned_alloc()
68 && (align % sizeof(void *)) == 0, in k_aligned_alloc()
71 __ASSERT((align & (align - 1)) == 0, in k_aligned_alloc()
76 void *ret = z_heap_aligned_alloc(_SYSTEM_HEAP, align, size); in k_aligned_alloc()
160 void *z_thread_aligned_alloc(size_t align, size_t size) in z_thread_aligned_alloc() argument
[all …]
/Zephyr-latest/include/zephyr/linker/
Dlinker-tool-mwdt.h81 #define SECTION_PROLOGUE(name, options, align) name options : align argument
91 #define SECTION_DATA_PROLOGUE(name, options, align) \ argument
92 name options ALIGN(8) : align
94 #define SECTION_DATA_PROLOGUE(name, options, align) name options : align argument
Dlinker-tool-lld.h39 #define SECTION_PROLOGUE(name, options, align) \ argument
40 name options : align
58 #define SECTION_DATA_PROLOGUE(name, options, align) \ argument
59 SECTION_PROLOGUE(name, options, align)
Dlinker-tool-gcc.h177 #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
205 #define SECTION_DATA_PROLOGUE(name, options, align) \
206 SECTION_PROLOGUE(name, options, align)
/Zephyr-latest/subsys/debug/gdbstub/
Dgdbstub.c89 bool gdb_mem_can_read(const uintptr_t addr, const size_t len, uint8_t *align) in gdb_mem_can_read() argument
100 *align = 1; in gdb_mem_can_read()
108 *align = r->alignment; in gdb_mem_can_read()
110 *align = 1; in gdb_mem_can_read()
120 bool gdb_mem_can_write(const uintptr_t addr, const size_t len, uint8_t *align) in gdb_mem_can_write() argument
131 *align = 1; in gdb_mem_can_write()
139 *align = r->alignment; in gdb_mem_can_write()
141 *align = 1; in gdb_mem_can_write()
309 uint8_t align) in gdb_mem_read_aligned() argument
327 if (align > 4) { in gdb_mem_read_aligned()
[all …]
/Zephyr-latest/arch/arm64/core/
Dvector_table.S151 .align 11
154 .align 7
159 .align 7
168 .align 7
172 .align 7
177 .align 7
182 .align 7
191 .align 7
195 .align 7
200 .align 7
[all …]
/Zephyr-latest/scripts/logging/dictionary/dictionary_parser/
Ddata_types.py115 align = 8
118 align = 8
120 align = 4
123 align = 4
125 return align
152 align = 8
154 align = 4
158 align = max(align, size)
159 self.data_types[data_type]['align'] = align
/Zephyr-latest/lib/heap/
Dmulti_heap.c50 void *cfg, size_t align, size_t bytes) in sys_multi_heap_aligned_alloc() argument
52 return mheap->choice(mheap, cfg, align, bytes); in sys_multi_heap_aligned_alloc()
96 void *ptr, size_t align, size_t bytes) in sys_multi_heap_aligned_realloc() argument
100 return sys_multi_heap_aligned_alloc(mheap, cfg, align, bytes); in sys_multi_heap_aligned_realloc()
112 void *new_ptr = sys_heap_aligned_realloc(rec->heap, ptr, align, bytes); in sys_multi_heap_aligned_realloc()
121 new_ptr = sys_multi_heap_aligned_alloc(mheap, cfg, align, bytes); in sys_multi_heap_aligned_realloc()
Dshared_multi_heap.c21 static void *smh_choice(struct sys_multi_heap *mheap, void *cfg, size_t align, size_t size) in smh_choice() argument
43 block = sys_heap_aligned_alloc(h, align, size); in smh_choice()
95 size_t align, size_t bytes) in shared_multi_heap_aligned_alloc() argument
102 align, bytes); in shared_multi_heap_aligned_alloc()
/Zephyr-latest/doc/services/ipc/ipc_service/backends/
Dicbmsg_memory.svg7 …es="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
8 …<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justif…
9 …colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
24 …es="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
25 …<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justif…
26 …colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
41 …es="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
42 …<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justif…
43 …colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
58 …es="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
[all …]
Dicbmsg_message.svg7 …es="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
8 …<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justif…
9 …colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
24 …es="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
25 …<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justif…
26 …colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
41 …es="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
42 …<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justif…
43 …colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
58 …es="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
[all …]
Dicbmsg_flows.svg7 …es="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
8 …<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justif…
9 …colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
26 …es="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
27 …<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justif…
28 …colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
46 …es="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
47 …<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; ju…
48 …colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
66 …es="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
[all …]
/Zephyr-latest/boards/arm/fvp_baser_aemv8r/doc/
Ddebug-with-arm-ds.rst13 :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-latest/include/zephyr/sys/
Dmulti_heap.h58 size_t align, size_t size);
139 void *cfg, size_t align, size_t bytes);
192 void *ptr, size_t align, size_t bytes);
/Zephyr-latest/include/zephyr/sys/internal/
Dkobject_internal.h123 struct k_object *k_object_create_dynamic_aligned(size_t align, size_t size);
155 static inline struct k_object *k_object_create_dynamic_aligned(size_t align, in k_object_create_dynamic_aligned() argument
158 ARG_UNUSED(align); in k_object_create_dynamic_aligned()
/Zephyr-latest/doc/safety/images/
DIEC-61508-basis.svg1align: center;&#xa; margin: 1em 0;&#xa;}&#xa;&#xa;mjx-container[jax="SVG"][display="true"][width=…
Dzephyr-safety-process.svg1align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe …
/Zephyr-latest/doc/services/device_mgmt/smp_groups/
Dsmp_group_3.rst10 :align: center
40 :align: center
60 :align: center
74 :align: center
117 :align: center
144 :align: center
164 :align: center
178 :align: center
213 :align: center
237 :align: center
[all …]
/Zephyr-latest/lib/os/
Dcbprintf_packaged.c250 unsigned int align; /* current argument's required alignment */ in cbvprintf_package() local
340 align = VA_STACK_ALIGN(char *); in cbvprintf_package()
354 align = VA_STACK_ALIGN(int); in cbvprintf_package()
358 buf = ROUND_UP(buf, align); in cbvprintf_package()
393 align = VA_STACK_ALIGN(int); in cbvprintf_package()
400 align = VA_STACK_ALIGN(long); in cbvprintf_package()
407 align = VA_STACK_ALIGN(long long); in cbvprintf_package()
424 align = VA_STACK_ALIGN(long double); in cbvprintf_package()
428 align = VA_STACK_ALIGN(double); in cbvprintf_package()
433 buf = ROUND_UP(buf, align); in cbvprintf_package()
[all …]
/Zephyr-latest/subsys/mem_mgmt/
Dmem_attr_heap.c26 static void *mah_choice(struct sys_multi_heap *m_heap, void *cfg, size_t align, size_t size) in mah_choice() argument
49 block = sys_heap_aligned_alloc(&h->heap, align, size); in mah_choice()
69 void *mem_attr_heap_aligned_alloc(uint32_t attr, size_t align, size_t bytes) in mem_attr_heap_aligned_alloc() argument
72 (void *)(long) attr, align, bytes); in mem_attr_heap_aligned_alloc()
/Zephyr-latest/arch/xtensa/core/
Dxtensa_hifi.S24 .align 4
45 .align 4
/Zephyr-latest/drivers/tee/
Dtee.c9 int tee_add_shm(const struct device *dev, void *addr, size_t align, size_t size, in tee_add_shm() argument
21 if (align) { in tee_add_shm()
22 p = k_aligned_alloc(align, size); in tee_add_shm()
/Zephyr-latest/arch/arc/core/
Dregular_irq.S268 .align 4
280 .align 4
321 .align 4
/Zephyr-latest/doc/connectivity/bluetooth/autopts/
Dautopts-linux.rst38 :align: center
83 :align: center
91 :align: center
106 :align: center
113 :align: center
120 :align: center
137 :align: center
144 :align: center
157 :align: center
170 :align: center
[all …]

12345678910>>...20