/netbsd-6-1-5-RELEASE/sys/dev/pci/ |
H A D | virtio.c | 242 struct virtqueue *vq = &sc->sc_vqs[i]; local 245 vq->vq_index); 248 if (n == 0) /* vq disappeared */ 250 if (n != vq->vq_num) { 251 panic("%s: virtqueue size changed, vq index %d\n", 253 vq->vq_index); 255 virtio_init_vq(sc, vq, true); 258 (vq->vq_dmamap->dm_segs[0].ds_addr 394 vq_sync_descs(struct virtio_softc *sc, struct virtqueue *vq, int ops) argument 397 bus_dmamap_sync(sc->sc_dmat, vq 402 vq_sync_aring(struct virtio_softc *sc, struct virtqueue *vq, int ops) argument 412 vq_sync_uring(struct virtio_softc *sc, struct virtqueue *vq, int ops) argument 422 vq_sync_indirect(struct virtio_softc *sc, struct virtqueue *vq, int slot, int ops) argument 443 struct virtqueue *vq; local 468 virtio_stop_vq_intr(struct virtio_softc *sc, struct virtqueue *vq) argument 476 virtio_start_vq_intr(struct virtio_softc *sc, struct virtqueue *vq) argument 487 virtio_init_vq(struct virtio_softc *sc, struct virtqueue *vq, const bool reinit) argument 533 virtio_alloc_vq(struct virtio_softc *sc, struct virtqueue *vq, int index, int maxsegsize, int maxnsegs, const char *name) argument 660 virtio_free_vq(struct virtio_softc *sc, struct virtqueue *vq) argument 699 vq_alloc_entry(struct virtqueue *vq) argument 716 vq_free_entry(struct virtqueue *vq, struct vq_entry *qe) argument 762 virtio_enqueue_prep(struct virtio_softc *sc, struct virtqueue *vq, int *slotp) argument 782 virtio_enqueue_reserve(struct virtio_softc *sc, struct virtqueue *vq, int slot, int nsegs) argument 852 virtio_enqueue(struct virtio_softc *sc, struct virtqueue *vq, int slot, bus_dmamap_t dmamap, bool write) argument 876 virtio_enqueue_p(struct virtio_softc *sc, struct virtqueue *vq, int slot, bus_dmamap_t dmamap, bus_addr_t start, bus_size_t len, bool write) argument 902 virtio_enqueue_commit(struct virtio_softc *sc, struct virtqueue *vq, int slot, bool notifynow) argument 943 virtio_enqueue_abort(struct virtio_softc *sc, struct virtqueue *vq, int slot) argument 973 virtio_dequeue(struct virtio_softc *sc, struct virtqueue *vq, int *slotp, int *lenp) argument 1004 virtio_dequeue_commit(struct virtio_softc *sc, struct virtqueue *vq, int slot) argument [all...] |
H A D | ld_virtio.c | 328 struct virtqueue *vq = &sc->sc_vq[0]; local 337 r = virtio_enqueue_prep(vsc, vq, &slot); 348 r = virtio_enqueue_reserve(vsc, vq, slot, vr->vr_payload->dm_nsegs + 2); 370 virtio_enqueue_p(vsc, vq, slot, vr->vr_cmdsts, 373 virtio_enqueue(vsc, vq, slot, vr->vr_payload, !isread); 374 virtio_enqueue_p(vsc, vq, slot, vr->vr_cmdsts, 378 virtio_enqueue_commit(vsc, vq, slot, true); 385 struct virtqueue *vq, int slot) 409 virtio_dequeue_commit(vsc, vq, slot); 415 ld_virtio_vq_done(struct virtqueue *vq) argument 384 ld_virtio_vq_done1(struct ld_virtio_softc *sc, struct virtio_softc *vsc, struct virtqueue *vq, int slot) argument 436 struct virtqueue *vq = &sc->sc_vq[0]; local [all...] |
H A D | if_vioif.c | 246 * sc_ctrl_cmd: command to be sent via ctrl vq (WRITE) 247 * sc_ctrl_status: return value for a command via ctrl vq (READ) 389 /* control vq class & command */ 394 /* control vq status */ 399 /* control vq rx mode command parameter */ 404 /* control vq MAC filter table for unicast */ 410 /* control vq MAC filter table for multicast */ 670 struct virtqueue *vq = &sc->sc_vq[1]; /* tx vq */ local 684 r = virtio_enqueue_prep(vsc, vq, 817 struct virtqueue *vq = &sc->sc_vq[0]; /* rx vq */ local 859 struct virtqueue *vq = &sc->sc_vq[0]; local 891 vioif_rx_vq_done(struct virtqueue *vq) argument 917 struct virtqueue *vq = &sc->sc_vq[0]; local 938 vioif_tx_vq_done(struct virtqueue *vq) argument 973 struct virtqueue *vq = &sc->sc_vq[1]; local 993 struct virtqueue *vq = &sc->sc_vq[2]; local 1089 struct virtqueue *vq = &sc->sc_vq[2]; local 1196 vioif_ctrl_vq_done(struct virtqueue *vq) argument [all...] |
H A D | viomb.c | 262 struct virtqueue *vq = &sc->sc_vq[0]; local 287 if (virtio_enqueue_prep(vsc, vq, &slot) != 0) { 293 if (virtio_enqueue_reserve(vsc, vq, slot, 1)) { 301 virtio_enqueue(vsc, vq, slot, b->bl_dmamap, true); 302 virtio_enqueue_commit(vsc, vq, slot, true); 309 inflateq_done(struct virtqueue *vq) argument 311 struct virtio_softc *vsc = vq->vq_owner; 326 struct virtqueue *vq = &sc->sc_vq[0]; local 332 r = virtio_dequeue(vsc, vq, &slot, NULL); 338 virtio_dequeue_commit(vsc, vq, slo 372 struct virtqueue *vq = &sc->sc_vq[1]; local 421 deflateq_done(struct virtqueue *vq) argument 438 struct virtqueue *vq = &sc->sc_vq[1]; local [all...] |
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/uts/common/fs/zfs/ |
H A D | vdev_queue.c | 108 vdev_queue_t *vq = &vd->vdev_queue; local 110 mutex_init(&vq->vq_lock, NULL, MUTEX_DEFAULT, NULL); 112 avl_create(&vq->vq_deadline_tree, vdev_queue_deadline_compare, 115 avl_create(&vq->vq_read_tree, vdev_queue_offset_compare, 118 avl_create(&vq->vq_write_tree, vdev_queue_offset_compare, 121 avl_create(&vq->vq_pending_tree, vdev_queue_offset_compare, 128 vdev_queue_t *vq = &vd->vdev_queue; local 130 avl_destroy(&vq->vq_deadline_tree); 131 avl_destroy(&vq->vq_read_tree); 132 avl_destroy(&vq 139 vdev_queue_io_add(vdev_queue_t *vq, zio_t *zio) argument 146 vdev_queue_io_remove(vdev_queue_t *vq, zio_t *zio) argument 175 vdev_queue_io_to_issue(vdev_queue_t *vq, uint64_t pending_limit) argument 345 vdev_queue_t *vq = &zio->io_vd->vdev_queue; local 385 vdev_queue_t *vq = &zio->io_vd->vdev_queue; local [all...] |
/netbsd-6-1-5-RELEASE/bin/ksh/ |
H A D | var.c | 70 register struct tbl *vp, **vpp = l->vars.tbls, *vq; local 76 if ((vq = global(vp->name))->flag & ISSET) 77 setspec(vq); 79 unsetspec(vq); 278 struct tbl *vq = (struct tbl *) 0; local 280 while ((ll = ll->next) && !(vq = tsearch(&ll->vars, n, h))) 282 if (vq) { 283 vp->flag |= vq->flag & (EXPORT|INTEGER|RDONLY 286 if (vq->flag & INTEGER) 287 vp->type = vq 1238 struct tbl *vp, *vq; local [all...] |
H A D | expr.c | 595 struct tbl *vq; local 602 vq = tempvar(); 603 if (setint_v(vq, vp) == NULL) { 608 v_evaluate(vq, str_val(vp), KSH_UNWIND_ERROR); 612 return vq;
|
H A D | c_ksh.c | 1330 struct tbl *vq, *voptarg; local 1409 vq = global(var); 1411 if (!setstr(vq, buf, KSH_RETURN_ERROR))
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
H A D | rsa-gmp.c | 89 mpz_t vp, vq, u; local 90 mpz_init(vp); mpz_init(vq); mpz_init(u); 92 /* vq = c ^ (d mod (q - 1)) mod q */ 96 mpz_fdiv_r(vq, in, q); 97 mpz_powm(vq, vq, dmq1, q); 100 /* u = (vp - vq)C2 mod p. */ 101 mpz_sub(u, vp, vq); 109 /* c ^ d mod n = vq + u q */ 111 mpz_add(out, u, vq); [all...] |
H A D | rsa-ltm.c | 113 mp_int vp, vq, u; local 115 mp_init_multi(&vp, &vq, &u, NULL); 117 /* vq = c ^ (d mod (q - 1)) mod q */ 122 mp_exptmod(&u, dmq1, q, &vq); 125 /* u = (vp - vq)C2 mod p. */ 126 mp_sub(&vp, &vq, &u); 132 /* c ^ d mod n = vq + u q */ 134 mp_add(&u, &vq, out); 136 mp_clear_multi(&vp, &vq, &u, NULL);
|
H A D | rsa-tfm.c | 71 fp_int vp, vq, u; local 73 fp_init_multi(&vp, &vq, &u, NULL); 75 /* vq = c ^ (d mod (q - 1)) mod q */ 80 fp_exptmod(&u, dmq1, q, &vq); 83 /* u = (vp - vq)C2 mod p. */ 84 fp_sub(&vp, &vq, &u); 90 /* c ^ d mod n = vq + u q */ 92 fp_add(&u, &vq, out); 94 fp_zero_multi(&vp, &vq, &u, NULL);
|
/netbsd-6-1-5-RELEASE/sys/kern/ |
H A D | vfs_vnode.c | 1104 vnode_t *vq, **vpp; local 1127 for (vq = *vpp; vq != NULL;) { 1129 mutex_enter(vq->v_interlock); 1130 if ((vq->v_iflag & (VI_CLEAN | VI_XLOCK)) != 0 || 1131 vq->v_type != type || vq->v_rdev != dev) { 1132 mutex_exit(vq->v_interlock); 1133 vq = vq [all...] |
H A D | vfs_mount.c | 1268 vnode_t *vq; local 1276 for (vq = specfs_hash[SPECHASH(vp->v_rdev)]; vq != NULL; 1277 vq = vq->v_specnext) { 1278 if (vq->v_type != vp->v_type || vq->v_rdev != vp->v_rdev) 1280 if (vq->v_specmountpoint != NULL) {
|
/netbsd-6-1-5-RELEASE/common/lib/libc/quad/ |
H A D | qdivrem.c | 75 __qdivrem(u_quad_t uq, u_quad_t vq, u_quad_t *arq) argument 87 if (vq == 0) { 96 if (uq < vq) { 124 tmp.uq = vq;
|
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/fsinfo/ |
H A D | fsi_util.c | 386 qelem *vq = (qelem *) v; local 393 ins_que(vq, q->q_back); 399 qelem *vq = (qelem *) v; local 406 ins_que(vq, q->q_back);
|
/netbsd-6-1-5-RELEASE/sys/arch/emips/ebus/ |
H A D | clock_ebus.c | 120 extern u_quad_t __qdivrem(u_quad_t uq, u_quad_t vq, u_quad_t *arq);
|