Lines Matching refs:handle

96 	int handle;  member
503 resource->handle = ret; in add_client_resource()
515 static int release_client_resource(struct client *client, u32 handle, in release_client_resource() argument
525 resource = idr_find(&client->resource_idr, handle); in release_client_resource()
527 idr_remove(&client->resource_idr, handle); in release_client_resource()
556 idr_remove(&client->resource_idr, e->r.resource.handle); in complete_transaction()
753 req->handle = r->resource.handle; in handle_request()
767 req->handle = r->resource.handle; in handle_request()
781 req->handle = r->resource.handle; in handle_request()
849 a->handle = r->resource.handle; in ioctl_allocate()
856 return release_client_resource(client, arg->deallocate.handle, in ioctl_deallocate()
867 if (release_client_resource(client, a->handle, in ioctl_send_response()
950 a->handle = r->resource.handle; in ioctl_add_descriptor()
961 return release_client_resource(client, arg->remove_descriptor.handle, in ioctl_remove_descriptor()
1096 a->handle = 0; in ioctl_create_iso_context()
1106 if (ctx == NULL || a->handle != 0) in ioctl_set_iso_channels()
1133 if (ctx == NULL || a->handle != 0) in ioctl_queue_iso()
1231 if (client->iso_context == NULL || a->handle != 0) in ioctl_start_iso()
1246 if (client->iso_context == NULL || a->handle != 0) in ioctl_stop_iso()
1256 if (client->iso_context == NULL || a->handle != 0) in ioctl_flush_iso()
1370 idr_remove(&client->resource_idr, r->resource.handle)) { in iso_resource_work()
1389 e->iso_resource.handle = r->resource.handle; in iso_resource_work()
1458 r->resource.handle = -1; in init_iso_resource()
1461 request->handle = r->resource.handle; in init_iso_resource()
1483 arg->deallocate.handle, release_iso_resource, NULL); in ioctl_deallocate_iso_resource()