Lines Matching refs:idx
459 buf->idx = dma->buf_count + entry->buf_count;
559 buf->idx = dma->buf_count + entry->buf_count;
736 int idx;
753 if (DRM_COPY_FROM_USER(&idx, &request.list[i], sizeof (idx))) {
757 if (idx < 0 || idx >= dma->buf_count) {
759 idx, dma->buf_count - 1);
763 buf = dma->buflist[idx];
850 if (DRM_COPY_TO_USER(&list32[i].idx,
851 &dma->buflist[i]->idx, sizeof (list32[0].idx))) {
875 if (DRM_COPY_TO_USER(&request.list[i].idx,
876 &dma->buflist[i]->idx, sizeof (request.list[0].idx))) {