Home
last modified time | relevance | path

Searched refs:buflist (Results 1 – 12 of 12) sorted by relevance

/freebsd/sys/dev/drm2/
H A Ddrm_dma.c94 free(dma->bufs[i].buflist[j].dev_private, in drm_dma_takedown()
97 free(dma->bufs[i].buflist, DRM_MEM_BUFS); in drm_dma_takedown()
101 free(dma->buflist, DRM_MEM_BUFS); in drm_dma_takedown()
142 if (dma->buflist[i]->file_priv == file_priv) { in drm_core_reclaim_buffers()
143 switch (dma->buflist[i]->list) { in drm_core_reclaim_buffers()
145 drm_free_buffer(dev, dma->buflist[i]); in drm_core_reclaim_buffers()
148 dma->buflist[i]->list = DRM_LIST_RECLAIM; in drm_core_reclaim_buffers()
H A Ddrm_bufs.c662 free(entry->buflist[i].dev_private, DRM_MEM_BUFS); in drm_cleanup_buf_error()
664 free(entry->buflist, DRM_MEM_BUFS); in drm_cleanup_buf_error()
761 entry->buflist = malloc(count * sizeof(*entry->buflist), DRM_MEM_BUFS, in drm_addbufs_agp()
763 if (!entry->buflist) { in drm_addbufs_agp()
775 buf = &entry->buflist[entry->buf_count]; in drm_addbufs_agp()
810 temp_buflist = realloc(dma->buflist, in drm_addbufs_agp()
811 (dma->buf_count + entry->buf_count) * sizeof(*dma->buflist), in drm_addbufs_agp()
820 dma->buflist = temp_buflist; in drm_addbufs_agp()
823 dma->buflist[i + dma->buf_count] = &entry->buflist[i]; in drm_addbufs_agp()
912 entry->buflist = malloc(count * sizeof(*entry->buflist), DRM_MEM_BUFS, in drm_addbufs_pci()
[all …]
H A Ddrm_sysctl.c292 templists[i] = dma->buflist[i]->list;
H A DdrmP.h381 struct drm_buf *buflist; /**< buffer list */ member
452 struct drm_buf **buflist; /**< Vector of pointers into drm_device_dma::bufs */ member
/freebsd/sys/kern/
H A Dvfs_cluster.c695 struct cluster_save *buflist; in cluster_write() local
697 buflist = cluster_collectbufs(vp, vnc, bp, in cluster_write()
699 if (buflist == NULL) { in cluster_write()
707 endbp = &buflist->bs_children in cluster_write()
708 [buflist->bs_nchildren - 1]; in cluster_write()
709 if (VOP_REALLOCBLKS(vp, buflist)) { in cluster_write()
718 for (bpp = buflist->bs_children; in cluster_write()
721 free(buflist, M_SEGMENT); in cluster_write()
731 for (bpp = buflist->bs_children; in cluster_write()
734 free(buflist, M_SEGMENT); in cluster_write()
[all …]
H A Dvnode_if.src530 IN struct cluster_save *buflist;
/freebsd/contrib/less/
H A Dch.c60 struct bufnode buflist; member
71 #define ch_bufhead thisfile->buflist.next
72 #define ch_buftail thisfile->buflist.prev
81 #define END_OF_CHAIN (&thisfile->buflist)
86 * Macros to manipulate the list of buffers in thisfile->buflist.
828 thisfile->buflist.next = thisfile->buflist.prev = END_OF_CHAIN; in ch_init()
917 for (bn = fs->next; bn != &fs->buflist; bn = bn->next)
/freebsd/sys/ufs/ffs/
H A Dffs_alloc.c574 struct cluster_save *buflist; in ffs_reallocblks_ufs1() local
594 buflist = ap->a_buflist; in ffs_reallocblks_ufs1()
595 len = buflist->bs_nchildren; in ffs_reallocblks_ufs1()
596 start_lbn = buflist->bs_children[0]->b_lblkno; in ffs_reallocblks_ufs1()
601 dbtofsb(fs, buflist->bs_children[i]->b_blkno), fs->fs_bsize)) in ffs_reallocblks_ufs1()
604 if (buflist->bs_children[i]->b_lblkno != start_lbn + i) in ffs_reallocblks_ufs1()
606 blkno = buflist->bs_children[0]->b_blkno; in ffs_reallocblks_ufs1()
609 if (buflist->bs_children[i]->b_blkno != blkno + (i * ssize)) in ffs_reallocblks_ufs1()
629 if (dtog(fs, dbtofsb(fs, buflist->bs_children[0]->b_blkno)) != in ffs_reallocblks_ufs1()
630 dtog(fs, dbtofsb(fs, buflist->bs_children[len - 1]->b_blkno))) in ffs_reallocblks_ufs1()
[all …]
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dtrace_arc.h297 list_t *buflist, uint64_t taddr, boolean_t all),
298 TP_ARGS(dev, buflist, taddr, all),
339 TP_PROTO(l2arc_dev_t *dev, list_t *buflist, uint64_t taddr, boolean_t all),\
340 TP_ARGS(dev, buflist, taddr, all))
/freebsd/contrib/ntp/libntp/lib/isc/include/isc/
H A Dsocket.h763 isc_socket_recvv(isc_socket_t *sock, isc_bufferlist_t *buflist,
854 isc_socket_sendv(isc_socket_t *sock, isc_bufferlist_t *buflist,
857 isc_socket_sendtov(isc_socket_t *sock, isc_bufferlist_t *buflist,
/freebsd/sys/fs/ext2fs/
H A Dext2_alloc.c208 struct cluster_save *buflist; in ext2_reallocblks() local
226 buflist = ap->a_buflist; in ext2_reallocblks()
227 len = buflist->bs_nchildren; in ext2_reallocblks()
228 start_lbn = buflist->bs_children[0]->b_lblkno; in ext2_reallocblks()
232 if (buflist->bs_children[i]->b_lblkno != start_lbn + i) in ext2_reallocblks()
252 if (dtog(fs, dbtofsb(fs, buflist->bs_children[0]->b_blkno)) != in ext2_reallocblks()
253 dtog(fs, dbtofsb(fs, buflist->bs_children[len - 1]->b_blkno))) in ext2_reallocblks()
318 if (buflist->bs_children[i]->b_blkno != fsbtodb(fs, *bap)) in ext2_reallocblks()
358 ext2_blkfree(ip, dbtofsb(fs, buflist->bs_children[i]->b_blkno), in ext2_reallocblks()
360 buflist->bs_children[i]->b_blkno = fsbtodb(fs, blkno); in ext2_reallocblks()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Darc.c8293 list_t *buflist; in l2arc_write_done() local
8305 buflist = &dev->l2ad_buflist; in l2arc_write_done()
8306 ASSERT3P(buflist, !=, NULL); in l2arc_write_done()
8315 for (hdr = list_prev(buflist, head); hdr; hdr = hdr_prev) { in l2arc_write_done()
8316 hdr_prev = list_prev(buflist, hdr); in l2arc_write_done()
8338 list_remove(buflist, head); in l2arc_write_done()
8339 list_insert_after(buflist, hdr, head); in l2arc_write_done()
8369 list_remove(buflist, hdr); in l2arc_write_done()
8454 list_remove(buflist, head); in l2arc_write_done()
8776 list_t *buflist; in l2arc_evict() local
[all …]