/Zephyr-latest/include/zephyr/kernel/ |
D | thread_stack.h | 138 #define K_KERNEL_STACK_ARRAY_DECLARE(sym, nmemb, size) \ argument 140 sym[nmemb][K_KERNEL_STACK_LEN(size)] 152 #define K_KERNEL_PINNED_STACK_ARRAY_DECLARE(sym, nmemb, size) \ argument 154 sym[nmemb][K_KERNEL_STACK_LEN(size)] 188 #define Z_KERNEL_STACK_ARRAY_DEFINE_IN(sym, nmemb, size, lsect) \ argument 191 sym[nmemb][K_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-latest/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-latest/lib/libc/minimal/include/ |
D | stdlib.h | 31 void *calloc(size_t nmemb, size_t size); 33 void *reallocarray(void *ptr, size_t nmemb, size_t size); 39 void qsort_r(void *base, size_t nmemb, size_t size, 41 void qsort(void *base, size_t nmemb, size_t size,
|
/Zephyr-latest/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-latest/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-latest/lib/libc/common/source/stdlib/ |
D | malloc.c | 292 void *calloc(size_t nmemb, size_t size) in calloc() argument 296 if (size_mul_overflow(nmemb, size, &size)) { in calloc() 312 void *reallocarray(void *ptr, size_t nmemb, size_t size) in reallocarray() argument 314 if (size_mul_overflow(nmemb, size, &size)) { in reallocarray()
|
/Zephyr-latest/scripts/native_simulator/common/src/include/ |
D | nsi_host_trampolines.h | 25 void *nsi_host_calloc(unsigned long nmemb, unsigned long size);
|
/Zephyr-latest/kernel/ |
D | mempool.c | 94 void *k_calloc(size_t nmemb, size_t size) in k_calloc() argument 101 if (size_mul_overflow(nmemb, size, &bounds)) { in k_calloc()
|
/Zephyr-latest/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-latest/subsys/tracing/test/ |
D | tracing_test.h | 406 sys_trace_k_heap_sys_k_calloc_enter(heap, nmemb, size) 408 sys_trace_k_heap_sys_k_calloc_exit(heap, nmemb, size, ret) 685 void sys_trace_k_heap_sys_k_calloc_enter(struct k_heap *h, size_t nmemb, size_t size); 686 void sys_trace_k_heap_sys_k_calloc_exit(struct k_heap *h, size_t nmemb, size_t size, void *ret);
|
/Zephyr-latest/include/zephyr/ |
D | kernel.h | 5710 void *k_calloc(size_t nmemb, size_t size);
|