Lines Matching refs:age
227 SET_AGE(&entry->age, 0, 0); in savage_freelist_init()
256 DRM_DEBUG(" tail=0x%04x %d\n", tail->age.event, tail->age.wrap); in savage_freelist_get()
259 if (tail->buf && (TEST_AGE(&tail->age, event, wrap) || event == 0)) { in savage_freelist_get()
277 DRM_DEBUG("age=0x%04x wrap=%d\n", entry->age.event, entry->age.wrap); in savage_freelist_put()
307 SET_AGE(&dev_priv->dma_pages[i].age, 0, 0); in savage_dma_init()
326 SET_AGE(&dev_priv->dma_pages[i].age, event, wrap); in savage_dma_reset()
352 if (dev_priv->dma_pages[page].age.wrap > wrap || in savage_dma_wait()
353 (dev_priv->dma_pages[page].age.wrap == wrap && in savage_dma_wait()
354 dev_priv->dma_pages[page].age.event > event)) { in savage_dma_wait()
356 dev_priv->dma_pages[page].age.event) in savage_dma_wait()
388 dev_priv->dma_pages[i].age = dev_priv->last_dma_age; in savage_dma_alloc()
476 SET_AGE(&dev_priv->dma_pages[i].age, event, wrap); in savage_dma_flush()
482 SET_AGE(&dev_priv->dma_pages[cur].age, event, wrap); in savage_dma_flush()
1075 SET_AGE(&buf_priv->age, event, dev_priv->event_wrap); in savage_reclaim_buffers()