Lines Matching refs:assign

326                                        int n, bool assign)  in virtio_pci_ioeventfd_assign()  argument
341 if (assign) { in virtio_pci_ioeventfd_assign()
1166 int n, bool assign, in virtio_pci_set_guest_notifier_fd_handler() argument
1170 virtio_config_set_guest_notifier_fd_handler(vdev, assign, with_irqfd); in virtio_pci_set_guest_notifier_fd_handler()
1172 virtio_queue_set_guest_notifier_fd_handler(vq, assign, with_irqfd); in virtio_pci_set_guest_notifier_fd_handler()
1176 static int virtio_pci_set_guest_notifier(DeviceState *d, int n, bool assign, in virtio_pci_set_guest_notifier() argument
1192 if (assign) { in virtio_pci_set_guest_notifier()
1207 vdc->guest_notifier_mask(vdev, n, !assign); in virtio_pci_set_guest_notifier()
1224 static int virtio_pci_set_guest_notifiers(DeviceState *d, int nvqs, bool assign) in virtio_pci_set_guest_notifiers() argument
1240 if (!assign && !proxy->nvqs_with_notifiers) { in virtio_pci_set_guest_notifiers()
1243 assert(assign || nvqs == proxy->nvqs_with_notifiers); in virtio_pci_set_guest_notifiers()
1250 !assign) { in virtio_pci_set_guest_notifiers()
1265 r = virtio_pci_set_guest_notifier(d, n, assign, with_irqfd); in virtio_pci_set_guest_notifiers()
1270 r = virtio_pci_set_guest_notifier(d, VIRTIO_CONFIG_IRQ_IDX, assign, in virtio_pci_set_guest_notifiers()
1278 assign) { in virtio_pci_set_guest_notifiers()
1305 assert(assign); in virtio_pci_set_guest_notifiers()
1313 virtio_pci_set_guest_notifier(d, VIRTIO_CONFIG_IRQ_IDX, !assign, in virtio_pci_set_guest_notifiers()
1317 assert(assign); in virtio_pci_set_guest_notifiers()
1319 virtio_pci_set_guest_notifier(d, n, !assign, with_irqfd); in virtio_pci_set_guest_notifiers()
1327 MemoryRegion *mr, bool assign) in virtio_pci_set_host_notifier_mr() argument
1337 if (assign) { in virtio_pci_set_host_notifier_mr()