Home
last modified time | relevance | path

Searched refs:ioc (Results 1 – 4 of 4) sorted by relevance

/devicemodel/hw/platform/
A Dioc.c1248 packet.ioc = ioc; in ioc_rx_thread()
1253 pthread_cond_wait(&ioc->rx_cond, &ioc->rx_mtx); in ioc_rx_thread()
1299 packet.ioc = ioc; in ioc_tx_thread()
1304 pthread_cond_wait(&ioc->tx_cond, &ioc->tx_mtx); in ioc_tx_thread()
1406 if (!ioc) { in vm_stop_handler()
1423 if (!ioc) { in vm_suspend_handler()
1441 if (!ioc) { in vm_resume_handler()
1531 if (!ioc) in ioc_init()
1537 if (!ioc->pool || !ioc->evts) in ioc_init()
1684 free(ioc); in ioc_init()
[all …]
A Dioc_cbc.c118 cbc_unpack_link(struct ioc_dev *ioc) in cbc_unpack_link() argument
130 struct cbc_ring *ring = &ioc->ring; in cbc_unpack_link()
212 ioc_build_request(ioc, frame_len, len); in cbc_unpack_link()
579 ioc_update_event(pkt->ioc->evt_fd, evt); in cbc_update_heartbeat()
658 reason = pkt->ioc->boot_reason; in cbc_process_wakeup_reason()
836 pkt->ioc->cbc_enable == false) { in cbc_rx_handler()
879 switch (pkt->ioc->vm_req) { in send_wakeup_reason_of_vm_request()
917 if (pkt->req->rtype == CBC_REQ_T_PROT && pkt->ioc->cbc_enable) { in cbc_tx_handler()
944 cbc_update_wakeup_reason(pkt, pkt->ioc->boot_reason | in cbc_tx_handler()
951 cbc_update_wakeup_reason(pkt, pkt->ioc->boot_reason | in cbc_tx_handler()
[all …]
/devicemodel/hw/pci/virtio/
A Dvirtio_rpmb.c560 struct virtio_rpmb_ioctl_cmd *ioc = NULL; in virtio_rpmb_seq_handler() local
577 ioc = (struct virtio_rpmb_ioctl_cmd *)(iov[0].iov_base); in virtio_rpmb_seq_handler()
578 if (!ioc) { in virtio_rpmb_seq_handler()
611 rc = rpmb_handler(ioc->cmd, pdata); in virtio_rpmb_seq_handler()
630 struct virtio_rpmb_ioctl_cmd *ioc; in virtio_rpmb_notify() local
638 ioc = (struct virtio_rpmb_ioctl_cmd *)(iov[0].iov_base); in virtio_rpmb_notify()
639 if (RPMB_IOC_SEQ_CMD != ioc->cmd) { in virtio_rpmb_notify()
643 ioc->result = virtio_rpmb_seq_handler(rpmb, iov, n, &tlen); in virtio_rpmb_notify()
/devicemodel/include/
A Dioc.h768 struct ioc_dev *ioc; /* IOC device */ member
822 int32_t (*handler)(struct ioc_dev *ioc);
838 void ioc_build_request(struct ioc_dev *ioc, int32_t link_len, int32_t srv_len);
851 void cbc_unpack_link(struct ioc_dev *ioc);

Completed in 19 milliseconds