Home
last modified time | relevance | path

Searched refs:res_free (Results 1 – 14 of 14) sorted by relevance

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_context.c65 .res_free = vmw_user_context_free
148 void (*res_free) (struct vmw_resource *res)) in vmw_gb_context_init()
155 res_free, &vmw_gb_context_func); in vmw_gb_context_init()
176 if (res_free) in vmw_gb_context_init()
177 res_free(res); in vmw_gb_context_init()
185 void (*res_free) (struct vmw_resource *res)) in vmw_context_init()
195 return vmw_gb_context_init(dev_priv, res, res_free); in vmw_context_init()
198 res_free, &vmw_legacy_context_func); in vmw_context_init()
228 if (res_free == NULL) in vmw_context_init()
231 res_free(res); in vmw_context_init()
Dvmwgfx_resource_priv.h41 void (*res_free) (struct vmw_resource *res); member
80 void (*res_free) (struct vmw_resource *res),
Dvmwgfx_resource.c153 if (res->res_free != NULL) in vmw_resource_release()
154 res->res_free(res); in vmw_resource_release()
217 void (*res_free) (struct vmw_resource *res), in vmw_resource_init()
222 res->res_free = res_free; in vmw_resource_init()
317 if (!res->avail || res->res_free != converter->res_free) { in vmw_user_resource_lookup_handle()
789 void (*res_free) (struct vmw_resource *res)) in vmw_stream_init()
794 ret = vmw_resource_init(dev_priv, res, false, res_free, in vmw_stream_init()
798 if (res_free == NULL) in vmw_stream_init()
801 res_free(&stream->res); in vmw_stream_init()
860 if (res->res_free != &vmw_user_stream_free) { in vmw_stream_unref_ioctl()
[all …]
Dvmwgfx_shader.c61 .res_free = vmw_user_shader_free
101 void (*res_free) (struct vmw_resource *res)) in vmw_gb_shader_init()
107 res_free, &vmw_gb_shader_func); in vmw_gb_shader_init()
111 if (res_free) in vmw_gb_shader_init()
112 res_free(res); in vmw_gb_shader_init()
Dvmwgfx_surface.c84 .res_free = vmw_user_surface_free
572 void (*res_free) (struct vmw_resource *res)) in vmw_surface_init()
577 BUG_ON(res_free == NULL); in vmw_surface_init()
580 ret = vmw_resource_init(dev_priv, res, true, res_free, in vmw_surface_init()
587 res_free(res); in vmw_surface_init()
Dvmwgfx_drv.h120 void (*res_free) (struct vmw_resource *res); member
/drivers/media/usb/au0828/
Dau0828-video.c915 static void res_free(struct au0828_fh *fh, unsigned int bits) in res_free() function
1071 res_free(fh, AU0828_RESOURCE_VIDEO); in au0828_v4l2_close()
1080 res_free(fh, AU0828_RESOURCE_VBI); in au0828_v4l2_close()
1746 res_free(fh, AU0828_RESOURCE_VIDEO); in vidioc_streamoff()
1754 res_free(fh, AU0828_RESOURCE_VBI); in vidioc_streamoff()
/drivers/media/pci/cx88/
Dcx88-video.c338 void res_free(struct cx8800_dev *dev, struct cx8800_fh *fh, unsigned int bits) in res_free() function
858 res_free(dev,fh,RESOURCE_OVERLAY); in video_release()
864 res_free(dev,fh,RESOURCE_VIDEO); in video_release()
874 res_free(dev,fh,RESOURCE_VBI); in video_release()
1179 res_free(dev,fh,res); in vidioc_streamoff()
/drivers/media/usb/tm6000/
Dtm6000-video.c859 static void res_free(struct tm6000_core *dev, struct tm6000_fh *fh) in res_free() function
1052 res_free(dev, fh); in vidioc_streamoff()
1496 res_free(dev, fh); in tm6000_release()
/drivers/media/usb/cx231xx/
Dcx231xx-video.c849 static void res_free(struct cx231xx_fh *fh) in res_free() function
1422 res_free(fh); in vidioc_streamoff()
1778 res_free(fh); in cx231xx_close()
/drivers/media/usb/em28xx/
Dem28xx-video.c865 static void res_free(struct em28xx *dev, enum v4l2_buf_type f_type) in res_free() function
992 res_free(dev, vq->type); in em28xx_stop_streaming()
1022 res_free(dev, vq->type); in em28xx_stop_vbi_streaming()
/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c320 res_alloc->res_free; in mlx4_grant_resource()
360 res_alloc->res_free -= count; in mlx4_grant_resource()
405 res_alloc->res_free += count; in mlx4_release_resource()
421 res_alloc->res_free = num_instances; in initialize_res_quotas()
424 res_alloc->res_free += dev->caps.reserved_mtts; in initialize_res_quotas()
577 res_alloc->res_free = res_alloc->quota[t]; in mlx4_init_resource_tracker()
Dmlx4.h523 int res_free; member
/drivers/net/ethernet/brocade/bna/
Dbnad.c3691 goto res_free; in bnad_pci_probe()
3781 res_free: in bnad_pci_probe()