Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/firewire/
Dcore-cdev.c65 struct idr resource_idr; member
271 idr_init(&client->resource_idr); in fw_device_op_open()
402 idr_for_each(&client->resource_idr, schedule_reallocations, client); in queue_bus_reset_event()
500 ret = idr_alloc(&client->resource_idr, resource, 0, 0, in add_client_resource()
525 resource = idr_find(&client->resource_idr, handle); in release_client_resource()
527 idr_remove(&client->resource_idr, handle); in release_client_resource()
562 idr_remove(&client->resource_idr, e->r.resource.handle); in complete_transaction()
1310 idr_find(&client->resource_idr, r->resource.handle)) { in iso_resource_work()
1311 idr_remove(&client->resource_idr, r->resource.handle); in iso_resource_work()
1733 ret = idr_for_each(&client->resource_idr, in has_outbound_transactions()
[all …]
/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_kms.c157 idr_init(&vgdev->resource_idr); in virtio_gpu_driver_load()
Dvirtgpu_drv.h184 struct idr resource_idr; member
Dvirtgpu_vq.c48 handle = idr_alloc(&vgdev->resource_idr, NULL, 1, 0, GFP_NOWAIT); in virtio_gpu_resource_id_get()
57 idr_remove(&vgdev->resource_idr, id); in virtio_gpu_resource_id_put()