Home
last modified time | relevance | path

Searched refs:parent_resource (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/virtio/
Dvirtio_mem.c141 struct resource *parent_resource; member
2709 vm->parent_resource = __request_mem_region(vm->addr, vm->region_size, in virtio_mem_create_resource()
2712 if (!vm->parent_resource) { in virtio_mem_create_resource()
2721 vm->parent_resource->flags &= ~IORESOURCE_BUSY; in virtio_mem_create_resource()
2729 if (!vm->parent_resource) in virtio_mem_delete_resource()
2732 name = vm->parent_resource->name; in virtio_mem_delete_resource()
2733 release_resource(vm->parent_resource); in virtio_mem_delete_resource()
2734 kfree(vm->parent_resource); in virtio_mem_delete_resource()
2736 vm->parent_resource = NULL; in virtio_mem_delete_resource()
/linux-6.1.9/net/core/
Ddevlink.c10844 struct devlink_resource *parent_resource; in devl_resource_register() local
10846 parent_resource = devlink_resource_find(devlink, NULL, in devl_resource_register()
10848 if (parent_resource) { in devl_resource_register()
10849 resource_list = &parent_resource->resource_list; in devl_resource_register()
10850 resource->parent = parent_resource; in devl_resource_register()