Lines Matching defs:buf
109 * \param buf buffer to free.
111 * Resets the fields of \p buf.
113 void drm_free_buffer(struct drm_device *dev, struct drm_buf * buf)
115 if (!buf)
118 buf->waiting = 0;
119 buf->pending = 0;
120 buf->file_priv = NULL;
121 buf->used = 0;
124 && waitqueue_active(&buf->dma_wait)) {
125 wake_up_interruptible(&buf->dma_wait);