Home
last modified time | relevance | path

Searched refs:k_calloc (Results 1 – 17 of 17) sorted by relevance

/Zephyr-latest/kernel/
Dmempool.c94 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/
Dairoc_whd_hal_common.c74 return k_calloc(nitems, size); in whd_mem_calloc()
/Zephyr-latest/tests/lib/multi_heap/src/
Dtest_mheap_api.c245 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/
Dsemaphore.c275 nsem = k_calloc(1, sizeof(struct nsem_obj)); in sem_open()
283 nsem->name = k_calloc(namelen + 1, sizeof(uint8_t)); in sem_open()
Dshm.c129 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/
Dmempool.c63 mslab->pool = k_calloc(block_count, block_size); in osMemoryPoolNew()
Dmsgq.c61 msgq->pool = k_calloc(msg_count, msg_size); in osMessageQueueNew()
/Zephyr-latest/subsys/net/ip/
Dtcp_private.h45 #define tcp_calloc(_nmemb, _size) k_calloc(_nmemb, _size)
Dtp.c291 struct tp_seq *seq = k_calloc(1, sizeof(struct tp_seq)); in tp_seq_track()
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/
Dthread_apis.c80 thread_array = k_calloc(max_num_threads, sizeof(osThreadId_t)); in thread2()
/Zephyr-latest/drivers/spi/
Dspi_esp32_spim.c104 rx_temp = k_calloc(((dma_len_rx << 3) + 31) / 8, sizeof(uint8_t)); in spi_esp32_transfer()
/Zephyr-latest/drivers/net/
Dnsos_sockets.c859 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/
Dhawkbit.c1241 s->hb_context.response_data = k_calloc(s->hb_context.response_data_size, sizeof(uint8_t)); in s_http_start()
/Zephyr-latest/include/zephyr/
Dkernel.h5834 void *k_calloc(size_t nmemb, size_t size);
/Zephyr-latest/doc/releases/
Drelease-notes-1.12.rst33 issue in k_malloc and k_calloc.
36 * kernel: mempool: Always check for overflow in k_calloc()
Drelease-notes-1.10.rst46 * add k_calloc() which uses kernel heap to implement traditional calloc()
/Zephyr-latest/drivers/dai/intel/ssp/
Dssp.c2621 ssp = k_calloc(1, sizeof(*ssp)); in dai_ssp_probe()