Home
last modified time | relevance | path

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

/freebsd/sys/dev/drm2/
H A Ddrm_bufs.c660 if (entry->buf_count) { in drm_cleanup_buf_error()
661 for (i = 0; i < entry->buf_count; i++) { in drm_cleanup_buf_error()
666 entry->buf_count = 0; in drm_cleanup_buf_error()
749 if (entry->buf_count) { in drm_addbufs_agp()
774 while (entry->buf_count < count) { in drm_addbufs_agp()
775 buf = &entry->buflist[entry->buf_count]; in drm_addbufs_agp()
776 buf->idx = dma->buf_count + entry->buf_count; in drm_addbufs_agp()
794 entry->buf_count = count; in drm_addbufs_agp()
801 DRM_DEBUG("buffer %d @ %p\n", entry->buf_count, buf->address); in drm_addbufs_agp()
804 entry->buf_count++; in drm_addbufs_agp()
[all …]
H A Ddrm_dma.c83 dma->bufs[i].buf_count, in drm_dma_takedown()
92 if (dma->bufs[i].buf_count) { in drm_dma_takedown()
93 for (j = 0; j < dma->bufs[i].buf_count; j++) { in drm_dma_takedown()
141 for (i = 0; i < dma->buf_count; i++) { in drm_core_reclaim_buffers()
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
451 int buf_count; /**< total number of buffers */ member
/freebsd/contrib/diff/lib/
H A Dexclude.c213 size_t buf_count = 0; in add_exclude_file() local
224 if (buf_count == buf_alloc) in add_exclude_file()
226 buf[buf_count++] = c; in add_exclude_file()
235 buf = xrealloc (buf, buf_count + 1); in add_exclude_file()
236 buf[buf_count] = line_end; in add_exclude_file()
237 lim = buf + buf_count + ! (buf_count == 0 || buf[buf_count - 1] == line_end); in add_exclude_file()
/freebsd/sys/net/
H A Dif_clone.c699 int buf_count, count, err = 0; in if_clone_list() local
713 buf_count = (V_if_cloners_count < ifcr->ifcr_count) ? in if_clone_list()
717 outbuf = malloc(IFNAMSIZ*buf_count, M_CLONE, M_WAITOK | M_ZERO); in if_clone_list()
726 count = (V_if_cloners_count < buf_count) ? in if_clone_list()
727 V_if_cloners_count : buf_count; in if_clone_list()
738 err = copyout(outbuf, dst, buf_count*IFNAMSIZ); in if_clone_list()
/freebsd/sys/dev/ice/
H A Dice_ddp_common.c516 LE32_TO_CPU(seg->buf_tbl.buf_count),
540 u32 buf_count;
547 buf_count = LE32_TO_CPU(bufs->buf_count); in ice_download_pkg_config_seg()
549 if (start >= buf_count || start + count > buf_count) in ice_download_pkg_config_seg()
766 LE32_TO_CPU(ice_buf_tbl->buf_count)); in ice_download_pkg_without_sig_seg()
769 LE32_TO_CPU(ice_buf_tbl->buf_count));
1995 if (++state->buf_idx < LE32_TO_CPU(state->buf_table->buf_count)) in ice_pkg_enum_buf()
2486 if (LE32_TO_CPU(seg->buf_table.buf_count) < ICE_MIN_S_COUN in ice_cfg_tx_topo()
548 u32 buf_count; ice_download_pkg_config_seg() local
[all...]
H A Dice_ddp_common.h177 __le32 buf_count;
176 __le32 buf_count; global() member
/freebsd/contrib/unbound/dnstap/
H A Ddtstream.c656 rb->buf_count = 0; in dtio_read_frame_free()
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