Searched refs:vq (Results 26 - 40 of 40) sorted by relevance

12

/freebsd-current/sys/dev/virtio/block/
H A Dvirtio_blk.c1026 struct virtqueue *vq; local
1033 vq = sc->vtblk_vq;
1064 if (!virtqueue_empty(vq)) {
1139 error = virtqueue_enqueue(vq, req, sg, readable, writable);
1149 virtqueue_notify(vq);
1231 struct virtqueue *vq; local
1235 vq = sc->vtblk_vq;
1238 while ((req = virtqueue_drain(vq, &last)) != NULL) {
1244 KASSERT(virtqueue_empty(vq), ("virtqueue not empty"));
1282 struct virtqueue *vq; local
1426 struct virtqueue *vq; local
1473 struct virtqueue *vq; local
[all...]
/freebsd-current/sys/libkern/
H A Dqdivrem.c80 __qdivrem(u_quad_t uq, u_quad_t vq, u_quad_t *arq) argument
92 if (__predict_false(vq == 0)) {
101 if (uq < vq) {
129 tmp.uq = vq;
/freebsd-current/lib/libc/quad/
H A Dqdivrem.c79 __qdivrem(u_quad_t uq, u_quad_t vq, u_quad_t *arq) argument
91 if (__predict_false(vq == 0)) {
100 if (uq < vq) {
128 tmp.uq = vq;
/freebsd-current/usr.bin/du/tests/
H A Ddu_test.sh70 atf_check -s exit:1 egrep -vq "${lineprefix}$(echo $paths1 | sed -e "s/ /$sep/g")$" du.out
77 atf_check -s exit:1 egrep -vq "${lineprefix}$(echo $paths2 | sed -e "s/ /$sep/g")$" du_C.out
/freebsd-current/sys/dev/virtio/network/
H A Dif_vtnet.c1110 struct virtqueue *vq = sc->vtnet_txqs[0].vtntx_vq; local
1112 if_setsendqlen(ifp, virtqueue_size(vq) - 1);
1472 struct virtqueue *vq; local
1481 vq = rxq->vtnrx_vq;
1484 for (nbufs = 0; !virtqueue_full(vq); nbufs++) {
1491 virtqueue_notify(vq);
1507 struct virtqueue *vq; local
1517 vq = rxq->vtnrx_vq;
1520 while ((m = virtqueue_drain(vq, &last)) != NULL) {
1525 KASSERT(virtqueue_empty(vq),
1952 struct virtqueue *vq; local
2078 struct virtqueue *vq; local
2307 struct virtqueue *vq; local
2317 struct virtqueue *vq; local
2343 struct virtqueue *vq; local
2532 struct virtqueue *vq; local
2633 struct virtqueue *vq; local
2699 struct virtqueue *vq; local
2851 struct virtqueue *vq; local
3533 struct virtqueue *vq; local
4316 struct virtqueue *vq; local
[all...]
/freebsd-current/usr.sbin/bhyve/
H A Dpci_virtio_block.c298 pci_vtblk_proc(struct pci_vtblk_softc *sc, struct vqueue_info *vq) argument
310 n = vq_getchain(vq, iov, BLOCKIF_IOV_MAX + 2, &req);
426 pci_vtblk_notify(void *vsc, struct vqueue_info *vq) argument
430 while (vq_has_descs(vq))
431 pci_vtblk_proc(sc, vq);
H A Dpci_virtio_scsi.c575 pci_vtscsi_controlq_notify(void *vsc, struct vqueue_info *vq) argument
586 while (vq_has_descs(vq)) {
587 n = vq_getchain(vq, iov, VTSCSI_MAXSEG, &req);
598 vq_relchain(vq, req.idx, iolen);
600 vq_endchains(vq, 1); /* Generate interrupt if appropriate. */
605 pci_vtscsi_eventq_notify(void *vsc __unused, struct vqueue_info *vq) argument
607 vq_kick_disable(vq);
611 pci_vtscsi_requestq_notify(void *vsc, struct vqueue_info *vq) argument
621 q = &sc->vss_queues[vq->vq_num - 2];
623 while (vq_has_descs(vq)) {
[all...]
H A Dpci_virtio_9p.c190 pci_vt9p_notify(void *vsc, struct vqueue_info *vq) argument
200 while (vq_has_descs(vq)) {
201 n = vq_getchain(vq, iov, VT9P_MAX_IOV, &req);
/freebsd-current/sys/dev/virtio/pci/
H A Dvirtio_pci_legacy.c744 vtpci_legacy_set_vq(device_t dev, struct virtqueue *vq) argument
750 vtpci_legacy_select_virtqueue(sc, virtqueue_index(vq));
752 virtqueue_paddr(vq) >> VIRTIO_PCI_QUEUE_ADDR_SHIFT);
H A Dvirtio_pci_modern.c1257 vtpci_modern_set_vq(device_t dev, struct virtqueue *vq) argument
1263 vtpci_modern_select_virtqueue(sc, virtqueue_index(vq));
1267 VIRTIO_PCI_COMMON_Q_SIZE, virtqueue_size(vq));
1270 VIRTIO_PCI_COMMON_Q_DESCLO, virtqueue_desc_paddr(vq));
1272 VIRTIO_PCI_COMMON_Q_AVAILLO, virtqueue_avail_paddr(vq));
1274 VIRTIO_PCI_COMMON_Q_USEDLO, virtqueue_used_paddr(vq));
/freebsd-current/sys/contrib/openzfs/include/sys/
H A Dvdev.h173 extern uint64_t vdev_queue_class_length(vdev_t *vq, zio_priority_t p);
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Dzfs_fm.c547 vdev_queue_t *vq = &vd->vdev_queue; local
579 if (vq != NULL) {
582 DATA_TYPE_UINT64, vq->vq_io_complete_ts, NULL);
585 DATA_TYPE_UINT64, vq->vq_io_delta_ts, NULL);
H A Dvdev.c5575 vdev_queue_t *vq = &vd->vdev_queue; local
5577 mutex_enter(&vq->vq_lock);
5578 if (vq->vq_active > 0) {
5584 vd->vdev_path, vq->vq_active);
5591 fio = list_head(&vq->vq_active_list);
5596 mutex_exit(&vq->vq_lock);
H A Dzio.c2169 vdev_queue_t *vq = vd ? &vd->vdev_queue : NULL; local
2187 vq ? vq->vq_io_complete_ts : 0, pio->io_type,
/freebsd-current/sys/fs/nfsclient/
H A Dnfs_clvfsops.c2053 struct vfsquery vq; local
2056 bzero(&vq, sizeof(vq));
2080 vq.vq_flags |= VQ_NOTRESP;
2085 vq.vq_flags |= VQ_NOTRESPLOCK;
2087 error = SYSCTL_OUT(req, &vq, sizeof(vq));

Completed in 317 milliseconds

12