Searched refs:current_used (Results 1 – 4 of 4) sorted by relevance
247 rmesa->dma.current_used = 0; in radeonRefillCurrentDmaRegion()275 assert(rmesa->dma.current_used == rmesa->dma.current_vertexptr); in radeonAllocDmaRegion()278 rmesa->dma.current_used = (rmesa->dma.current_used + alignment) & ~alignment; in radeonAllocDmaRegion()281 || rmesa->dma.current_used + bytes > first_elem(&rmesa->dma.reserved)->bo->size) in radeonAllocDmaRegion()284 *poffset = rmesa->dma.current_used; in radeonAllocDmaRegion()289 rmesa->dma.current_used = (rmesa->dma.current_used + bytes + 15) & ~15; in radeonAllocDmaRegion()290 rmesa->dma.current_vertexptr = rmesa->dma.current_used; in radeonAllocDmaRegion()292 assert(rmesa->dma.current_used <= first_elem(&rmesa->dma.reserved)->bo->size); in radeonAllocDmaRegion()328 rmesa->dma.current_used -= return_bytes; in radeonReturnDmaRegion()329 rmesa->dma.current_vertexptr = rmesa->dma.current_used; in radeonReturnDmaRegion()[all …]
262 size_t current_used; /** Number of bytes allocated and forgotten about */ member