/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/virtio/ |
H A D | virtio_ring.c | 47 dev_err(&(_vq)->vq.vdev->dev, \ 48 "%s:"fmt, (_vq)->vq.name, ##args); \ 56 (_vq)->vq.name, (_vq)->in_use); \ 64 dev_err(&_vq->vq.vdev->dev, \ 65 "%s:"fmt, (_vq)->vq.name, ##args); \ 68 #define START_USE(vq) 69 #define END_USE(vq) 74 struct virtqueue vq; member in struct:vring_virtqueue 95 void (*notify)(struct virtqueue *vq); 106 #define to_vvq(_vq) container_of(_vq, struct vring_virtqueue, vq) 109 vring_add_indirect(struct vring_virtqueue *vq, struct scatterlist sg[], unsigned int out, unsigned int in, gfp_t gfp) argument 165 struct vring_virtqueue *vq = to_vvq(_vq); local 234 struct vring_virtqueue *vq = to_vvq(_vq); local 254 detach_buf(struct vring_virtqueue *vq, unsigned int head) argument 279 more_used(const struct vring_virtqueue *vq) argument 286 struct vring_virtqueue *vq = to_vvq(_vq); local 329 struct vring_virtqueue *vq = to_vvq(_vq); local 337 struct vring_virtqueue *vq = to_vvq(_vq); local 357 struct vring_virtqueue *vq = to_vvq(_vq); local 382 struct vring_virtqueue *vq = to_vvq(_vq); local 408 struct vring_virtqueue *vq; local 453 vring_del_virtqueue(struct virtqueue *vq) argument [all...] |
H A D | virtio_pci.c | 56 /* Vectors allocated, excluding per-vq vectors if any */ 58 /* Whether we have vector per vq */ 73 struct virtqueue *vq; member in struct:virtio_pci_vq_info 180 static void vp_notify(struct virtqueue *vq) argument 182 struct virtio_pci_device *vp_dev = to_vp_device(vq->vdev); 183 struct virtio_pci_vq_info *info = vq->priv; 213 if (vring_interrupt(irq, info->vq) == IRQ_HANDLED) 358 void (*callback)(struct virtqueue *vq), 364 struct virtqueue *vq; local 399 vq 357 setup_vq(struct virtio_device *vdev, unsigned index, void (*callback)(struct virtqueue *vq), const char *name, u16 msix_vec) argument 434 vp_del_vq(struct virtqueue *vq) argument 467 struct virtqueue *vq, *n; local [all...] |
H A D | virtio_balloon.c | 73 static void balloon_ack(struct virtqueue *vq) argument 78 vb = virtqueue_get_buf(vq, &len); 83 static void tell_host(struct virtio_balloon *vb, struct virtqueue *vq) argument 92 if (virtqueue_add_buf(vq, &sg, 1, 0, vb) < 0) 94 virtqueue_kick(vq); 202 static void stats_request(struct virtqueue *vq) argument 207 vb = virtqueue_get_buf(vq, &len); 216 struct virtqueue *vq; local 222 vq = vb->stats_vq; 224 if (virtqueue_add_buf(vq, [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/vhost/ |
H A D | vhost.c | 150 struct vhost_virtqueue *vq) 152 vq->num = 1; 153 vq->desc = NULL; 154 vq->avail = NULL; 155 vq->used = NULL; 156 vq->last_avail_idx = 0; 157 vq->avail_idx = 0; 158 vq->last_used_idx = 0; 159 vq->used_flags = 0; 160 vq 149 vhost_vq_reset(struct vhost_dev *dev, struct vhost_virtqueue *vq) argument 448 vq_log_access_ok(struct vhost_virtqueue *vq, void __user *log_base) argument 459 vhost_vq_access_ok(struct vhost_virtqueue *vq) argument 497 init_used(struct vhost_virtqueue *vq, struct vring_used __user *used) argument 512 struct vhost_virtqueue *vq; local 739 struct vhost_virtqueue *vq; local 848 vhost_log_write(struct vhost_virtqueue *vq, struct vhost_log *log, unsigned int log_num, u64 len) argument 930 get_indirect(struct vhost_dev *dev, struct vhost_virtqueue *vq, struct iovec iov[], unsigned int iov_size, unsigned int *out_num, unsigned int *in_num, struct vhost_log *log, unsigned int *log_num, struct vring_desc *indirect) argument 1026 vhost_get_vq_desc(struct vhost_dev *dev, struct vhost_virtqueue *vq, struct iovec iov[], unsigned int iov_size, unsigned int *out_num, unsigned int *in_num, struct vhost_log *log, unsigned int *log_num) argument 1145 vhost_discard_vq_desc(struct vhost_virtqueue *vq, int n) argument 1152 vhost_add_used(struct vhost_virtqueue *vq, unsigned int head, int len) argument 1192 __vhost_add_used_n(struct vhost_virtqueue *vq, struct vring_used_elem *heads, unsigned count) argument 1220 vhost_add_used_n(struct vhost_virtqueue *vq, struct vring_used_elem *heads, unsigned count) argument 1254 vhost_signal(struct vhost_dev *dev, struct vhost_virtqueue *vq) argument 1279 vhost_add_used_and_signal(struct vhost_dev *dev, struct vhost_virtqueue *vq, unsigned int head, int len) argument 1288 vhost_add_used_and_signal_n(struct vhost_dev *dev, struct vhost_virtqueue *vq, struct vring_used_elem *heads, unsigned count) argument 1297 vhost_enable_notify(struct vhost_virtqueue *vq) argument 1324 vhost_disable_notify(struct vhost_virtqueue *vq) argument [all...] |
H A D | net.c | 54 * Protected by tx vq lock. */ 116 struct vhost_virtqueue *vq = &net->dev.vqs[VHOST_NET_VQ_TX]; local 124 .msg_iov = vq->iov, 130 struct socket *sock = rcu_dereference(vq->private_data); 136 mutex_lock(&vq->mutex); 138 mutex_unlock(&vq->mutex); 143 mutex_lock(&vq->mutex); 144 vhost_disable_notify(vq); 148 hdr_size = vq->vhost_hlen; 151 head = vhost_get_vq_desc(&net->dev, vq, v 232 get_rx_bufs(struct vhost_virtqueue *vq, struct vring_used_elem *heads, int datalen, unsigned *iovcount, struct vhost_log *log, unsigned *log_num) argument 287 struct vhost_virtqueue *vq = &net->dev.vqs[VHOST_NET_VQ_RX]; local 398 struct vhost_virtqueue *vq = &net->dev.vqs[VHOST_NET_VQ_RX]; local 513 struct vhost_virtqueue *vq = container_of(work, struct vhost_virtqueue, local 522 struct vhost_virtqueue *vq = container_of(work, struct vhost_virtqueue, local 570 vhost_net_disable_vq(struct vhost_net *n, struct vhost_virtqueue *vq) argument 582 vhost_net_enable_vq(struct vhost_net *n, struct vhost_virtqueue *vq) argument 595 vhost_net_stop_vq(struct vhost_net *n, struct vhost_virtqueue *vq) argument 712 struct vhost_virtqueue *vq; local [all...] |
H A D | vhost.h | 137 int vhost_vq_access_ok(struct vhost_virtqueue *vq); 157 int vhost_log_write(struct vhost_virtqueue *vq, struct vhost_log *log, 160 #define vq_err(vq, fmt, ...) do { \ 162 if ((vq)->error_ctx) \ 163 eventfd_signal((vq)->error_ctx, 1);\
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | virtio.h | 22 void (*callback)(struct virtqueue *vq); 31 * vq: the struct virtqueue we're talking about. 39 * vq: the struct virtqueue 42 * vq: the struct virtqueue we're talking about. 46 * vq: the struct virtqueue we're talking about. 50 * vq: the struct virtqueue we're talking about. 55 * vq: the struct virtqueue we're talking about. 65 int virtqueue_add_buf_gfp(struct virtqueue *vq, 72 static inline int virtqueue_add_buf(struct virtqueue *vq, argument 78 return virtqueue_add_buf_gfp(vq, s [all...] |
H A D | virtio_ring.h | 122 void (*notify)(struct virtqueue *vq), 123 void (*callback)(struct virtqueue *vq), 125 void vring_del_virtqueue(struct virtqueue *vq);
|
H A D | virtio_config.h | 150 struct virtqueue *vq; local 151 int err = vdev->config->find_vqs(vdev, 1, &vq, callbacks, names); 154 return vq;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/s390/kernel/ |
H A D | vtime.c | 128 struct vtimer_queue *vq = &__get_cpu_var(virt_cpu_timer); local 142 S390_lowcore.system_timer += S390_lowcore.last_update_timer - vq->idle; 146 if (vq->do_spt) { 148 expires = vq->idle - enter_timer; 153 vq->elapsed -= vq->idle - enter_timer; 168 struct vtimer_queue *vq = &__get_cpu_var(virt_cpu_timer); local 177 if (vq->do_spt) { 181 * vq->idle = get_cpu_timer(); 208 : "=m" (idle->idle_enter), "=m" (vq 294 struct vtimer_queue *vq; local 320 struct vtimer_queue *vq; local 384 struct vtimer_queue *vq; local 460 struct vtimer_queue *vq; local 536 struct vtimer_queue *vq; local 558 struct vtimer_queue *vq; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/hw_random/ |
H A D | virtio-rng.c | 27 static struct virtqueue *vq; variable in typeref:struct:virtqueue 32 static void random_recv_done(struct virtqueue *vq) argument 35 if (!virtqueue_get_buf(vq, &data_avail)) 49 if (virtqueue_add_buf(vq, &sg, 0, 1, buf) < 0) 52 virtqueue_kick(vq); 92 vq = virtio_find_single_vq(vdev, random_recv_done, "input"); 93 if (IS_ERR(vq)) 94 return PTR_ERR(vq);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/Documentation/lguest/ |
H A D | lguest.c | 130 struct virtqueue *vq; member in struct:device 165 void (*service)(struct virtqueue *vq); 207 #define lg_last_avail(vq) ((vq)->last_avail_idx) 592 * function returns the next descriptor in the chain, or vq->vring.num if we're 619 static void trigger_irq(struct virtqueue *vq) argument 621 unsigned long buf[] = { LHREQ_IRQ, vq->config.irq }; 624 if (!vq->pending_used) 626 vq->pending_used = 0; 629 if (vq 649 wait_for_vq_desc(struct virtqueue *vq, struct iovec iov[], unsigned int *out_num, unsigned int *in_num) argument 755 add_used(struct virtqueue *vq, unsigned int head, int len) argument 773 add_used_and_trigger(struct virtqueue *vq, unsigned head, int len) argument 792 console_input(struct virtqueue *vq) argument 847 console_output(struct virtqueue *vq) argument 882 net_output(struct virtqueue *vq) argument 926 net_input(struct virtqueue *vq) argument 967 struct virtqueue *vq = _vq; local 985 struct virtqueue *vq; local 1015 create_thread(struct virtqueue *vq) argument 1062 struct virtqueue *vq; local 1119 struct virtqueue *vq; local 1218 struct virtqueue **i, *vq = malloc(sizeof(*vq)); local 1609 blk_request(struct virtqueue *vq) argument 1771 rng_input(struct virtqueue *vq) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/s390/kvm/ |
H A D | kvm_virtio.c | 165 static void kvm_notify(struct virtqueue *vq) argument 167 struct kvm_vqconfig *config = vq->priv; 178 void (*callback)(struct virtqueue *vq), 183 struct virtqueue *vq; local 197 vq = vring_new_virtqueue(config->num, KVM_S390_VIRTIO_RING_ALIGN, 200 if (!vq) { 209 config->token = (u64) vq; 211 vq->priv = config; 212 return vq; 221 static void kvm_del_vq(struct virtqueue *vq) argument 176 kvm_find_vq(struct virtio_device *vdev, unsigned index, void (*callback)(struct virtqueue *vq), const char *name) argument 233 struct virtqueue *vq, *n; local 335 struct virtqueue *vq; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/ |
H A D | v4l2-mem2mem.c | 312 struct videobuf_queue *vq; local 314 vq = v4l2_m2m_get_vq(m2m_ctx, reqbufs->type); 315 return videobuf_reqbufs(vq, reqbufs); 327 struct videobuf_queue *vq; local 330 vq = v4l2_m2m_get_vq(m2m_ctx, buf->type); 331 ret = videobuf_querybuf(vq, buf); 334 && vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) { 349 struct videobuf_queue *vq; local 352 vq = v4l2_m2m_get_vq(m2m_ctx, buf->type); 353 ret = videobuf_qbuf(vq, bu 368 struct videobuf_queue *vq; local 381 struct videobuf_queue *vq; local 399 struct videobuf_queue *vq; local 473 struct videobuf_queue *vq; local 618 v4l2_m2m_buf_queue(struct v4l2_m2m_ctx *m2m_ctx, struct videobuf_queue *vq, struct videobuf_buffer *vb) argument [all...] |
H A D | mem2mem_testdev.c | 426 struct videobuf_queue *vq; local 429 vq = v4l2_m2m_get_vq(ctx->m2m_ctx, f->type); 430 if (!vq) 437 f->fmt.pix.field = vq->field; 526 struct videobuf_queue *vq; local 529 vq = v4l2_m2m_get_vq(ctx->m2m_ctx, f->type); 530 if (!vq) 537 mutex_lock(&vq->vb_lock); 539 if (videobuf_queue_is_busy(vq)) { 550 vq 742 m2mtest_buf_release(struct videobuf_queue *vq, struct videobuf_buffer *vb) argument 754 m2mtest_buf_setup(struct videobuf_queue *vq, unsigned int *count, unsigned int *size) argument 778 m2mtest_buf_prepare(struct videobuf_queue *vq, struct videobuf_buffer *vb, enum v4l2_field field) argument 829 m2mtest_buf_queue(struct videobuf_queue *vq, struct videobuf_buffer *vb) argument 844 queue_init(void *priv, struct videobuf_queue *vq, enum v4l2_buf_type type) argument [all...] |
H A D | sh_vou.c | 228 static void free_buffer(struct videobuf_queue *vq, struct videobuf_buffer *vb) argument 234 videobuf_dma_contig_free(vq, vb); 238 /* Locking: caller holds vq->vb_lock mutex */ 239 static int sh_vou_buf_setup(struct videobuf_queue *vq, unsigned int *count, argument 242 struct video_device *vdev = vq->priv_data; 255 dev_dbg(vq->dev, "%s(): count=%d, size=%d\n", __func__, *count, *size); 260 /* Locking: caller holds vq->vb_lock mutex */ 261 static int sh_vou_buf_prepare(struct videobuf_queue *vq, argument 265 struct video_device *vdev = vq->priv_data; 271 dev_dbg(vq 310 sh_vou_buf_queue(struct videobuf_queue *vq, struct videobuf_buffer *vb) argument 350 sh_vou_buf_release(struct videobuf_queue *vq, struct videobuf_buffer *vb) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/lguest/ |
H A D | lguest_device.c | 224 static void lg_notify(struct virtqueue *vq) argument 230 struct lguest_vq_info *lvq = vq->priv; 250 void (*callback)(struct virtqueue *vq), 255 struct virtqueue *vq; local 289 vq = vring_new_virtqueue(lvq->config.num, LGUEST_VRING_ALIGN, 291 if (!vq) { 300 dev_name(&vdev->dev), vq); 308 vq->priv = lvq; 309 return vq; 312 vring_del_virtqueue(vq); 248 lg_find_vq(struct virtio_device *vdev, unsigned index, void (*callback)(struct virtqueue *vq), const char *name) argument 322 lg_del_vq(struct virtqueue *vq) argument 338 struct virtqueue *vq, *n; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/au0828/ |
H A D | au0828-vbi.c | 38 free_buffer(struct videobuf_queue *vq, struct au0828_buffer *buf) argument 40 struct au0828_fh *fh = vq->priv_data; 114 vbi_queue(struct videobuf_queue *vq, struct videobuf_buffer *vb) argument 119 struct au0828_fh *fh = vq->priv_data;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/em28xx/ |
H A D | em28xx-vbi.c | 44 free_buffer(struct videobuf_queue *vq, struct em28xx_buffer *buf) argument 46 struct em28xx_fh *fh = vq->priv_data; 120 vbi_queue(struct videobuf_queue *vq, struct videobuf_buffer *vb) argument 125 struct em28xx_fh *fh = vq->priv_data;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/9p/ |
H A D | trans_virtio.c | 61 * @vq: virtio queue associated with this channel 77 struct virtqueue *vq; member in struct:virtio_chan 120 * @vq: virtio queue activity was received on 131 static void req_done(struct virtqueue *vq) argument 133 struct virtio_chan *chan = vq->vdev->priv; 140 while ((rc = virtqueue_get_buf(chan->vq, &len)) != NULL) { 212 if (virtqueue_add_buf(chan->vq, chan->sg, out, in, req->tc) < 0) { 218 virtqueue_kick(chan->vq); 263 chan->vq = virtio_find_single_vq(vdev, req_done, "requests"); 264 if (IS_ERR(chan->vq)) { [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/ |
H A D | virtio_console.c | 122 /* To protect the vq operations for the control channel */ 241 struct virtqueue *vq) 248 if (port->in_vq == vq || port->out_vq == vq) 305 struct virtqueue *vq; local 308 vq = port->in_vq; 309 buf = virtqueue_get_buf(vq, &len); 323 static int add_inbuf(struct virtqueue *vq, struct port_buffer *buf) argument 330 ret = virtqueue_add_buf(vq, sg, 0, 1, buf); 331 virtqueue_kick(vq); 240 find_port_by_vq(struct ports_device *portdev, struct virtqueue *vq) argument 339 struct virtqueue *vq; local 389 struct virtqueue *vq; local 978 fill_queue(struct virtqueue *vq, spinlock_t *lock) argument 1279 struct virtqueue *vq; local 1305 out_intr(struct virtqueue *vq) argument 1316 in_intr(struct virtqueue *vq) argument 1347 control_intr(struct virtqueue *vq) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/libvorbis-1.2.3/vq/ |
H A D | Makefile.am | 36 $(MAKE) vq CFLAGS="@DEBUG@" 39 $(MAKE) vq CFLAGS="@PROFILE@" 41 vq:
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/cx231xx/ |
H A D | cx231xx-vbi.c | 173 vbi_buffer_setup(struct videobuf_queue *vq, unsigned int *count, argument 176 struct cx231xx_fh *fh = vq->priv_data; 194 static void free_buffer(struct videobuf_queue *vq, struct cx231xx_buffer *buf) argument 196 struct cx231xx_fh *fh = vq->priv_data; 221 vbi_buffer_prepare(struct videobuf_queue *vq, struct videobuf_buffer *vb, argument 224 struct cx231xx_fh *fh = vq->priv_data; 244 rc = videobuf_iolock(vq, &buf->vb, NULL); 265 free_buffer(vq, buf); 270 vbi_buffer_queue(struct videobuf_queue *vq, struct videobuf_buffer *vb) argument 274 struct cx231xx_fh *fh = vq 283 vbi_buffer_release(struct videobuf_queue *vq, struct videobuf_buffer *vb) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/libvorbis-1.2.3/ |
H A D | Makefile.am | 5 SUBDIRS = m4 include vq lib examples test doc
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/ |
H A D | lcldec.c | 180 unsigned char yq, y1q, uq, vq; local 318 yq = uq = vq =0; 326 encoded[pixel_ptr+6] = vq -= encoded[pixel_ptr+6]; 327 encoded[pixel_ptr+7] = vq -= encoded[pixel_ptr+7]; 335 yq = uq = vq =0; 342 encoded[pixel_ptr+5] = vq -= encoded[pixel_ptr+5]; 350 yq = uq = vq =0; 355 encoded[pixel_ptr+3] = vq -= encoded[pixel_ptr+3]; 363 yq = y1q = uq = vq =0; 370 encoded[pixel_ptr+5] = vq [all...] |