/illumos-gate/usr/src/uts/common/sys/ |
H A D | vuid_queue.h | 55 #define vq_used(vq) ((vq)->num) 56 #define vq_avail(vq) ((vq)->size - (vq)->num) 57 #define vq_size(vq) ((vq)->size) 58 #define vq_is_empty(vq) ((vq)->top == VUID_Q_NODE_NULL) 59 #define vq_is_full(vq) ((v [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | vuid_queue.c | 38 static Vuid_q_node *vq_alloc_node(Vuid_queue *vq); 39 static void vq_free_node(Vuid_queue *vq, Vuid_q_node *vqn); 50 vq_initialize(Vuid_queue *vq, caddr_t data, u_int bytes) argument 54 /* Initialize vq */ 55 vq->top = vq->bottom = vq->free = VUID_Q_NODE_NULL; 56 vq->size = 1 + (bytes - sizeof (Vuid_q_node)) / sizeof (Vuid_q_node); 57 /* Place in pool by freeing all nodes (fudge vq->num for this) */ 59 vq 65 vq_put(Vuid_queue *vq, Firm_event *firm_event) argument 103 vq_get(Vuid_queue *vq, Firm_event *firm_event) argument 126 vq_peek(Vuid_queue *vq, Firm_event *firm_event) argument 135 vq_putback(Vuid_queue *vq, Firm_event *firm_event) argument 158 vq_compress(Vuid_queue *vq, int factor) argument 246 vq_delete_node(Vuid_queue *vq, Vuid_q_node *vqn) argument 270 vq_alloc_node(Vuid_queue *vq) argument 284 vq_free_node(Vuid_queue *vq, Vuid_q_node *vqn) argument [all...] |
/illumos-gate/usr/src/uts/common/io/virtio/ |
H A D | virtio.c | 239 * Start/stop vq interrupt. No guarantee. 242 virtio_stop_vq_intr(struct virtqueue *vq) argument 244 vq->vq_avail->flags |= VRING_AVAIL_F_NO_INTERRUPT; 248 virtio_start_vq_intr(struct virtqueue *vq) argument 250 vq->vq_avail->flags &= ~VRING_AVAIL_F_NO_INTERRUPT; 322 "entry %d, vq %d", entry->qe_index, 334 "entry %d, vq %d,", entry->qe_index, 348 "entry %d, vq %d", entry->qe_index, 368 * Initialize the vq structure. 371 virtio_init_vq(struct virtio_softc *sc, struct virtqueue *vq) argument 426 struct virtqueue *vq; local 539 virtio_free_vq(struct virtqueue *vq) argument 577 vq_alloc_entry(struct virtqueue *vq) argument 601 vq_free_entry(struct virtqueue *vq, struct vq_entry *qe) argument 617 vq_num_used(struct virtqueue *vq) argument 678 virtio_sync_vq(struct virtqueue *vq) argument 705 struct virtqueue *vq = qe->qe_queue; local 769 virtio_pull_chain(struct virtqueue *vq, uint32_t *len) argument 804 struct virtqueue *vq = qe->qe_queue; local [all...] |
H A D | virtiovar.h | 185 struct vq_entry *vq_alloc_entry(struct virtqueue *vq); 186 void vq_free_entry(struct virtqueue *vq, struct vq_entry *qe); 187 uint_t vq_num_used(struct virtqueue *vq); 201 struct vq_entry *virtio_pull_chain(struct virtqueue *vq, uint32_t *len); 203 void virtio_sync_vq(struct virtqueue *vq);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_queue.c | 208 vdev_queue_class_tree(vdev_queue_t *vq, zio_priority_t p) argument 210 return (&vq->vq_class[p].vqc_queued_tree); 214 vdev_queue_type_tree(vdev_queue_t *vq, zio_type_t t) argument 218 return (&vq->vq_read_offset_tree); 220 return (&vq->vq_write_offset_tree); 245 vdev_queue_t *vq = &vd->vdev_queue; local 247 mutex_init(&vq->vq_lock, NULL, MUTEX_DEFAULT, NULL); 248 vq->vq_vdev = vd; 250 avl_create(&vq->vq_active_tree, vdev_queue_offset_compare, 252 avl_create(vdev_queue_type_tree(vq, ZIO_TYPE_REA 280 vdev_queue_t *vq = &vd->vdev_queue; local 292 vdev_queue_io_add(vdev_queue_t *vq, zio_t *zio) argument 308 vdev_queue_io_remove(vdev_queue_t *vq, zio_t *zio) argument 325 vdev_queue_pending_add(vdev_queue_t *vq, zio_t *zio) argument 341 vdev_queue_pending_remove(vdev_queue_t *vq, zio_t *zio) argument 466 vdev_queue_class_to_issue(vdev_queue_t *vq) argument 507 vdev_queue_aggregate(vdev_queue_t *vq, zio_t *zio) argument 645 vdev_queue_io_to_issue(vdev_queue_t *vq) argument 707 vdev_queue_t *vq = &zio->io_vd->vdev_queue; local 751 vdev_queue_t *vq = &zio->io_vd->vdev_queue; local [all...] |
H A D | vdev.c | 3439 vdev_queue_t *vq = &vd->vdev_queue; local 3441 mutex_enter(&vq->vq_lock); 3442 if (avl_numnodes(&vq->vq_active_tree) > 0) { 3452 fio = avl_first(&vq->vq_active_tree); 3458 vq->vq_io_complete_ts); 3463 mutex_exit(&vq->vq_lock);
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | qdivrem.c | 81 __qdivrem(uq, vq, arq) 82 u_quad_t uq, vq, *arq; 94 if (vq == 0) { 103 if (uq < vq) { 131 tmp.uq = vq;
|
/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | qdivrem.c | 83 ___qdivrem(u_longlong_t uq, u_longlong_t vq, u_longlong_t *arq) argument 95 if (vq == 0) { 104 if (uq < vq) { 132 tmp.uq = vq;
|
/illumos-gate/usr/src/cmd/vrrpadm/ |
H A D | vrrpadm.c | 419 vrrp_queryinfo_t *vq; local 422 if ((err = vrrp_query(vrrp_vh, vn, &vq)) != VRRP_SUCCESS) 425 ofmt_print(ofmt, vq); 426 free(vq);
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | bnxe_hw_debug.c | 184 int vq = -1; local 199 if (vq_regname[15] == '_') vq = (int)(vq_regname[14] - '0'); 200 else if (vq_regname[16] == '_') vq = (int)(10 * (vq_regname[14] - '0') + vq_regname[15] - '0'); 202 if ((vq <0) || (vq > 31)) { 208 REG_WR(pdev,PXP2_REG_RQ_HOQ_RAM_RD_REQ,vq); 238 vq, len, addr_hi, addr_lo, clients[client_id], req_id, done, func_desc, atc);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | tables.c | 66 typedef struct vq { struct
|