Searched refs:current_used (Results 1 – 4 of 4) sorted by relevance
248 rmesa->dma.current_used = 0; in radeonRefillCurrentDmaRegion()276 assert(rmesa->dma.current_used == rmesa->dma.current_vertexptr); in radeonAllocDmaRegion()279 rmesa->dma.current_used = (rmesa->dma.current_used + alignment) & ~alignment; in radeonAllocDmaRegion()282 || rmesa->dma.current_used + bytes > first_elem(&rmesa->dma.reserved)->bo->size) in radeonAllocDmaRegion()285 *poffset = rmesa->dma.current_used; in radeonAllocDmaRegion()290 rmesa->dma.current_used = (rmesa->dma.current_used + bytes + 15) & ~15; in radeonAllocDmaRegion()291 rmesa->dma.current_vertexptr = rmesa->dma.current_used; in radeonAllocDmaRegion()293 assert(rmesa->dma.current_used <= first_elem(&rmesa->dma.reserved)->bo->size); in radeonAllocDmaRegion()329 rmesa->dma.current_used -= return_bytes; in radeonReturnDmaRegion()330 rmesa->dma.current_vertexptr = rmesa->dma.current_used; in radeonReturnDmaRegion()[all …]
262 size_t current_used; /** Number of bytes allocated and forgotten about */ member