prime_fpriv 60 drivers/gpu/drm/drm_internal.h void drm_prime_init_file_private(struct drm_prime_file_private *prime_fpriv); prime_fpriv 61 drivers/gpu/drm/drm_internal.h void drm_prime_destroy_file_private(struct drm_prime_file_private *prime_fpriv); prime_fpriv 62 drivers/gpu/drm/drm_internal.h void drm_prime_remove_buf_handle_locked(struct drm_prime_file_private *prime_fpriv, prime_fpriv 98 drivers/gpu/drm/drm_prime.c static int drm_prime_add_buf_handle(struct drm_prime_file_private *prime_fpriv, prime_fpriv 113 drivers/gpu/drm/drm_prime.c p = &prime_fpriv->dmabufs.rb_node; prime_fpriv 125 drivers/gpu/drm/drm_prime.c rb_insert_color(&member->dmabuf_rb, &prime_fpriv->dmabufs); prime_fpriv 128 drivers/gpu/drm/drm_prime.c p = &prime_fpriv->handles.rb_node; prime_fpriv 140 drivers/gpu/drm/drm_prime.c rb_insert_color(&member->handle_rb, &prime_fpriv->handles); prime_fpriv 145 drivers/gpu/drm/drm_prime.c static struct dma_buf *drm_prime_lookup_buf_by_handle(struct drm_prime_file_private *prime_fpriv, prime_fpriv 150 drivers/gpu/drm/drm_prime.c rb = prime_fpriv->handles.rb_node; prime_fpriv 166 drivers/gpu/drm/drm_prime.c static int drm_prime_lookup_buf_handle(struct drm_prime_file_private *prime_fpriv, prime_fpriv 172 drivers/gpu/drm/drm_prime.c rb = prime_fpriv->dmabufs.rb_node; prime_fpriv 190 drivers/gpu/drm/drm_prime.c void drm_prime_remove_buf_handle_locked(struct drm_prime_file_private *prime_fpriv, prime_fpriv 195 drivers/gpu/drm/drm_prime.c rb = prime_fpriv->dmabufs.rb_node; prime_fpriv 201 drivers/gpu/drm/drm_prime.c rb_erase(&member->handle_rb, &prime_fpriv->handles); prime_fpriv 202 drivers/gpu/drm/drm_prime.c rb_erase(&member->dmabuf_rb, &prime_fpriv->dmabufs); prime_fpriv 215 drivers/gpu/drm/drm_prime.c void drm_prime_init_file_private(struct drm_prime_file_private *prime_fpriv) prime_fpriv 217 drivers/gpu/drm/drm_prime.c mutex_init(&prime_fpriv->lock); prime_fpriv 218 drivers/gpu/drm/drm_prime.c prime_fpriv->dmabufs = RB_ROOT; prime_fpriv 219 drivers/gpu/drm/drm_prime.c prime_fpriv->handles = RB_ROOT; prime_fpriv 222 drivers/gpu/drm/drm_prime.c void drm_prime_destroy_file_private(struct drm_prime_file_private *prime_fpriv) prime_fpriv 225 drivers/gpu/drm/drm_prime.c WARN_ON(!RB_EMPTY_ROOT(&prime_fpriv->dmabufs));