Searched refs:buf_count (Results 1 - 10 of 10) sorted by relevance

/freebsd-current/contrib/diff/lib/
H A Dexclude.c213 size_t buf_count = 0; local
224 if (buf_count == buf_alloc)
226 buf[buf_count++] = c;
235 buf = xrealloc (buf, buf_count + 1);
236 buf[buf_count] = line_end;
237 lim = buf + buf_count + ! (buf_count == 0 || buf[buf_count - 1] == line_end);
/freebsd-current/sys/dev/drm2/
H A Ddrm_bufs.c660 if (entry->buf_count) {
661 for (i = 0; i < entry->buf_count; i++) {
666 entry->buf_count = 0;
749 if (entry->buf_count) {
774 while (entry->buf_count < count) {
775 buf = &entry->buflist[entry->buf_count];
776 buf->idx = dma->buf_count + entry->buf_count;
794 entry->buf_count = count;
801 DRM_DEBUG("buffer %d @ %p\n", entry->buf_count, bu
[all...]
H A Ddrm_dma.c80 DRM_DEBUG("order %d: buf_count = %d,"
83 dma->bufs[i].buf_count,
92 if (dma->bufs[i].buf_count) {
93 for (j = 0; j < dma->bufs[i].buf_count; j++) {
141 for (i = 0; i < dma->buf_count; i++) {
H A Ddrm_sysctl.c289 templists = malloc(sizeof(int) * dma->buf_count, DRM_MEM_DRIVER,
291 for (i = 0; i < dma->buf_count; i++)
299 if (dma->bufs[i].buf_count)
303 dma->bufs[i].buf_count,
314 for (i = 0; i < dma->buf_count; i++) {
H A DdrmP.h380 int buf_count; /**< number of buffers */ member in struct:drm_buf_entry
451 int buf_count; /**< total number of buffers */ member in struct:drm_device_dma
/freebsd-current/contrib/unbound/dnstap/
H A Ddtstream.h103 size_t buf_count; member in struct:dt_frame_read_buf
H A Ddtstream.c650 rb->buf_count = 0;
1121 if(dtio->read_frame.buf_count < dtio->read_frame.frame_len) {
1125 dtio->read_frame.buf_count,
1127 dtio->read_frame.buf_count);
1131 dtio->read_frame.buf_count,
1133 dtio->read_frame.buf_count);
1143 dtio->read_frame.buf_count += r;
1144 if(dtio->read_frame.buf_count < dtio->read_frame.frame_len)
/freebsd-current/sys/dev/ice/
H A Dice_ddp_common.c525 LE32_TO_CPU(seg->buf_tbl.buf_count),
548 u32 buf_count; local
555 buf_count = LE32_TO_CPU(bufs->buf_count);
557 if (start >= buf_count || start + count > buf_count)
760 LE32_TO_CPU(ice_buf_tbl->buf_count));
763 LE32_TO_CPU(ice_buf_tbl->buf_count));
2000 if (++state->buf_idx < LE32_TO_CPU(state->buf_table->buf_count))
2470 if (LE32_TO_CPU(seg->buf_table.buf_count) < ICE_MIN_S_COUN
[all...]
H A Dice_ddp_common.h176 __le32 buf_count; member in struct:ice_buf_table
/freebsd-current/sys/net/
H A Dif_clone.c701 int buf_count, count, err = 0; local
715 buf_count = (V_if_cloners_count < ifcr->ifcr_count) ?
719 outbuf = malloc(IFNAMSIZ*buf_count, M_CLONE, M_WAITOK | M_ZERO);
728 count = (V_if_cloners_count < buf_count) ?
729 V_if_cloners_count : buf_count;
740 err = copyout(outbuf, dst, buf_count*IFNAMSIZ);

Completed in 226 milliseconds