Home
last modified time | relevance | path

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

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_context.c68 .res_free = vmw_user_context_free
178 void (*res_free)(struct vmw_resource *res)) in vmw_gb_context_init()
187 res_free, in vmw_gb_context_init()
227 if (res_free) in vmw_gb_context_init()
228 res_free(res); in vmw_gb_context_init()
236 void (*res_free)(struct vmw_resource *res), in vmw_context_init()
247 return vmw_gb_context_init(dev_priv, dx, res, res_free); in vmw_context_init()
250 res_free, &vmw_legacy_context_func); in vmw_context_init()
279 if (res_free == NULL) in vmw_context_init()
282 res_free(res); in vmw_context_init()
Dvmwgfx_simple_resource.c65 void (*res_free)(struct vmw_resource *res)) in vmw_simple_resource_init()
70 ret = vmw_resource_init(dev_priv, res, false, res_free, in vmw_simple_resource_init()
74 res_free(res); in vmw_simple_resource_init()
Dvmwgfx_resource_priv.h54 void (*res_free) (struct vmw_resource *res); member
128 void (*res_free) (struct vmw_resource *res),
Dvmwgfx_resource.c134 if (res->res_free != NULL) in vmw_resource_release()
135 res->res_free(res); in vmw_resource_release()
195 void (*res_free) (struct vmw_resource *res), in vmw_resource_init()
200 res->res_free = res_free; in vmw_resource_init()
Dvmwgfx_shader.c87 .res_free = vmw_user_shader_free
167 void (*res_free) (struct vmw_resource *res)) in vmw_gb_shader_init()
172 ret = vmw_resource_init(dev_priv, res, true, res_free, in vmw_gb_shader_init()
176 if (res_free) in vmw_gb_shader_init()
177 res_free(res); in vmw_gb_shader_init()
Dvmwgfx_surface.c102 .res_free = vmw_user_surface_free
590 void (*res_free) (struct vmw_resource *res)) in vmw_surface_init()
595 BUG_ON(!res_free); in vmw_surface_init()
596 ret = vmw_resource_init(dev_priv, res, true, res_free, in vmw_surface_init()
601 res_free(res); in vmw_surface_init()
Dvmwgfx_drv.h180 void (*res_free) (struct vmw_resource *res); member
/drivers/media/usb/tm6000/
Dtm6000-video.c836 static void res_free(struct tm6000_core *dev, struct tm6000_fh *fh) in res_free() function
1024 res_free(dev, fh); in vidioc_streamoff()
1471 res_free(dev, fh); in tm6000_release()
/drivers/media/usb/cx231xx/
Dcx231xx-video.c906 static void res_free(struct cx231xx_fh *fh) in res_free() function
1549 res_free(fh); in vidioc_streamoff()
1881 res_free(fh); in cx231xx_close()
/drivers/media/usb/em28xx/
Dem28xx-video.c880 static void res_free(struct em28xx *dev, enum v4l2_buf_type f_type) in res_free() function
1156 res_free(dev, vq->type); in em28xx_stop_streaming()
1191 res_free(dev, vq->type); in em28xx_stop_vbi_streaming()
/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c327 res_alloc->res_free; in mlx4_grant_resource()
368 res_alloc->res_free -= count; in mlx4_grant_resource()
415 res_alloc->res_free += count; in mlx4_release_resource()
432 res_alloc->res_free = num_instances; in initialize_res_quotas()
435 res_alloc->res_free += dev->caps.reserved_mtts; in initialize_res_quotas()
545 res_alloc->res_free = dev->caps.max_counters - 1; in mlx4_init_resource_tracker()
Dmlx4.h547 int res_free; member
/drivers/net/ethernet/brocade/bna/
Dbnad.c3682 goto res_free; in bnad_pci_probe()
3764 res_free: in bnad_pci_probe()