Lines Matching defs:index
29 unsigned int index, enum vnic_res_type res_type)
31 wq->ctrl = vnic_dev_get_res(vdev, res_type, index);
64 buf->index = i * VNIC_WQ_BUF_BLK_ENTRIES + j;
66 wq->ring.desc_size * buf->index;
67 if (buf->index + 1 == count) {
102 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index,
107 wq->index = index;
110 wq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_WQ, index);
112 printk(KERN_ERR "Failed to hook WQ[%d] resource\n", index);
137 wq->index = 0;
217 printk(KERN_ERR "Failed to disable WQ[%d]\n", wq->index);