Lines Matching refs:DRM
36 int DRM(waitlist_create)(drm_waitlist_t *bl, int count) in DRM() function
40 bl->bufs = DRM(alloc)((bl->count + 2) * sizeof(*bl->bufs), in DRM()
54 int DRM(waitlist_destroy)(drm_waitlist_t *bl) in DRM() function
57 if (bl->bufs) DRM(free)(bl->bufs, in DRM()
68 int DRM(waitlist_put)(drm_waitlist_t *bl, drm_buf_t *buf) in DRM() function
92 drm_buf_t *DRM(waitlist_get)(drm_waitlist_t *bl) in DRM() function
114 int DRM(freelist_create)(drm_freelist_t *bl, int count) in DRM() function
127 int DRM(freelist_destroy)(drm_freelist_t *bl) in DRM() function
134 int DRM(freelist_put)(drm_device_t *dev, drm_freelist_t *bl, drm_buf_t *buf) in DRM() function
150 DRM(histogram_compute)(dev, buf); in DRM()
173 static drm_buf_t *DRM(freelist_try)(drm_freelist_t *bl) in DRM() function
200 drm_buf_t *DRM(freelist_get)(drm_freelist_t *bl, int block) in DRM() function
216 && (buf = DRM(freelist_try)(bl))) break; in DRM()
226 return DRM(freelist_try)(bl); in DRM()