Searched refs:parent_resource (Results 1 – 1 of 1) sorted by relevance
138 struct resource *parent_resource; member2796 vm->parent_resource = __request_mem_region(vm->addr, vm->region_size, in virtio_mem_create_resource()2799 if (!vm->parent_resource) { in virtio_mem_create_resource()2808 vm->parent_resource->flags &= ~IORESOURCE_BUSY; in virtio_mem_create_resource()2816 if (!vm->parent_resource) in virtio_mem_delete_resource()2819 name = vm->parent_resource->name; in virtio_mem_delete_resource()2820 release_resource(vm->parent_resource); in virtio_mem_delete_resource()2821 kfree(vm->parent_resource); in virtio_mem_delete_resource()2823 vm->parent_resource = NULL; in virtio_mem_delete_resource()