Searched refs:qemu_mallocz (Results 1 – 25 of 74) sorted by relevance
123
47 s = (qemu_irq *)qemu_mallocz(sizeof(qemu_irq) * n); in qemu_allocate_irqs()48 p = (struct IRQState *)qemu_mallocz(sizeof(struct IRQState) * n); in qemu_allocate_irqs()
61 t = qemu_mallocz(sizeof(DeviceType)); in qdev_register()84 dev = qemu_mallocz(t->info->size); in qdev_create()126 prop = qemu_mallocz(sizeof(*prop)); in create_prop()328 bus = qemu_mallocz(size); in qbus_create()
71 chr = qemu_mallocz(sizeof(CharDriverState)); in qemu_chr_open_msmouse()
853 s = qemu_mallocz(sizeof(USBHIDState)); in usb_tablet_init()874 s = qemu_mallocz(sizeof(USBHIDState)); in usb_mouse_init()895 s = qemu_mallocz(sizeof(USBHIDState)); in usb_keyboard_init()
241 bits = qemu_mallocz(ih + 1); in events_set_bits()275 s = (events_state *) qemu_mallocz(sizeof(events_state)); in events_dev_init()
58 struct bt_link_s *link = qemu_mallocz(sizeof(struct bt_link_s)); in bt_dummy_lmp_connection_request()
98 smc_device = qemu_mallocz(sizeof(*smc_device)); in android_arm_init_()
713 qemu_mallocz(record->attributes * sizeof(*record->attribute_list)); in sdp_service_record_build()715 qemu_mallocz(record->uuids * sizeof(*record->uuid)); in sdp_service_record_build()757 qemu_mallocz(sdp->services * sizeof(*sdp->service_list)); in sdp_service_db_build()946 struct bt_l2cap_sdp_state_s *sdp = qemu_mallocz(sizeof(*sdp)); in bt_l2cap_sdp_new_ch()
149 s = qemu_mallocz(sizeof(*s)); in goldfish_switch_add()
216 chr = qemu_mallocz(sizeof(CharDriverState)); in qemu_chr_open_null()463 chr = qemu_mallocz(sizeof(CharDriverState)); in qemu_chr_open_mux()464 d = qemu_mallocz(sizeof(MuxDriver)); in qemu_chr_open_mux()608 chr = qemu_mallocz(sizeof(CharDriverState)); in qemu_chr_open_fd()609 s = qemu_mallocz(sizeof(FDCharDriver)); in qemu_chr_open_fd()957 chr = qemu_mallocz(sizeof(CharDriverState)); in qemu_chr_open_pty()958 s = qemu_mallocz(sizeof(PtyCharDriver)); in qemu_chr_open_pty()1279 drv = qemu_mallocz(sizeof(ParallelCharDriver)); in qemu_chr_open_pp()1283 chr = qemu_mallocz(sizeof(CharDriverState)); in qemu_chr_open_pp()1342 chr = qemu_mallocz(sizeof(CharDriverState)); in qemu_chr_open_pp()[all …]
224 chr = qemu_mallocz(sizeof(CharDriverState)); in qemu_chr_open_null()471 chr = qemu_mallocz(sizeof(CharDriverState)); in qemu_chr_open_mux()472 d = qemu_mallocz(sizeof(MuxDriver)); in qemu_chr_open_mux()620 chr = qemu_mallocz(sizeof(CharDriverState)); in qemu_chr_open_fd()621 s = qemu_mallocz(sizeof(FDCharDriver)); in qemu_chr_open_fd()990 chr = qemu_mallocz(sizeof(CharDriverState)); in qemu_chr_open_pty()991 s = qemu_mallocz(sizeof(PtyCharDriver)); in qemu_chr_open_pty()1312 drv = qemu_mallocz(sizeof(ParallelCharDriver)); in qemu_chr_open_pp()1316 chr = qemu_mallocz(sizeof(CharDriverState)); in qemu_chr_open_pp()1375 chr = qemu_mallocz(sizeof(CharDriverState)); in qemu_chr_open_pp()[all …]
55 kr = qemu_mallocz(sizeof(*kr)); in add_to_key_range()74 k = qemu_mallocz(sizeof(kbd_layout_t)); in parse_keyboard_layout()
164 s = qemu_mallocz(sizeof(*s)); in glue()220 phdr = qemu_mallocz(size); in glue()238 data = qemu_mallocz(mem_size); in glue()
62 e = qemu_mallocz(sizeof(*e)); in register_module_init()
65 void *qemu_mallocz(size_t size) in qemu_mallocz() function
46 fdt = qemu_mallocz(dt_size); in load_device_tree()
246 s = qemu_mallocz(sizeof(QEMUFilePopen)); in qemu_popen()283 QEMUFileSocket *s = qemu_mallocz(sizeof(QEMUFileSocket)); in qemu_fopen_socket()323 s = qemu_mallocz(sizeof(QEMUFileStdio)); in qemu_fopen()372 s = qemu_mallocz(sizeof(QEMUFileBdrv)); in qemu_fopen_bdrv()391 f = qemu_mallocz(sizeof(QEMUFile)); in qemu_fopen_ops()1064 le = qemu_mallocz(sizeof(*le)); in qemu_loadvm_state()
62 s = qemu_mallocz(sizeof(*s)); in exec_start_outgoing_migration()
83 node = qemu_mallocz(sizeof(AioHandler)); in qemu_aio_set_fd_handler()
82 node = qemu_mallocz(sizeof(AioHandler)); in qemu_aio_set_fd_handler()
161 s = qemu_mallocz(sizeof(struct bt_vhci_s)); in bt_vhci_init()
639 s = qemu_mallocz(sizeof(QEMUPutMouseEntry)); in qemu_add_mouse_event_handler()1219 clock = qemu_mallocz(sizeof(QEMUClock)); in qemu_new_clock()1228 ts = qemu_mallocz(sizeof(QEMUTimer)); in qemu_new_timer()2019 vlan = qemu_mallocz(sizeof(struct bt_vlan_s)); in qemu_find_bt_vlan()3023 DisplayState *ds = qemu_mallocz(sizeof(DisplayState)); in dumb_display_init()3073 ioh = qemu_mallocz(sizeof(IOHandlerRecord)); in qemu_set_fd_handler2()3110 pe = qemu_mallocz(sizeof(PollingEntry)); in qemu_add_polling_cb()3508 bh = qemu_mallocz(sizeof(QEMUBH)); in qemu_bh_new()3675 e = qemu_mallocz(sizeof (*e)); in qemu_add_vm_change_state_handler()3781 re = qemu_mallocz(sizeof(QEMUResetEntry)); in qemu_register_reset()[all …]
576 s = qemu_mallocz(sizeof(QEMUPutMouseEntry)); in qemu_add_mouse_event_handler()1124 clock = qemu_mallocz(sizeof(QEMUClock)); in qemu_new_clock()1133 ts = qemu_mallocz(sizeof(QEMUTimer)); in qemu_new_timer()1890 vlan = qemu_mallocz(sizeof(struct bt_vlan_s)); in qemu_find_bt_vlan()2891 DisplayState *ds = qemu_mallocz(sizeof(DisplayState)); in dumb_display_init()2941 ioh = qemu_mallocz(sizeof(IOHandlerRecord)); in qemu_set_fd_handler2()2978 pe = qemu_mallocz(sizeof(PollingEntry)); in qemu_add_polling_cb()3379 bh = qemu_mallocz(sizeof(QEMUBH)); in qemu_bh_new()3546 e = qemu_mallocz(sizeof (*e)); in qemu_add_vm_change_state_handler()3652 re = qemu_mallocz(sizeof(QEMUResetEntry)); in qemu_register_reset()[all …]
152 DirScanner* s = qemu_mallocz(sizeof *s); in dirScanner_new()
186 conn = qemu_mallocz(sizeof(*conn)); in http_connector_connect()