Home
last modified time | relevance | path

Searched refs:buf_count (Results 1 – 7 of 7) sorted by relevance

/openbsd-src/sys/dev/pci/drm/
H A Ddrm_bufs.c692 if (entry->buf_count) { in drm_cleanup_buf_error()
693 for (i = 0; i < entry->buf_count; i++) { in drm_cleanup_buf_error()
698 entry->buf_count = 0; in drm_cleanup_buf_error()
782 if (entry->buf_count) { in drm_legacy_addbufs_agp()
806 while (entry->buf_count < count) { in drm_legacy_addbufs_agp()
807 buf = &entry->buflist[entry->buf_count]; in drm_legacy_addbufs_agp()
808 buf->idx = dma->buf_count + entry->buf_count; in drm_legacy_addbufs_agp()
825 entry->buf_count = count; in drm_legacy_addbufs_agp()
832 DRM_DEBUG("buffer %d @ %p\n", entry->buf_count, buf->address); in drm_legacy_addbufs_agp()
835 entry->buf_count++; in drm_legacy_addbufs_agp()
[all …]
H A Ddrm_dma.c100 dma->bufs[i].buf_count, in drm_legacy_dma_takedown()
114 if (dma->bufs[i].buf_count) { in drm_legacy_dma_takedown()
115 for (j = 0; j < dma->bufs[i].buf_count; j++) { in drm_legacy_dma_takedown()
163 for (i = 0; i < dma->buf_count; i++) { in drm_legacy_reclaim_buffers()
H A Ddrm_ioc32.c379 drm_buf_desc32_t v = {.count = from->buf_count, in copy_one_buf32()
/openbsd-src/gnu/lib/libreadline/examples/
H A Drlfe.c297 static int buf_count = 0; variable
368 buf_count = 0; in line_handler()
689 prompt = malloc (buf_count + 1); in main()
694 memcpy (prompt, buf, buf_count); in main()
695 prompt[buf_count] = '\0'; in main()
698 rl_already_prompted = buf_count > 0; in main()
700 if (buf_count > 0) in main()
715 if (buf_count > (sizeof(buf) >> 2)) in main()
716 buf_count = 0; in main()
717 count = read (in_from_inferior_fd, buf+buf_count, in main()
[all …]
/openbsd-src/sys/dev/pci/drm/include/drm/
H A Ddrm_legacy.h122 int buf_count; /**< number of buffers */ member
138 int buf_count; /**< total number of buffers */ member
/openbsd-src/usr.sbin/unbound/dnstap/
H A Ddtstream.c656 rb->buf_count = 0;
1127 if(dtio->read_frame.buf_count < dtio->read_frame.frame_len) { in dtio_read_accept_frame()
1131 dtio->read_frame.buf_count, in dtio_read_accept_frame()
1133 dtio->read_frame.buf_count); in dtio_read_accept_frame()
1137 dtio->read_frame.buf_count, in dtio_read_accept_frame()
1139 dtio->read_frame.buf_count); in dtio_read_accept_frame()
1149 dtio->read_frame.buf_count += r; in dtio_read_accept_frame()
1150 if(dtio->read_frame.buf_count < dtio->read_frame.frame_len) in dtio_read_accept_frame()
H A Ddtstream.h103 size_t buf_count; member