descriptor_resource
static struct descriptor_resource *to_descriptor_resource(struct client_resource *resource)
return container_of(resource, struct descriptor_resource, resource);
struct descriptor_resource *r = to_descriptor_resource(resource);
struct descriptor_resource *r;