/Zephyr-Core-2.7.6/include/kernel/ |
D | thread_stack.h | 136 #define K_KERNEL_STACK_ARRAY_EXTERN(sym, nmemb, size) \ argument 138 sym[nmemb][Z_KERNEL_STACK_LEN(size)] 151 #define K_KERNEL_PINNED_STACK_ARRAY_EXTERN(sym, nmemb, size) \ argument 153 sym[nmemb][Z_KERNEL_STACK_LEN(size)] 189 #define Z_KERNEL_STACK_ARRAY_DEFINE_IN(sym, nmemb, size, lsect) \ argument 192 sym[nmemb][Z_KERNEL_STACK_LEN(size)] 250 #define K_KERNEL_STACK_ARRAY_DEFINE(sym, nmemb, size) \ argument 251 Z_KERNEL_STACK_ARRAY_DEFINE_IN(sym, nmemb, size, __kstackmem) 268 #define K_KERNEL_PINNED_STACK_ARRAY_DEFINE(sym, nmemb, size) \ argument 269 Z_KERNEL_STACK_ARRAY_DEFINE_IN(sym, nmemb, size, __pinned_noinit) [all …]
|
/Zephyr-Core-2.7.6/lib/libc/minimal/source/stdlib/ |
D | qsort.c | 62 static void heapify(void *base, int nmemb, size_t size, comp3_t comp, void *comp_arg) in heapify() argument 66 for (start = parent(nmemb - 1); start >= 0; --start) { in heapify() 67 sift_down(base, start, nmemb, size, comp, comp_arg); in heapify() 71 static void heap_sort(void *base, int nmemb, size_t size, comp3_t comp, void *comp_arg) in heap_sort() argument 75 heapify(base, nmemb, size, comp, comp_arg); in heap_sort() 77 for (end = nmemb - 1; end > 0; --end) { in heap_sort() 83 void qsort_r(void *base, size_t nmemb, size_t size, comp3_t comp, void *arg) in qsort_r() argument 85 heap_sort(base, nmemb, size, comp, arg); in qsort_r()
|
D | malloc.c | 124 void *calloc(size_t nmemb, size_t size) in calloc() argument 128 if (size_mul_overflow(nmemb, size, &size)) { in calloc() 144 void *reallocarray(void *ptr, size_t nmemb, size_t size) in reallocarray() argument 147 if (size_mul_overflow(nmemb, size, &size)) { in reallocarray()
|
/Zephyr-Core-2.7.6/lib/libc/minimal/include/ |
D | stdlib.h | 25 void *calloc(size_t nmemb, size_t size); 27 void *reallocarray(void *ptr, size_t nmemb, size_t size); 33 void qsort_r(void *base, size_t nmemb, size_t size, 66 static inline void qsort(void *base, size_t nmemb, size_t size, in qsort() argument 71 qsort_r(base, nmemb, size, (compar3)compar, NULL); in qsort()
|
/Zephyr-Core-2.7.6/include/ |
D | syscall_handler.h | 405 #define Z_SYSCALL_MEMORY_ARRAY(ptr, nmemb, size, write) \ argument 408 Z_SYSCALL_VERIFY_MSG(!size_mul_overflow((size_t)(nmemb), \ 412 (size_t)(nmemb), (size_t)(size)) || \ 428 #define Z_SYSCALL_MEMORY_ARRAY_READ(ptr, nmemb, size) \ argument 429 Z_SYSCALL_MEMORY_ARRAY(ptr, nmemb, size, 0) 443 #define Z_SYSCALL_MEMORY_ARRAY_WRITE(ptr, nmemb, size) \ argument 444 Z_SYSCALL_MEMORY_ARRAY(ptr, nmemb, size, 1)
|
D | kernel.h | 5164 extern void *k_calloc(size_t nmemb, size_t size);
|
/Zephyr-Core-2.7.6/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-2.7.6/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-2.7.6/subsys/tracing/test/ |
D | tracing_test.h | 388 sys_trace_k_heap_sys_k_calloc_enter(heap, nmemb, size) 390 sys_trace_k_heap_sys_k_calloc_exit(heap, nmemb, size, ret) 645 void sys_trace_k_heap_sys_k_calloc_enter(struct k_heap *h, size_t nmemb, size_t size); 646 void sys_trace_k_heap_sys_k_calloc_exit(struct k_heap *h, size_t nmemb, size_t size, void *ret);
|