Home
last modified time | relevance | path

Searched refs:alignment (Results 1 – 6 of 6) sorted by relevance

/lib/libc/common/source/stdlib/
A Dmalloc.c156 void *aligned_alloc(size_t alignment, size_t size) in aligned_alloc() argument
161 alignment, in aligned_alloc()
187 void *memalign(size_t alignment, size_t size) in memalign() argument
189 return aligned_alloc(alignment, size); in memalign()
/lib/net_buf/
A DKconfig53 int "Network buffer alignment restriction"
59 Default value of 0 means the alignment will be the size of a void pointer,
60 any other value will force the alignment of a net buffer in bytes.
A Dbuf.c43 #define GET_ALIGN(pool) MAX(sizeof(void *), pool->alloc->alignment)
115 if (buf_pool->alloc->alignment == 0) { in mem_pool_data_alloc()
120 if (*size < buf_pool->alloc->alignment) { in mem_pool_data_alloc()
122 *size, buf_pool->alloc->alignment); in mem_pool_data_alloc()
128 buf_pool->alloc->alignment, in mem_pool_data_alloc()
130 ROUND_UP(*size, buf_pool->alloc->alignment), in mem_pool_data_alloc()
/lib/libc/minimal/include/
A Dstdlib.h28 void *aligned_alloc(size_t alignment, size_t size); /* From C11 */
/lib/os/
A DKconfig.cbprintf135 Option impact required alignment for buffers used for packaging
138 so such alignment is an unnecessary waste. If option is disabled,
142 bool "Validate alignment of a static package buffer"
/lib/heap/
A DKconfig103 the needed alignment on returned memory allocations. Small chunk
104 headers would require alignment padding up to the big header size

Completed in 30 milliseconds