Lines Matching refs:vmw_resource
36 struct vmw_resource res;
56 struct vmw_resource res;
89 struct vmw_resource *vmw_resource_reference(struct vmw_resource *res) in vmw_resource_reference()
103 static void vmw_resource_release_id(struct vmw_resource *res) in vmw_resource_release_id()
116 struct vmw_resource *res = in vmw_resource_release()
117 container_of(kref, struct vmw_resource, kref); in vmw_resource_release()
141 void vmw_resource_unreference(struct vmw_resource **p_res) in vmw_resource_unreference()
143 struct vmw_resource *res = *p_res; in vmw_resource_unreference()
163 struct vmw_resource *res) in vmw_resource_alloc_id()
184 struct vmw_resource *res, in vmw_resource_init()
188 void (*res_free) (struct vmw_resource *res), in vmw_resource_init()
190 (struct vmw_resource *res)) in vmw_resource_init()
222 static void vmw_resource_activate(struct vmw_resource *res, in vmw_resource_activate() argument
223 void (*hw_destroy) (struct vmw_resource *)) in vmw_resource_activate()
233 struct vmw_resource *vmw_resource_lookup(struct vmw_private *dev_priv, in vmw_resource_lookup()
236 struct vmw_resource *res; in vmw_resource_lookup()
256 static void vmw_hw_context_destroy(struct vmw_resource *res) in vmw_hw_context_destroy()
284 struct vmw_resource *res, in vmw_context_init()
285 void (*res_free) (struct vmw_resource *res)) in vmw_context_init()
332 struct vmw_resource *vmw_context_alloc(struct vmw_private *dev_priv) in vmw_context_alloc()
334 struct vmw_resource *res = kmalloc(sizeof(*res), GFP_KERNEL); in vmw_context_alloc()
348 static void vmw_user_context_free(struct vmw_resource *res) in vmw_user_context_free()
369 struct vmw_resource *res = &ctx->res; in vmw_user_context_base_release()
379 struct vmw_resource *res; in vmw_context_destroy_ioctl()
411 struct vmw_resource *res; in vmw_context_define_ioctl()
412 struct vmw_resource *tmp; in vmw_context_define_ioctl()
482 struct vmw_resource **p_res) in vmw_context_check()
484 struct vmw_resource *res; in vmw_context_check()
751 static void vmw_hw_surface_destroy(struct vmw_resource *res) in vmw_hw_surface_destroy()
785 void vmw_surface_res_free(struct vmw_resource *res) in vmw_surface_res_free()
815 struct vmw_resource *res = &srf->res; in vmw_surface_do_validate()
939 struct vmw_resource *res = &srf->res; in vmw_surface_evict()
1104 static void vmw_surface_remove_from_lists(struct vmw_resource *res) in vmw_surface_remove_from_lists()
1113 void (*res_free) (struct vmw_resource *res)) in vmw_surface_init()
1116 struct vmw_resource *res = &srf->res; in vmw_surface_init()
1137 static void vmw_user_surface_free(struct vmw_resource *res) in vmw_user_surface_free()
1169 struct vmw_resource *res; in vmw_resource_unreserve()
1221 struct vmw_resource *res; in vmw_user_surface_lookup_handle()
1262 struct vmw_resource *res = &user_srf->srf.res; in vmw_user_surface_base_release()
1283 struct vmw_resource *res; in vmw_surface_define_ioctl()
1284 struct vmw_resource *tmp; in vmw_surface_define_ioctl()
1713 static void vmw_stream_destroy(struct vmw_resource *res) in vmw_stream_destroy()
1728 void (*res_free) (struct vmw_resource *res)) in vmw_stream_init()
1730 struct vmw_resource *res = &stream->res; in vmw_stream_init()
1760 static void vmw_user_stream_free(struct vmw_resource *res) in vmw_user_stream_free()
1781 struct vmw_resource *res = &stream->stream.res; in vmw_user_stream_base_release()
1791 struct vmw_resource *res; in vmw_stream_unref_ioctl()
1823 struct vmw_resource *res; in vmw_stream_claim_ioctl()
1824 struct vmw_resource *tmp; in vmw_stream_claim_ioctl()
1892 uint32_t *inout_id, struct vmw_resource **out) in vmw_user_stream_lookup()
1895 struct vmw_resource *res; in vmw_user_stream_lookup()