Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/drm2/
H A Ddrm_bufs.c777 buf->idx = dma->buf_count + entry->buf_count; in drm_addbufs_agp()
812 (dma->buf_count + entry->buf_count) * sizeof(*dma->buflist), in drm_addbufs_agp()
827 dma->buf_count += entry->buf_count; in drm_addbufs_agp()
978 buf->idx = dma->buf_count + entry->buf_count; in drm_addbufs_pci()
1011 (dma->buf_count + entry->buf_count) * sizeof(*dma->buflist), in drm_addbufs_pci()
1035 dma->buf_count += entry->buf_count; in drm_addbufs_pci()
1140 buf->idx = dma->buf_count + entry->buf_count; in drm_addbufs_sg()
1176 (dma->buf_count + entry->buf_count) * sizeof(*dma->buflist), in drm_addbufs_sg()
1191 dma->buf_count += entry->buf_count; in drm_addbufs_sg()
1296 buf->idx = dma->buf_count + entry->buf_count; in drm_addbufs_fb()
[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-14.2/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-14.2/sys/net/
H A Dif_clone.c708 int buf_count, count, err = 0; in if_clone_list() local
722 buf_count = (V_if_cloners_count < ifcr->ifcr_count) ? in if_clone_list()
726 outbuf = malloc(IFNAMSIZ*buf_count, M_CLONE, M_WAITOK | M_ZERO); in if_clone_list()
735 count = (V_if_cloners_count < buf_count) ? in if_clone_list()
736 V_if_cloners_count : buf_count; in if_clone_list()
747 err = copyout(outbuf, dst, buf_count*IFNAMSIZ); in if_clone_list()
/freebsd-14.2/sys/dev/ice/
H A Dice_ddp_common.c516 LE32_TO_CPU(seg->buf_tbl.buf_count), in ice_download_pkg_sig_seg()
540 u32 buf_count; in ice_download_pkg_config_seg() local
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)); in ice_download_pkg_without_sig_seg()
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_COUNT) { in ice_cfg_tx_topo()
2488 seg->buf_table.buf_count); in ice_cfg_tx_topo()
H A Dice_ddp_common.h177 __le32 buf_count; member
/freebsd-14.2/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