Searched refs:hostmem_resource (Results 1 – 3 of 3) sorted by relevance
348 void __init arch_xen_balloon_init(struct resource *hostmem_resource) in arch_xen_balloon_init() argument385 hostmem_resource->start = max_addr; in arch_xen_balloon_init()386 hostmem_resource->end = entry->addr + entry->size; in arch_xen_balloon_init()399 if (entry->addr >= hostmem_resource->end) in arch_xen_balloon_init()408 res->end = (entry->addr + entry->size < hostmem_resource->end) ? in arch_xen_balloon_init()409 entry->addr + entry->size : hostmem_resource->end; in arch_xen_balloon_init()410 rc = insert_resource(hostmem_resource, res); in arch_xen_balloon_init()
50 void arch_xen_balloon_init(struct resource *hostmem_resource);
262 static struct resource hostmem_resource = { variable285 ret = allocate_resource(&hostmem_resource, res_hostmem, in additional_memory_resource()751 arch_xen_balloon_init(&hostmem_resource); in balloon_init()