Searched refs:resource_idr (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/firewire/
H A Dcore-cdev.c65 struct idr resource_idr; member in struct:client
271 idr_init(&client->resource_idr); fw_device_op_open()
402 idr_for_each(&client->resource_idr, schedule_reallocations, client); queue_bus_reset_event()
500 ret = idr_alloc(&client->resource_idr, resource, 0, 0, add_client_resource()
525 resource = idr_find(&client->resource_idr, handle); release_client_resource()
527 idr_remove(&client->resource_idr, handle); release_client_resource()
562 idr_remove(&client->resource_idr, e->r.resource.handle); complete_transaction()
1310 idr_find(&client->resource_idr, r->resource.handle)) { iso_resource_work()
1311 idr_remove(&client->resource_idr, r->resource.handle); iso_resource_work()
1733 ret = idr_for_each(&client->resource_idr, has_outbound_transactions()
1770 /* Freeze client->resource_idr and client->event_list */ fw_device_op_release()
1777 idr_for_each(&client->resource_idr, shutdown_resource, client); fw_device_op_release()
1778 idr_destroy(&client->resource_idr); fw_device_op_release()
/linux-4.4.14/drivers/gpu/drm/virtio/
H A Dvirtgpu_kms.c157 idr_init(&vgdev->resource_idr); virtio_gpu_driver_load()
H A Dvirtgpu_vq.c48 handle = idr_alloc(&vgdev->resource_idr, NULL, 1, 0, GFP_NOWAIT); virtio_gpu_resource_id_get()
57 idr_remove(&vgdev->resource_idr, id); virtio_gpu_resource_id_put()
H A Dvirtgpu_drv.h184 struct idr resource_idr; member in struct:virtio_gpu_device

Completed in 315 milliseconds