Home
last modified time | relevance | path

Searched refs:k_calloc (Results 1 – 21 of 21) 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.c185 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/
Dshim.c44 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/
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.c60 mslab->pool = k_calloc(block_count, block_size); in osMemoryPoolNew()
Dmsgq.c59 msgq->pool = k_calloc(msg_count, msg_size); in osMessageQueueNew()
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/
Dthread_apis.c79 thread_array = k_calloc(max_num_threads, sizeof(osThreadId_t)); in thread2()
/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/drivers/wifi/nrf_wifi/src/
Dwifi_mgmt_scan.c112 scan_info = k_calloc(sizeof(*scan_info) + in nrf_wifi_disp_scan_zep()
Dwpa_supp_if.c177 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()
Dnet_if.c463 mcast_info = k_calloc(sizeof(*mcast_info), sizeof(char)); in ip_maddr_event_handler()
/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.c1180 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.h5710 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.c2620 ssp = k_calloc(1, sizeof(*ssp)); in dai_ssp_probe()