/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 | 185 mem = k_calloc(NMEMB, OVERFLOW_SIZE); in ZTEST() 189 mem = k_calloc(NMEMB * 3, SIZE); in ZTEST() 192 mem = k_calloc(NMEMB, SIZE); in ZTEST()
|
/Zephyr-latest/modules/nrf_wifi/os/ |
D | shim.c | 44 return k_calloc(size_aligned, sizeof(char)); in zep_shim_mem_zalloc() 216 nbuff = (struct nwb *)k_calloc(sizeof(struct nwb), sizeof(char)); in zep_shim_nbuf_alloc() 222 nbuff->priv = k_calloc(size, sizeof(char)); in zep_shim_nbuf_alloc() 446 llist_node = k_calloc(sizeof(*llist_node), sizeof(char)); in zep_shim_llist_node_alloc() 485 llist = k_calloc(sizeof(*llist), sizeof(char)); in zep_shim_llist_alloc() 701 qspi_priv = k_calloc(sizeof(*qspi_priv), sizeof(char)); in zep_shim_bus_qspi_init() 792 intr_priv = k_calloc(sizeof(*intr_priv), sizeof(char)); in zep_shim_bus_qspi_intr_reg()
|
/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 | 60 mslab->pool = k_calloc(block_count, block_size); in osMemoryPoolNew()
|
D | msgq.c | 59 msgq->pool = k_calloc(msg_count, msg_size); in osMessageQueueNew()
|
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/ |
D | thread_apis.c | 79 thread_array = k_calloc(max_num_threads, sizeof(osThreadId_t)); in thread2()
|
/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/drivers/wifi/nrf_wifi/src/ |
D | wifi_mgmt_scan.c | 112 scan_info = k_calloc(sizeof(*scan_info) + in nrf_wifi_disp_scan_zep()
|
D | wpa_supp_if.c | 177 r = k_calloc(sizeof(*r) + ie_len + beacon_ie_len, sizeof(char)); in nrf_wifi_wpa_supp_event_proc_scan_res() 522 scan_info = k_calloc(sizeof(*scan_info) + (num_freqs * sizeof(unsigned int)), in nrf_wifi_wpa_supp_scan2() 1413 mgmt_tx_info = k_calloc(sizeof(*mgmt_tx_info), sizeof(char)); in nrf_wifi_nl80211_send_mlme()
|
D | net_if.c | 463 mcast_info = k_calloc(sizeof(*mcast_info), sizeof(char)); in ip_maddr_event_handler()
|
/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 | 1180 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 | 5710 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 | 2620 ssp = k_calloc(1, sizeof(*ssp)); in dai_ssp_probe()
|