Home
last modified time | relevance | path

Searched refs:DO_UPCAST (Results 1 – 25 of 38) sorted by relevance

12

/openbmc/qemu/net/
H A Dvhost-user.c36 NetVhostUserState *s = DO_UPCAST(NetVhostUserState, nc, nc); in vhost_user_get_vhost_net()
43 NetVhostUserState *s = DO_UPCAST(NetVhostUserState, nc, nc); in vhost_user_get_acked_features()
52 s = DO_UPCAST(NetVhostUserState, nc, nc); in vhost_user_save_acked_features()
69 s = DO_UPCAST(NetVhostUserState, nc, ncs[i]); in vhost_user_stop()
92 s = DO_UPCAST(NetVhostUserState, nc, ncs[i]); in vhost_user_start()
139 NetVhostUserState *s = DO_UPCAST(NetVhostUserState, nc, nc); in vhost_user_receive()
162 NetVhostUserState *s = DO_UPCAST(NetVhostUserState, nc, nc); in net_vhost_user_cleanup()
260 s = DO_UPCAST(NetVhostUserState, nc, ncs[0]); in chr_closed_bh()
290 s = DO_UPCAST(NetVhostUserState, nc, ncs[0]); in net_vhost_user_event()
353 s = DO_UPCAST(NetVhostUserState, nc, nc); in net_vhost_user_init()
[all …]
H A Dhub.c96 NetHubPort *src_port = DO_UPCAST(NetHubPort, nc, nc); in net_hub_port_can_receive()
115 NetHubPort *port = DO_UPCAST(NetHubPort, nc, nc); in net_hub_port_receive()
123 NetHubPort *port = DO_UPCAST(NetHubPort, nc, nc); in net_hub_port_receive_iov()
130 NetHubPort *port = DO_UPCAST(NetHubPort, nc, nc); in net_hub_port_cleanup()
159 port = DO_UPCAST(NetHubPort, nc, nc); in net_hub_port_new()
228 port = DO_UPCAST(NetHubPort, nc, nc); in net_hub_id_for_client()
231 port = DO_UPCAST(NetHubPort, nc, nc->peer); in net_hub_id_for_client()
313 NetHubPort *source_port = DO_UPCAST(NetHubPort, nc, nc); in net_hub_flush()
H A Dnetmap.c135 NetmapState *s = DO_UPCAST(NetmapState, nc, nc); in netmap_poll()
160 NetmapState *s = DO_UPCAST(NetmapState, nc, nc); in netmap_receive_iov()
243 NetmapState *s = DO_UPCAST(NetmapState, nc, nc); in netmap_send_completed()
301 NetmapState *s = DO_UPCAST(NetmapState, nc, nc); in netmap_cleanup()
329 NetmapState *s = DO_UPCAST(NetmapState, nc, nc); in netmap_has_vnet_hdr_len()
356 NetmapState *s = DO_UPCAST(NetmapState, nc, nc); in netmap_set_vnet_hdr_len()
372 NetmapState *s = DO_UPCAST(NetmapState, nc, nc); in netmap_set_offload()
416 s = DO_UPCAST(NetmapState, nc, nc); in net_init_netmap()
H A Dtap.c119 TAPState *s = DO_UPCAST(TAPState, nc, nc); in tap_receive_iov()
155 TAPState *s = DO_UPCAST(TAPState, nc, nc); in tap_send_completed()
210 TAPState *s = DO_UPCAST(TAPState, nc, nc); in tap_has_ufo()
219 TAPState *s = DO_UPCAST(TAPState, nc, nc); in tap_has_uso()
228 TAPState *s = DO_UPCAST(TAPState, nc, nc); in tap_has_vnet_hdr()
242 TAPState *s = DO_UPCAST(TAPState, nc, nc); in tap_set_vnet_hdr_len()
253 TAPState *s = DO_UPCAST(TAPState, nc, nc); in tap_set_vnet_le()
260 TAPState *s = DO_UPCAST(TAPState, nc, nc); in tap_set_vnet_be()
268 TAPState *s = DO_UPCAST(TAPState, nc, nc); in tap_set_offload()
291 TAPState *s = DO_UPCAST(TAPState, nc, nc); in tap_cleanup()
[all …]
H A Dvde.c53 VDEState *s = DO_UPCAST(VDEState, nc, nc); in vde_receive()
65 VDEState *s = DO_UPCAST(VDEState, nc, nc); in vde_cleanup()
103 s = DO_UPCAST(VDEState, nc, nc); in net_vde_init()
H A Daf-xdp.c91 AFXDPState *s = DO_UPCAST(AFXDPState, nc, nc); in af_xdp_poll()
145 AFXDPState *s = DO_UPCAST(AFXDPState, nc, nc); in af_xdp_receive()
190 AFXDPState *s = DO_UPCAST(AFXDPState, nc, nc); in af_xdp_send_completed()
263 AFXDPState *s = DO_UPCAST(AFXDPState, nc, nc); in af_xdp_cleanup()
489 s = DO_UPCAST(AFXDPState, nc, nc); in net_init_af_xdp()
505 s = DO_UPCAST(AFXDPState, nc, nc0); in net_init_af_xdp()
H A Dsocket.c82 NetSocketState *s = DO_UPCAST(NetSocketState, nc, nc); in net_socket_receive()
117 NetSocketState *s = DO_UPCAST(NetSocketState, nc, nc); in net_socket_receive_dgram()
137 NetSocketState *s = DO_UPCAST(NetSocketState, nc, nc); in net_socket_send_completed()
308 NetSocketState *s = DO_UPCAST(NetSocketState, nc, nc); in net_socket_cleanup()
377 s = DO_UPCAST(NetSocketState, nc, nc); in net_socket_fd_init_dgram()
432 s = DO_UPCAST(NetSocketState, nc, nc); in net_socket_fd_init_stream()
530 s = DO_UPCAST(NetSocketState, nc, nc); in net_socket_listen_init()
H A Dvhost-vdpa.c137 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_get_vhost_net()
199 s = DO_UPCAST(VhostVDPAState, nc, ncs); in vhost_vdpa_add()
225 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_cleanup()
265 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_has_ufo()
300 return DO_UPCAST(VhostVDPAState, nc, nc_i); in vhost_vdpa_net_get_nc_vdpa()
373 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_net_data_start()
395 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_net_data_load()
414 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_net_client_stop()
547 s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_net_cvq_start()
627 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_net_cvq_stop()
[all …]
H A Dstream.c80 NetStreamState *s = DO_UPCAST(NetStreamState, nc, nc); in net_stream_receive()
122 NetStreamState *s = DO_UPCAST(NetStreamState, nc, nc); in net_stream_send_completed()
196 NetStreamState *s = DO_UPCAST(NetStreamState, nc, nc); in net_stream_cleanup()
314 s = DO_UPCAST(NetStreamState, nc, nc); in net_stream_server_init()
408 s = DO_UPCAST(NetStreamState, nc, nc); in net_stream_client_init()
H A Dl2tpv3.c171 NetL2TPV3State *s = DO_UPCAST(NetL2TPV3State, nc, nc); in l2tpv3_send_completed()
177 NetL2TPV3State *s = DO_UPCAST(NetL2TPV3State, nc, nc); in l2tpv3_poll()
220 NetL2TPV3State *s = DO_UPCAST(NetL2TPV3State, nc, nc); in net_l2tpv3_receive_dgram_iov()
266 NetL2TPV3State *s = DO_UPCAST(NetL2TPV3State, nc, nc); in net_l2tpv3_receive_dgram()
498 NetL2TPV3State *s = DO_UPCAST(NetL2TPV3State, nc, nc); in net_l2tpv3_cleanup()
534 s = DO_UPCAST(NetL2TPV3State, nc, nc); in net_init_l2tpv3()
H A Dvmnet-common.m72 VmnetState *s = DO_UPCAST(VmnetState, nc, nc);
191 VmnetState *s = DO_UPCAST(VmnetState, nc, nc);
215 VmnetState *s = DO_UPCAST(VmnetState, nc, nc);
277 VmnetState *s = DO_UPCAST(VmnetState, nc, nc);
369 VmnetState *s = DO_UPCAST(VmnetState, nc, nc);
H A Ddgram.c85 NetDgramState *s = DO_UPCAST(NetDgramState, nc, nc); in net_dgram_receive()
105 NetDgramState *s = DO_UPCAST(NetDgramState, nc, nc); in net_dgram_send_completed()
240 NetDgramState *s = DO_UPCAST(NetDgramState, nc, nc); in net_dgram_cleanup()
270 s = DO_UPCAST(NetDgramState, nc, nc); in net_dgram_fd_init()
/openbmc/qemu/hw/scsi/
H A Dscsi-disk.c131 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_free_request()
147 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_init_iovec()
159 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_disk_save_request()
177 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, req->dev); in scsi_disk_emulate_save_request()
186 SCSIDiskReq *r = DO_UPCAST(SCSIDiskReq, req, req); in scsi_disk_load_request()
209 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, req->dev); in scsi_disk_emulate_load_request()
226 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_handle_rw_error()
330 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_aio_complete()
378 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_write_do_fua()
418 SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev); in scsi_dma_complete()
[all …]
H A Dscsi-generic.c46 SCSIGenericReq *r = DO_UPCAST(SCSIGenericReq, req, req); in scsi_generic_save_request()
57 SCSIGenericReq *r = DO_UPCAST(SCSIGenericReq, req, req); in scsi_generic_load_request()
68 SCSIGenericReq *r = DO_UPCAST(SCSIGenericReq, req, req); in scsi_free_request()
358 SCSIGenericReq *r = DO_UPCAST(SCSIGenericReq, req, req); in scsi_read_data()
406 SCSIGenericReq *r = DO_UPCAST(SCSIGenericReq, req, req); in scsi_write_data()
428 SCSIGenericReq *r = DO_UPCAST(SCSIGenericReq, req, req); in scsi_get_buf()
455 SCSIGenericReq *r = DO_UPCAST(SCSIGenericReq, req, req); in scsi_send_command()
H A Dscsi-bus.c193 SCSIBus *bus = DO_UPCAST(SCSIBus, qbus, dev->qdev.parent_bus); in scsi_bus_parse_cdb()
323 SCSIBus *bus = DO_UPCAST(SCSIBus, qbus, dev->qdev.parent_bus); in scsi_qdev_realize()
672 SCSITargetReq *r = DO_UPCAST(SCSITargetReq, req, req); in scsi_target_send_command()
730 SCSITargetReq *r = DO_UPCAST(SCSITargetReq, req, req); in scsi_target_read_data()
744 SCSITargetReq *r = DO_UPCAST(SCSITargetReq, req, req); in scsi_target_get_buf()
751 SCSITargetReq *r = DO_UPCAST(SCSITargetReq, req, req); in scsi_target_alloc_buf()
761 SCSITargetReq *r = DO_UPCAST(SCSITargetReq, req, req); in scsi_target_free_buf()
810 SCSIBus *bus = DO_UPCAST(SCSIBus, qbus, d->qdev.parent_bus); in scsi_req_new()
1437 SCSIBus *bus = DO_UPCAST(SCSIBus, qbus, dev->qdev.parent_bus); in scsi_device_report_change()
1457 SCSIBus *bus = DO_UPCAST(SCSIBus, qbus, qbus); in scsi_req_unref()
[all …]
/openbmc/qemu/util/
H A Dcoroutine-windows.c52 CoroutineWin32 *from = DO_UPCAST(CoroutineWin32, base, from_); in qemu_coroutine_switch()
53 CoroutineWin32 *to = DO_UPCAST(CoroutineWin32, base, to_); in qemu_coroutine_switch()
84 CoroutineWin32 *co = DO_UPCAST(CoroutineWin32, base, co_); in qemu_coroutine_delete()
H A Dcoroutine-ucontext.c272 CoroutineUContext *to = DO_UPCAST(CoroutineUContext, base, opaque); in terminate_asan()
283 CoroutineUContext *co = DO_UPCAST(CoroutineUContext, base, co_); in qemu_coroutine_delete()
314 CoroutineUContext *from = DO_UPCAST(CoroutineUContext, base, from_); in qemu_coroutine_switch()
315 CoroutineUContext *to = DO_UPCAST(CoroutineUContext, base, to_); in qemu_coroutine_switch()
H A Dcoroutine-sigaltstack.c267 CoroutineSigAltStack *co = DO_UPCAST(CoroutineSigAltStack, base, co_); in qemu_coroutine_delete()
276 CoroutineSigAltStack *from = DO_UPCAST(CoroutineSigAltStack, base, from_); in qemu_coroutine_switch()
277 CoroutineSigAltStack *to = DO_UPCAST(CoroutineSigAltStack, base, to_); in qemu_coroutine_switch()
/openbmc/qemu/hw/ide/
H A Dide-bus.c83 return DO_UPCAST(IDEDevice, qdev, dev); in ide_bus_create_drive()
89 IDEState *s = &DO_UPCAST(IDEBus, qbus, bus)->ifs[unit]; in ide_get_geometry()
103 return DO_UPCAST(IDEBus, qbus, bus)->ifs[unit].chs_trans; in ide_get_bios_chs_trans()
H A Dpci.c201 BMDMAState *bm = DO_UPCAST(BMDMAState, dma, dma); in bmdma_start_dma()
223 BMDMAState *bm = DO_UPCAST(BMDMAState, dma, dma); in bmdma_prepare_buf()
275 BMDMAState *bm = DO_UPCAST(BMDMAState, dma, dma); in bmdma_rw_buf()
324 BMDMAState *bm = DO_UPCAST(BMDMAState, dma, dma); in bmdma_set_inactive()
336 BMDMAState *bm = DO_UPCAST(BMDMAState, dma, dma); in bmdma_restart_dma()
351 BMDMAState *bm = DO_UPCAST(BMDMAState, dma, dma); in bmdma_reset()
H A Dide-dev.c42 IDEBus *bus = DO_UPCAST(IDEBus, qbus, qdev->parent_bus); in ide_qdev_realize()
78 IDEBus *bus = DO_UPCAST(IDEBus, qbus, dev->qdev.parent_bus); in ide_dev_initfn()
/openbmc/qemu/hw/net/
H A Dne2000-pci.c57 PCINE2000State *d = DO_UPCAST(PCINE2000State, dev, pci_dev); in pci_ne2000_realize()
81 PCINE2000State *d = DO_UPCAST(PCINE2000State, dev, pci_dev); in pci_ne2000_exit()
91 PCINE2000State *d = DO_UPCAST(PCINE2000State, dev, pci_dev); in ne2000_instance_init()
/openbmc/qemu/hw/char/
H A Dserial-pci.c49 PCISerialState *pci = DO_UPCAST(PCISerialState, dev, dev); in OBJECT_DECLARE_SIMPLE_TYPE()
66 PCISerialState *pci = DO_UPCAST(PCISerialState, dev, dev); in serial_pci_exit()
H A Dserial-pci-multi.c54 PCIMultiSerialState *pci = DO_UPCAST(PCIMultiSerialState, dev, dev); in multi_serial_pci_exit()
97 PCIMultiSerialState *pci = DO_UPCAST(PCIMultiSerialState, dev, dev); in multi_serial_pci_realize()
184 PCIMultiSerialState *pms = DO_UPCAST(PCIMultiSerialState, dev, dev); in multi_serial_init()
/openbmc/qemu/hw/usb/
H A Ddev-storage.c244 MSDState *s = DO_UPCAST(MSDState, dev.qdev, req->bus->qbus.parent); in usb_msd_transfer_data()
266 MSDState *s = DO_UPCAST(MSDState, dev.qdev, req->bus->qbus.parent); in usb_msd_command_complete()
309 MSDState *s = DO_UPCAST(MSDState, dev.qdev, req->bus->qbus.parent); in usb_msd_request_cancelled()
562 MSDState *s = DO_UPCAST(MSDState, dev.qdev, req->bus->qbus.parent); in usb_msd_load_request()

12