Home
last modified time | relevance | path

Searched refs:container_of (Results 1 – 25 of 261) sorted by relevance

1234567891011

/qemu/tests/qtest/libqos/
H A Dpci-spapr.c27 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_readb()
33 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_writeb()
39 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_readw()
45 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_writew()
51 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_readl()
57 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_writel()
63 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_readq()
69 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_pio_writeq()
76 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_memread()
83 QPCIBusSPAPR *s = container_of(bus, QPCIBusSPAPR, bus); in qpci_spapr_memwrite()
[all …]
H A Dvirtio-mmio.c21 QVirtioMMIODevice *dev = container_of(d, QVirtioMMIODevice, vdev); in qvirtio_mmio_config_readb()
27 QVirtioMMIODevice *dev = container_of(d, QVirtioMMIODevice, vdev); in qvirtio_mmio_config_readw()
33 QVirtioMMIODevice *dev = container_of(d, QVirtioMMIODevice, vdev); in qvirtio_mmio_config_readl()
39 QVirtioMMIODevice *dev = container_of(d, QVirtioMMIODevice, vdev); in qvirtio_mmio_config_readq()
45 QVirtioMMIODevice *dev = container_of(d, QVirtioMMIODevice, vdev); in qvirtio_mmio_get_features()
62 QVirtioMMIODevice *dev = container_of(d, QVirtioMMIODevice, vdev); in qvirtio_mmio_set_features()
76 QVirtioMMIODevice *dev = container_of(d, QVirtioMMIODevice, vdev); in qvirtio_mmio_get_guest_features()
82 QVirtioMMIODevice *dev = container_of(d, QVirtioMMIODevice, vdev); in qvirtio_mmio_get_status()
88 QVirtioMMIODevice *dev = container_of(d, QVirtioMMIODevice, vdev); in qvirtio_mmio_set_status()
94 QVirtioMMIODevice *dev = container_of(d, QVirtioMMIODevice, vdev); in qvirtio_mmio_get_queue_isr_status()
[all …]
H A Dgeneric-pcihost.c44 QGenericPCIBus *s = container_of(bus, QGenericPCIBus, bus); in qpci_generic_pio_readb()
51 QGenericPCIBus *s = container_of(bus, QGenericPCIBus, bus); in qpci_generic_pio_writeb()
58 QGenericPCIBus *s = container_of(bus, QGenericPCIBus, bus); in qpci_generic_pio_readw()
65 QGenericPCIBus *s = container_of(bus, QGenericPCIBus, bus); in qpci_generic_pio_writew()
72 QGenericPCIBus *s = container_of(bus, QGenericPCIBus, bus); in qpci_generic_pio_readl()
79 QGenericPCIBus *s = container_of(bus, QGenericPCIBus, bus); in qpci_generic_pio_writel()
86 QGenericPCIBus *s = container_of(bus, QGenericPCIBus, bus); in qpci_generic_pio_readq()
93 QGenericPCIBus *s = container_of(bus, QGenericPCIBus, bus); in qpci_generic_pio_writeq()
111 QGenericPCIBus *gbus = container_of(bus, QGenericPCIBus, bus); in qpci_generic_config_readb()
121 QGenericPCIBus *gbus = container_of(bus, QGenericPCIBus, bus); in qpci_generic_config_readw()
[all …]
H A Dvirtio-pci-modern.c18 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in config_readb()
24 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in config_readw()
30 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in config_readl()
36 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in config_readq()
42 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in get_features()
64 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in set_features()
89 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in get_guest_features()
111 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in get_status()
153 QVirtQueuePCI *vqpci = container_of(vq, QVirtQueuePCI, vq); in get_queue_isr_status()
237 vqpci = container_of(vq, QVirtQueuePCI, vq); in virtqueue_setup()
[all …]
H A Dvirtio-pci.c44 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in qvirtio_pci_config_readb()
57 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in qvirtio_pci_config_readw()
69 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in qvirtio_pci_config_readl()
81 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in qvirtio_pci_config_readq()
94 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in qvirtio_pci_get_features()
100 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in qvirtio_pci_set_features()
106 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in qvirtio_pci_get_guest_features()
112 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in qvirtio_pci_get_status()
118 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in qvirtio_pci_set_status()
124 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in qvirtio_pci_get_queue_isr_status()
[all …]
H A Dsdhci.c40 QSDHCI_MemoryMapped *smm = container_of(s, QSDHCI_MemoryMapped, sdhci); in sdhci_mm_readw()
46 QSDHCI_MemoryMapped *smm = container_of(s, QSDHCI_MemoryMapped, sdhci); in sdhci_mm_readq()
52 QSDHCI_MemoryMapped *smm = container_of(s, QSDHCI_MemoryMapped, sdhci); in sdhci_mm_writeq()
82 QSDHCI_PCI *spci = container_of(s, QSDHCI_PCI, sdhci); in sdhci_pci_readw()
88 QSDHCI_PCI *spci = container_of(s, QSDHCI_PCI, sdhci); in sdhci_pci_readq()
94 QSDHCI_PCI *spci = container_of(s, QSDHCI_PCI, sdhci); in sdhci_pci_writeq()
/qemu/audio/
H A Dspiceaudio.c95 SpiceVoiceOut *out = container_of (hw, SpiceVoiceOut, hw); in line_out_init()
121 SpiceVoiceOut *out = container_of (hw, SpiceVoiceOut, hw); in line_out_fini()
128 SpiceVoiceOut *out = container_of(hw, SpiceVoiceOut, hw); in line_out_get_free()
135 SpiceVoiceOut *out = container_of(hw, SpiceVoiceOut, hw); in line_out_get_buffer()
151 SpiceVoiceOut *out = container_of(hw, SpiceVoiceOut, hw); in line_out_put_buffer()
196 SpiceVoiceOut *out = container_of(hw, SpiceVoiceOut, hw); in line_out_volume()
211 SpiceVoiceIn *in = container_of (hw, SpiceVoiceIn, hw); in line_in_init()
237 SpiceVoiceIn *in = container_of (hw, SpiceVoiceIn, hw); in line_in_fini()
244 SpiceVoiceIn *in = container_of (hw, SpiceVoiceIn, hw); in line_in_read()
262 SpiceVoiceIn *in = container_of (hw, SpiceVoiceIn, hw); in line_in_enable()
[all …]
H A Ddbusaudio.c81 DBusVoiceOut *vo = container_of(hw, DBusVoiceOut, hw); in dbus_get_buffer_out()
99 DBusVoiceOut *vo = container_of(hw, DBusVoiceOut, hw); in dbus_put_buffer_out()
158 DBusVoiceOut *vo = container_of(hw, DBusVoiceOut, hw); in dbus_init_out()
177 DBusVoiceOut *vo = container_of(hw, DBusVoiceOut, hw); in dbus_fini_out()
196 DBusVoiceOut *vo = container_of(hw, DBusVoiceOut, hw); in dbus_enable_out()
217 DBusVoiceOut *vo = container_of(hw, DBusVoiceOut, hw); in dbus_volume_out_listener()
238 DBusVoiceOut *vo = container_of(hw, DBusVoiceOut, hw); in dbus_volume_out()
272 DBusVoiceIn *vo = container_of(hw, DBusVoiceIn, hw); in dbus_init_in()
307 DBusVoiceIn *vo = container_of(hw, DBusVoiceIn, hw); in dbus_volume_in_listener()
328 DBusVoiceIn *vo = container_of(hw, DBusVoiceIn, hw); in dbus_volume_in()
[all …]
/qemu/block/export/
H A Dvhost-user-blk-server.c62 VuBlkExport *vexp = container_of(server, VuBlkExport, vu_server); in vu_blk_virtio_process_req()
84 VuServer *server = container_of(vu_dev, VuServer, vu_dev); in vu_blk_process_vq()
119 VuServer *server = container_of(dev, VuServer, vu_dev); in vu_blk_get_features()
120 VuBlkExport *vexp = container_of(server, VuBlkExport, vu_server); in vu_blk_get_features()
150 VuServer *server = container_of(vu_dev, VuServer, vu_dev); in vu_blk_get_config()
151 VuBlkExport *vexp = container_of(server, VuBlkExport, vu_server); in vu_blk_get_config()
165 VuServer *server = container_of(vu_dev, VuServer, vu_dev); in vu_blk_set_config()
166 VuBlkExport *vexp = container_of(server, VuBlkExport, vu_server); in vu_blk_set_config()
259 VuBlkExport *vexp = container_of(exp, VuBlkExport, export); in vu_blk_exp_request_shutdown()
320 VuBlkExport *vexp = container_of(exp, VuBlkExport, export); in vu_blk_exp_create()
[all …]
H A Dvduse-blk.c207 VduseBlkExport *vblk_exp = container_of(exp, VduseBlkExport, export); in vduse_blk_resize()
240 VduseBlkExport *vblk_exp = container_of(exp, VduseBlkExport, export); in vduse_blk_drained_begin()
248 VduseBlkExport *vblk_exp = container_of(exp, VduseBlkExport, export); in vduse_blk_drained_end()
256 VduseBlkExport *vblk_exp = container_of(exp, VduseBlkExport, export); in vduse_blk_drained_poll()
271 VduseBlkExport *vblk_exp = container_of(exp, VduseBlkExport, export); in vduse_blk_exp_create()
389 VduseBlkExport *vblk_exp = container_of(exp, VduseBlkExport, export); in vduse_blk_exp_delete()
408 VduseBlkExport *vblk_exp = container_of(exp, VduseBlkExport, export); in vduse_blk_exp_request_shutdown()
/qemu/ui/
H A Dspice-input.c52 QemuSpiceKbd *kbd = container_of(sin, QemuSpiceKbd, sin); in kbd_push_key()
84 QemuSpiceKbd *kbd = container_of(sin, QemuSpiceKbd, sin); in kbd_get_leds()
146 QemuSpicePointer *pointer = container_of(sin, QemuSpicePointer, mouse); in mouse_motion()
155 QemuSpicePointer *pointer = container_of(sin, QemuSpicePointer, mouse); in mouse_buttons()
171 QemuSpicePointer *pointer = container_of(sin, QemuSpicePointer, tablet); in tablet_set_logical_size()
186 QemuSpicePointer *pointer = container_of(sin, QemuSpicePointer, tablet); in tablet_position()
198 QemuSpicePointer *pointer = container_of(sin, QemuSpicePointer, tablet); in tablet_wheel()
207 QemuSpicePointer *pointer = container_of(sin, QemuSpicePointer, tablet); in tablet_buttons()
226 QemuSpicePointer *pointer = container_of(notifier, QemuSpicePointer, mouse_mode); in mouse_mode_notifier()
H A Dsdl2-gl.c66 struct sdl2_console *scon = container_of(dcl, struct sdl2_console, dcl); in sdl2_gl_update()
82 struct sdl2_console *scon = container_of(dcl, struct sdl2_console, dcl); in sdl2_gl_switch()
113 struct sdl2_console *scon = container_of(dcl, struct sdl2_console, dcl); in sdl2_gl_refresh()
142 struct sdl2_console *scon = container_of(dgc, struct sdl2_console, dgc); in sdl2_gl_create_context()
184 struct sdl2_console *scon = container_of(dgc, struct sdl2_console, dgc); in sdl2_gl_make_context_current()
194 struct sdl2_console *scon = container_of(dcl, struct sdl2_console, dcl); in sdl2_gl_scanout_disable()
211 struct sdl2_console *scon = container_of(dcl, struct sdl2_console, dcl); in sdl2_gl_scanout_texture()
230 struct sdl2_console *scon = container_of(dcl, struct sdl2_console, dcl); in sdl2_gl_scanout_flush()
H A Dgtk-egl.c133 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_egl_update()
149 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_egl_refresh()
190 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_egl_switch()
220 VirtualConsole *vc = container_of(dgc, VirtualConsole, gfx.dgc); in gd_egl_create_context()
229 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_egl_scanout_disable()
243 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_egl_scanout_texture()
270 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_egl_scanout_dmabuf()
305 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_egl_cursor_dmabuf()
328 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_egl_cursor_position()
337 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_egl_scanout_flush()
[all …]
H A Degl-headless.c37 egl_dpy *edpy = container_of(dcl, egl_dpy, dcl); in egl_gfx_switch()
52 egl_dpy *edpy = container_of(dcl, egl_dpy, dcl); in egl_scanout_disable()
67 egl_dpy *edpy = container_of(dcl, egl_dpy, dcl); in egl_scanout_texture()
108 egl_dpy *edpy = container_of(dcl, egl_dpy, dcl); in egl_cursor_dmabuf()
136 egl_dpy *edpy = container_of(dcl, egl_dpy, dcl); in egl_cursor_position()
146 egl_dpy *edpy = container_of(dcl, egl_dpy, dcl); in egl_scanout_flush()
H A Dspice-display.c525 SimpleSpiceDisplay *ssd = container_of(sin, SimpleSpiceDisplay, qxl); in interface_get_init_info()
538 SimpleSpiceDisplay *ssd = container_of(sin, SimpleSpiceDisplay, qxl); in interface_get_command()
562 SimpleSpiceDisplay *ssd = container_of(sin, SimpleSpiceDisplay, qxl); in interface_release_resource()
574 update = container_of(ext, SimpleSpiceUpdate, ext); in interface_release_resource()
578 cursor = container_of(ext, SimpleSpiceCursor, ext); in interface_release_resource()
588 SimpleSpiceDisplay *ssd = container_of(sin, SimpleSpiceDisplay, qxl); in interface_get_cursor_command()
670 SimpleSpiceDisplay *ssd = container_of(sin, SimpleSpiceDisplay, qxl); in interface_client_monitors_config()
733 SimpleSpiceDisplay *ssd = container_of(dcl, SimpleSpiceDisplay, dcl); in display_update()
740 SimpleSpiceDisplay *ssd = container_of(dcl, SimpleSpiceDisplay, dcl); in display_switch()
746 SimpleSpiceDisplay *ssd = container_of(dcl, SimpleSpiceDisplay, dcl); in display_refresh()
[all …]
H A Dgtk-gl-area.c112 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_gl_area_update()
126 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_gl_area_refresh()
159 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_gl_area_switch()
202 VirtualConsole *vc = container_of(dgc, VirtualConsole, gfx.dgc); in gd_gl_area_create_context()
260 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_gl_area_scanout_texture()
282 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_gl_area_scanout_disable()
290 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_gl_area_scanout_flush()
305 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_gl_area_scanout_dmabuf()
H A Ddbus-listener.c119 DBusDisplayListener *ddl = container_of(dcl, DBusDisplayListener, dcl); in dbus_scanout_disable()
244 DBusDisplayListener *ddl = container_of(dcl, DBusDisplayListener, dcl); in dbus_call_update_gl()
294 DBusDisplayListener *ddl = container_of(dcl, DBusDisplayListener, dcl); in dbus_scanout_dmabuf()
527 DBusDisplayListener *ddl = container_of(dcl, DBusDisplayListener, dcl); in dbus_scanout_texture()
548 DBusDisplayListener *ddl = container_of(dcl, DBusDisplayListener, dcl); in dbus_cursor_dmabuf()
607 DBusDisplayListener *ddl = container_of(dcl, DBusDisplayListener, dcl); in dbus_gl_cursor_position()
623 DBusDisplayListener *ddl = container_of(dcl, DBusDisplayListener, dcl); in dbus_gl_refresh()
661 DBusDisplayListener *ddl = container_of(dcl, DBusDisplayListener, dcl); in dbus_gl_gfx_update()
737 DBusDisplayListener *ddl = container_of(dcl, DBusDisplayListener, dcl); in dbus_gfx_update()
771 DBusDisplayListener *ddl = container_of(dcl, DBusDisplayListener, dcl); in dbus_gl_gfx_switch()
[all …]
/qemu/block/
H A Dthrottle-groups.c157 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_unref()
184 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_next_tgm()
223 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in next_throttle_token()
271 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_schedule_timer()
324 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in schedule_next_request()
409 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_restart_queue_entry()
478 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_config()
496 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_get_config()
511 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in timer_cb()
549 ThrottleGroup *tg = container_of(ts, ThrottleGroup, ts); in throttle_group_register_tgm()
[all …]
H A Dbackup.c87 BackupBlockJob *s = container_of(job, BackupBlockJob, common.job); in backup_commit()
95 BackupBlockJob *s = container_of(job, BackupBlockJob, common.job); in backup_abort()
103 BackupBlockJob *s = container_of(job, BackupBlockJob, common.job); in backup_clean()
110 BackupBlockJob *backup_job = container_of(job, BackupBlockJob, common); in backup_do_checkpoint()
252 BackupBlockJob *s = container_of(job, BackupBlockJob, common.job); in backup_run()
306 BackupBlockJob *s = container_of(job, BackupBlockJob, common.job); in backup_pause()
317 BackupBlockJob *s = container_of(job, BackupBlockJob, common); in backup_set_speed()
333 BackupBlockJob *s = container_of(job, BackupBlockJob, common.job); in backup_cancel()
/qemu/hw/vfio/
H A Dspapr.c55 VFIOSpaprContainer *scontainer = container_of(listener, VFIOSpaprContainer, in vfio_prereg_listener_region_add()
115 VFIOSpaprContainer *scontainer = container_of(listener, VFIOSpaprContainer, in vfio_prereg_listener_region_del()
333 VFIOContainer *container = container_of(bcontainer, VFIOContainer, in vfio_spapr_container_add_section_window()
335 VFIOSpaprContainer *scontainer = container_of(container, VFIOSpaprContainer, in vfio_spapr_container_add_section_window()
425 VFIOContainer *container = container_of(bcontainer, VFIOContainer, in vfio_spapr_container_del_section_window()
427 VFIOSpaprContainer *scontainer = container_of(container, VFIOSpaprContainer, in vfio_spapr_container_del_section_window()
447 VFIOContainer *container = container_of(bcontainer, VFIOContainer, in vfio_spapr_container_release()
449 VFIOSpaprContainer *scontainer = container_of(container, VFIOSpaprContainer, in vfio_spapr_container_release()
466 VFIOContainer *container = container_of(bcontainer, VFIOContainer, in vfio_spapr_container_setup()
468 VFIOSpaprContainer *scontainer = container_of(container, VFIOSpaprContainer, in vfio_spapr_container_setup()
/qemu/hw/s390x/
H A Ds390-pci-vfio.c64 VFIOPCIDevice *vpdev = container_of(pbdev->pdev, VFIOPCIDevice, pdev); in s390_pci_start_dma_count()
110 VFIOPCIDevice *vpci = container_of(pbdev->pdev, VFIOPCIDevice, pdev); in s390_pci_read_base()
149 VFIOPCIDevice *vpci = container_of(pbdev->pdev, VFIOPCIDevice, pdev); in get_host_fh()
172 VFIOPCIDevice *vpci = container_of(pbdev->pdev, VFIOPCIDevice, pdev); in s390_pci_read_group()
248 VFIOPCIDevice *vpci = container_of(pbdev->pdev, VFIOPCIDevice, pdev); in s390_pci_read_util()
275 VFIOPCIDevice *vpci = container_of(pbdev->pdev, VFIOPCIDevice, pdev); in s390_pci_read_pfip()
298 VFIOPCIDevice *vfio_pci = container_of(pbdev->pdev, VFIOPCIDevice, pdev); in get_device_info()
/qemu/contrib/vhost-user-blk/
H A Dvhost-user-blk.c91 gdev = container_of(vu_dev, VugDev, parent); in vub_panic_cb()
92 vdev_blk = container_of(gdev, VubDev, parent); in vub_panic_cb()
338 gdev = container_of(vu_dev, VugDev, parent); in vub_process_vq()
339 vdev_blk = container_of(gdev, VubDev, parent); in vub_process_vq()
370 gdev = container_of(dev, VugDev, parent); in vub_get_features()
371 vdev_blk = container_of(gdev, VubDev, parent); in vub_get_features()
408 gdev = container_of(vu_dev, VugDev, parent); in vub_get_config()
409 vdev_blk = container_of(gdev, VubDev, parent); in vub_get_config()
429 gdev = container_of(vu_dev, VugDev, parent); in vub_set_config()
430 vdev_blk = container_of(gdev, VubDev, parent); in vub_set_config()
/qemu/subprojects/libvhost-user/
H A Dlibvhost-user-glib.c17 #ifndef container_of
18 #define container_of(ptr, type, member) \ macro
114 dev = container_of(vu_dev, VugDev, parent); in set_watch()
127 dev = container_of(vu_dev, VugDev, parent); in remove_watch()
/qemu/crypto/
H A Dcipher-afalg.c122 QCryptoAFAlgo *afalg = container_of(cipher, QCryptoAFAlgo, base); in qcrypto_afalg_cipher_setiv()
205 QCryptoAFAlgo *afalg = container_of(cipher, QCryptoAFAlgo, base); in qcrypto_afalg_cipher_encrypt()
215 QCryptoAFAlgo *afalg = container_of(cipher, QCryptoAFAlgo, base); in qcrypto_afalg_cipher_decrypt()
222 QCryptoAFAlgo *afalg = container_of(cipher, QCryptoAFAlgo, base); in qcrypto_afalg_comm_ctx_free()
/qemu/hw/9pfs/
H A Dvirtio-9p-device.c34 V9fsVirtioState *v = container_of(s, V9fsVirtioState, state); in virtio_9p_push_and_notify()
124 V9fsVirtioState *v = container_of(s, V9fsVirtioState, state); in virtio_pdu_vmarshal()
142 V9fsVirtioState *v = container_of(s, V9fsVirtioState, state); in virtio_pdu_vunmarshal()
159 V9fsVirtioState *v = container_of(s, V9fsVirtioState, state); in virtio_init_in_iov_from_pdu()
179 V9fsVirtioState *v = container_of(s, V9fsVirtioState, state); in virtio_init_out_iov_from_pdu()

1234567891011