/lk-master/platform/armemu/ |
A D | net.c | 350 struct netif *netif = calloc(sizeof(struct netif), 1); in ethernet_init() 351 struct ip_addr *ipaddr = calloc(sizeof(struct ip_addr), 1); in ethernet_init() 352 struct ip_addr *netmask = calloc(sizeof(struct ip_addr), 1); in ethernet_init() 353 struct ip_addr *gw = calloc(sizeof(struct ip_addr), 1); in ethernet_init()
|
/lk-master/lib/heap/include/lib/ |
A D | heap.h | 19 void *calloc(size_t count, size_t size) __MALLOC;
|
/lk-master/external/lib/lwip/include/lwip/ |
A D | mem.h | 60 #define mem_calloc calloc
|
/lk-master/external/platform/pico/common/pico_util/ |
A D | pheap.c | 13 pheap_t *heap = calloc(1, sizeof(pheap_t)); in ph_create() 16 heap->nodes = calloc(max_nodes, sizeof(pheap_node_t)); in ph_create()
|
A D | queue.c | 13 q->data = (uint8_t *)calloc(element_count + 1, element_size); in queue_init_with_spinlock()
|
/lk-master/platform/zynq/ |
A D | spiflash.c | 209 uint8_t *buf = calloc(1, 512); in spiflash_detect() 450 uint8_t *buf = calloc(1, 512); in cmd_spiflash() 463 uint8_t *buf = calloc(1, 1024); in cmd_spiflash() 488 uint8_t *buf = calloc(1, argv[3].u); in cmd_spiflash()
|
/lk-master/lib/evlog/ |
A D | evlog.c | 38 uintptr_t *items = calloc(1, len * sizeof(uintptr_t)); in evlog_init()
|
/lk-master/kernel/ |
A D | port.c | 155 wp = calloc(1, sizeof(write_port_t)); in port_create() 185 read_port_t *rp = calloc(1, sizeof(read_port_t)); in port_open() 261 port_group_t *pg = calloc(1, sizeof(port_group_t)); in port_group()
|
/lk-master/dev/net/pcnet/ |
A D | pcnet.c | 144 struct pcnet_state *state = calloc(1, sizeof(struct pcnet_state)); in pcnet_init() 178 state->rx_buffers = calloc(state->rd_count, sizeof(struct pbuf *)); in pcnet_init() 179 state->tx_buffers = calloc(state->td_count, sizeof(struct pbuf *)); in pcnet_init()
|
/lk-master/external/platform/pico/common/pico_time/ |
A D | time.c | 165 pool->entries = (alarm_pool_entry_t *)calloc(max_timers, sizeof(alarm_pool_entry_t)); in alarm_pool_create() 166 pool->entry_ids_high = (uint8_t *)calloc(max_timers, sizeof(uint8_t)); in alarm_pool_create()
|
/lk-master/external/lib/heap/dlmalloc/include/lib/ |
A D | dlmalloc.h | 56 #define dlcalloc calloc
|
/lk-master/external/lib/lwip/ |
A D | sys_arch.c | 77 mbox->queue = calloc(size, sizeof(void *)); in sys_mbox_new()
|
/lk-master/lib/bootimage/ |
A D | bootimage.c | 142 *bi = calloc(1, sizeof(bootimage_t)); in bootimage_open()
|
/lk-master/lib/elf/ |
A D | elf.c | 197 handle->pheaders = calloc(1, handle->eheader.e_phnum * handle->eheader.e_phentsize); in elf_load()
|
/lk-master/lib/sysparam/ |
A D | sysparam.c | 318 uint8_t *buf = calloc(1, params.len); in sysparam_write() 476 uint8_t *hexbuffer = calloc(1, strlen(str) / 2 + 1); in hexstr_to_val()
|
/lk-master/lib/heap/ |
A D | heap_wrapper.c | 180 void *calloc(size_t count, size_t size) { in calloc() function
|
/lk-master/kernel/vm/ |
A D | vmm.c | 94 vmm_region_t *r = calloc(1, sizeof(vmm_region_t)); in alloc_region_struct() 588 vmm_aspace_t *aspace = calloc(1, sizeof(vmm_aspace_t)); in vmm_create_aspace()
|
/lk-master/lib/fs/memfs/ |
A D | memfs.c | 133 file->ptr = calloc(1, len); in memfs_create()
|
/lk-master/platform/pc/ |
A D | ide.c | 216 struct ide_driver_state *state = calloc(1, sizeof(struct ide_driver_state)); in ide_init() 861 info = calloc(1, 512); in ide_detect_ata()
|
/lk-master/dev/virtio/net/ |
A D | virtio-net.c | 131 struct virtio_net_dev *ndev = calloc(1, sizeof(struct virtio_net_dev)); in virtio_net_init()
|
/lk-master/dev/virtio/ |
A D | virtio.c | 122 devices = calloc(count, sizeof(struct virtio_device)); in virtio_mmio_detect()
|
/lk-master/lib/console/ |
A D | console.c | 689 console_t *con = calloc(1, sizeof(console_t)); in console_create()
|
/lk-master/lib/ptable/ |
A D | ptable.c | 266 mentry = calloc(1, sizeof(struct ptable_mem_entry)); in ptable_publish()
|
/lk-master/lib/minip/ |
A D | tcp.c | 913 s = calloc(1, sizeof(tcp_socket_t)); in create_tcp_socket()
|
/lk-master/external/lib/heap/dlmalloc/ |
A D | dlmalloc.c | 844 #define dlcalloc calloc
|