Searched refs:buf_idx (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr_quiesce.c990 int i, n, buf_len, buf_idx, buf_avail; local
1010 for (buf_idx = 0, i = 0; i < idx; i++) {
1011 buf_avail = buf_len - buf_idx;
1015 n = snprintf(&buf[buf_idx], buf_avail, "%s, ",
1018 n = snprintf(&buf[buf_idx], buf_avail,
1022 n = snprintf(&buf[buf_idx], buf_avail, "%" PRIu64 ", ",
1028 (void) strcpy(&buf[buf_idx], s_ellipsis);
1032 buf_idx += n;
1037 buf[--buf_idx] = '\0';
1038 buf[--buf_idx]
[all...]
/illumos-gate/usr/src/uts/intel/io/drm/
H A Dr300_cmdbuf.c747 u32 i, buf_idx, h_pending; local
751 header.scratch.n_bufs * sizeof (buf_idx)) {
767 buf_idx = *(u32 *)(uintptr_t)cmdbuf->buf;
768 buf_idx *= 2; /* 8 bytes per buf */
770 if (DRM_COPY_TO_USER(ref_age_base + buf_idx,
777 ref_age_base + buf_idx + 1, sizeof (u32))) {
787 if (DRM_COPY_TO_USER(ref_age_base + buf_idx + 1,
792 cmdbuf->buf += sizeof (buf_idx);
793 cmdbuf->bufsz -= sizeof (buf_idx);
909 idx = header.dma.buf_idx;
[all...]
H A Dradeon_drm.h219 unsigned char cmd_type, buf_idx, pad0, pad1; member in struct:__anon9529::__anon9535
275 unsigned char cmd_type, buf_idx, pad0, pad1; member in struct:__anon9537::__anon9543
H A Dradeon_state.c3172 idx = header.dma.buf_idx;
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr_quiesce.c1053 int i, n, buf_len, buf_idx, buf_avail; local
1073 for (buf_idx = 0, i = 0; i < idx; i++) {
1074 buf_avail = buf_len - buf_idx;
1078 n = snprintf(&buf[buf_idx], buf_avail, "%s, ",
1081 n = snprintf(&buf[buf_idx], buf_avail,
1085 n = snprintf(&buf[buf_idx], buf_avail, "%lu, ", arr[i]);
1090 (void) strcpy(&buf[buf_idx], s_ellipsis);
1094 buf_idx += n;
1099 buf[--buf_idx] = '\0';
1100 buf[--buf_idx]
[all...]

Completed in 84 milliseconds