Searched refs:k_calloc (Results 1 – 17 of 17) sorted by relevance
/Zephyr-latest/kernel/ |
D | mempool.c | 94 void *k_calloc(size_t nmemb, size_t size) in k_calloc() function 99 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_heap_sys, k_calloc, _SYSTEM_HEAP); in k_calloc() 102 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_heap_sys, k_calloc, _SYSTEM_HEAP, NULL); in k_calloc() 112 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_heap_sys, k_calloc, _SYSTEM_HEAP, ret); in k_calloc()
|
/Zephyr-latest/drivers/wifi/infineon/ |
D | airoc_whd_hal_common.c | 74 return k_calloc(nitems, size); in whd_mem_calloc()
|
/Zephyr-latest/tests/lib/multi_heap/src/ |
D | test_mheap_api.c | 245 mem = k_calloc(NMEMB, OVERFLOW_SIZE); in ZTEST() 249 mem = k_calloc(NMEMB * 3, SIZE); in ZTEST() 252 mem = k_calloc(NMEMB, SIZE); in ZTEST()
|
/Zephyr-latest/lib/posix/options/ |
D | semaphore.c | 275 nsem = k_calloc(1, sizeof(struct nsem_obj)); in sem_open() 283 nsem->name = k_calloc(namelen + 1, sizeof(uint8_t)); in sem_open()
|
D | shm.c | 129 virt = k_calloc(1, length); in shm_ftruncate() 354 shm = k_calloc(1, sizeof(*shm)); in shm_open()
|
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/ |
D | mempool.c | 63 mslab->pool = k_calloc(block_count, block_size); in osMemoryPoolNew()
|
D | msgq.c | 61 msgq->pool = k_calloc(msg_count, msg_size); in osMessageQueueNew()
|
/Zephyr-latest/subsys/net/ip/ |
D | tcp_private.h | 45 #define tcp_calloc(_nmemb, _size) k_calloc(_nmemb, _size)
|
D | tp.c | 291 struct tp_seq *seq = k_calloc(1, sizeof(struct tp_seq)); in tp_seq_track()
|
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/ |
D | thread_apis.c | 80 thread_array = k_calloc(max_num_threads, sizeof(osThreadId_t)); in thread2()
|
/Zephyr-latest/drivers/spi/ |
D | spi_esp32_spim.c | 104 rx_temp = k_calloc(((dma_len_rx << 3) + 31) / 8, sizeof(uint8_t)); in spi_esp32_transfer()
|
/Zephyr-latest/drivers/net/ |
D | nsos_sockets.c | 859 msg_iov = k_calloc(msg->msg_iovlen, sizeof(*msg_iov)); in nsos_sendmsg() 1455 res_wraps = k_calloc(n_res, sizeof(*res_wraps)); in addrinfo_from_nsos_mid()
|
/Zephyr-latest/subsys/mgmt/hawkbit/ |
D | hawkbit.c | 1241 s->hb_context.response_data = k_calloc(s->hb_context.response_data_size, sizeof(uint8_t)); in s_http_start()
|
/Zephyr-latest/include/zephyr/ |
D | kernel.h | 5834 void *k_calloc(size_t nmemb, size_t size);
|
/Zephyr-latest/doc/releases/ |
D | release-notes-1.12.rst | 33 issue in k_malloc and k_calloc. 36 * kernel: mempool: Always check for overflow in k_calloc()
|
D | release-notes-1.10.rst | 46 * add k_calloc() which uses kernel heap to implement traditional calloc()
|
/Zephyr-latest/drivers/dai/intel/ssp/ |
D | ssp.c | 2621 ssp = k_calloc(1, sizeof(*ssp)); in dai_ssp_probe()
|