/Zephyr-Core-3.6.0/include/zephyr/kernel/ |
D | thread_stack.h | 138 #define K_KERNEL_STACK_ARRAY_DECLARE(sym, nmemb, size) \ argument 140 sym[nmemb][Z_KERNEL_STACK_LEN(size)] 152 #define K_KERNEL_PINNED_STACK_ARRAY_DECLARE(sym, nmemb, size) \ argument 154 sym[nmemb][Z_KERNEL_STACK_LEN(size)] 188 #define Z_KERNEL_STACK_ARRAY_DEFINE_IN(sym, nmemb, size, lsect) \ argument 191 sym[nmemb][Z_KERNEL_STACK_LEN(size)] 246 #define K_KERNEL_STACK_ARRAY_DEFINE(sym, nmemb, size) \ argument 247 Z_KERNEL_STACK_ARRAY_DEFINE_IN(sym, nmemb, size, __kstackmem) 263 #define K_KERNEL_PINNED_STACK_ARRAY_DEFINE(sym, nmemb, size) \ argument 264 Z_KERNEL_STACK_ARRAY_DEFINE_IN(sym, nmemb, size, __pinned_noinit) [all …]
|
/Zephyr-Core-3.6.0/lib/libc/minimal/source/stdlib/ |
D | qsort.c | 79 static void heapify(void *base, int nmemb, size_t size, struct qsort_comp *cmp) in heapify() argument 83 for (start = parent(nmemb - 1); start >= 0; --start) { in heapify() 84 sift_down(base, start, nmemb, size, cmp); in heapify() 88 static void heap_sort(void *base, int nmemb, size_t size, struct qsort_comp *cmp) in heap_sort() argument 92 heapify(base, nmemb, size, cmp); in heap_sort() 94 for (end = nmemb - 1; end > 0; --end) { in heap_sort() 100 void qsort_r(void *base, size_t nmemb, size_t size, in qsort_r() argument 111 heap_sort(base, nmemb, size, &cmp); in qsort_r() 114 void qsort(void *base, size_t nmemb, size_t size, in qsort() argument 125 heap_sort(base, nmemb, size, &cmp); in qsort()
|
/Zephyr-Core-3.6.0/lib/libc/minimal/include/ |
D | stdlib.h | 29 void *calloc(size_t nmemb, size_t size); 31 void *reallocarray(void *ptr, size_t nmemb, size_t size); 37 void qsort_r(void *base, size_t nmemb, size_t size, 39 void qsort(void *base, size_t nmemb, size_t size,
|
/Zephyr-Core-3.6.0/include/zephyr/internal/ |
D | syscall_handler.h | 477 #define K_SYSCALL_MEMORY_ARRAY(ptr, nmemb, size, write) \ argument 480 K_SYSCALL_VERIFY_MSG(!size_mul_overflow((size_t)(nmemb), \ 484 (size_t)(nmemb), (size_t)(size)) || \ 502 #define K_SYSCALL_MEMORY_ARRAY_READ(ptr, nmemb, size) \ argument 503 K_SYSCALL_MEMORY_ARRAY(ptr, nmemb, size, 0) 519 #define K_SYSCALL_MEMORY_ARRAY_WRITE(ptr, nmemb, size) \ argument 520 K_SYSCALL_MEMORY_ARRAY(ptr, nmemb, size, 1)
|
/Zephyr-Core-3.6.0/scripts/native_simulator/common/src/ |
D | nsi_host_trampolines.c | 14 void *nsi_host_calloc(unsigned long nmemb, unsigned long size) in nsi_host_calloc() argument 16 return calloc(nmemb, size); in nsi_host_calloc()
|
/Zephyr-Core-3.6.0/lib/libc/common/source/stdlib/ |
D | malloc.c | 290 void *calloc(size_t nmemb, size_t size) in calloc() argument 294 if (size_mul_overflow(nmemb, size, &size)) { in calloc() 310 void *reallocarray(void *ptr, size_t nmemb, size_t size) in reallocarray() argument 312 if (size_mul_overflow(nmemb, size, &size)) { in reallocarray()
|
/Zephyr-Core-3.6.0/scripts/native_simulator/common/src/include/ |
D | nsi_host_trampolines.h | 25 void *nsi_host_calloc(unsigned long nmemb, unsigned long size);
|
/Zephyr-Core-3.6.0/kernel/ |
D | mempool.c | 93 void *k_calloc(size_t nmemb, size_t size) in k_calloc() argument 100 if (size_mul_overflow(nmemb, size, &bounds)) { in k_calloc()
|
/Zephyr-Core-3.6.0/subsys/net/ip/ |
D | tp.h | 131 void *tp_calloc(size_t nmemb, size_t size, const char *file, int line,
|
D | tp.c | 125 void *tp_calloc(size_t nmemb, size_t size, const char *file, int line, in tp_calloc() argument 128 size_t bytes = size * nmemb; in tp_calloc()
|
/Zephyr-Core-3.6.0/subsys/tracing/test/ |
D | tracing_test.h | 395 sys_trace_k_heap_sys_k_calloc_enter(heap, nmemb, size) 397 sys_trace_k_heap_sys_k_calloc_exit(heap, nmemb, size, ret) 664 void sys_trace_k_heap_sys_k_calloc_enter(struct k_heap *h, size_t nmemb, size_t size); 665 void sys_trace_k_heap_sys_k_calloc_exit(struct k_heap *h, size_t nmemb, size_t size, void *ret);
|
/Zephyr-Core-3.6.0/include/zephyr/ |
D | kernel.h | 5510 void *k_calloc(size_t nmemb, size_t size);
|