Lines Matching defs:buf_idx
750 u32 i, buf_idx, h_pending;
754 header.scratch.n_bufs * sizeof (buf_idx)) {
770 buf_idx = *(u32 *)(uintptr_t)cmdbuf->buf;
771 buf_idx *= 2; /* 8 bytes per buf */
773 if (DRM_COPY_TO_USER(ref_age_base + buf_idx,
780 ref_age_base + buf_idx + 1, sizeof (u32))) {
790 if (DRM_COPY_TO_USER(ref_age_base + buf_idx + 1,
795 cmdbuf->buf += sizeof (buf_idx);
796 cmdbuf->bufsz -= sizeof (buf_idx);
912 idx = header.dma.buf_idx;