Lines Matching defs:index
17 unsigned int index, enum vnic_res_type res_type)
19 wq->ctrl = vnic_dev_get_res(vdev, res_type, index);
52 buf->index = i * VNIC_WQ_BUF_BLK_ENTRIES + j;
54 wq->ring.desc_size * buf->index;
55 if (buf->index + 1 == count) {
90 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index,
95 wq->index = index;
98 wq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_WQ, index);
100 printk(KERN_ERR "Failed to hook WQ[%d] resource\n", index);
125 wq->index = 0;
205 printk(KERN_ERR "Failed to disable WQ[%d]\n", wq->index);