Searched refs:nr_queues (Results 1 – 3 of 3) sorted by relevance
/linux-2.6.39/drivers/char/ |
D | virtio_console.c | 1552 u32 i, j, nr_ports, nr_queues; in init_vqs() local 1556 nr_queues = use_multiport(portdev) ? (nr_ports + 1) * 2 : 2; in init_vqs() 1558 vqs = kmalloc(nr_queues * sizeof(struct virtqueue *), GFP_KERNEL); in init_vqs() 1559 io_callbacks = kmalloc(nr_queues * sizeof(vq_callback_t *), GFP_KERNEL); in init_vqs() 1560 io_names = kmalloc(nr_queues * sizeof(char *), GFP_KERNEL); in init_vqs() 1598 err = portdev->vdev->config->find_vqs(portdev->vdev, nr_queues, vqs, in init_vqs()
|
/linux-2.6.39/drivers/s390/cio/ |
D | qdio_setup.c | 75 static int __qdio_allocate_qs(struct qdio_q **irq_ptr_qs, int nr_queues) in __qdio_allocate_qs() argument 80 for (i = 0; i < nr_queues; i++) { in __qdio_allocate_qs()
|
/linux-2.6.39/net/sunrpc/ |
D | sched.c | 191 …_init_priority_wait_queue(struct rpc_wait_queue *queue, const char *qname, unsigned char nr_queues) in __rpc_init_priority_wait_queue() argument 198 queue->maxpriority = nr_queues - 1; in __rpc_init_priority_wait_queue()
|