Lines Matching refs:info
38 static int xen_hotadd_memory(int pxm, struct acpi_memory_info *info)
44 op.u.mem_add.spfn = info->start_addr >> PAGE_SHIFT;
45 op.u.mem_add.epfn = (info->start_addr + info->length) >> PAGE_SHIFT;
52 (unsigned long)info->start_addr,
53 (unsigned long)(info->start_addr + info->length),
63 struct acpi_memory_info *info;
72 list_for_each_entry(info, &mem_device->res_list, list) {
73 if (info->enabled) { /* just sanity check...*/
78 if (!info->length)
81 result = xen_hotadd_memory(pxm, info);
84 info->enabled = 1;
99 struct acpi_memory_info *info, *new;
107 list_for_each_entry(info, &mem_device->res_list, list) {
108 if ((info->caching == address64.info.mem.caching) &&
109 (info->write_protect == address64.info.mem.write_protect) &&
110 (info->start_addr + info->length == address64.address.minimum)) {
111 info->length += address64.address.address_length;
121 new->caching = address64.info.mem.caching;
122 new->write_protect = address64.info.mem.write_protect;
134 struct acpi_memory_info *info, *n;
143 list_for_each_entry_safe(info, n, &mem_device->res_list, list)
144 kfree(info);
344 struct acpi_device_info *info;
346 status = acpi_get_object_info(handle, &info);
350 if (!(info->valid & ACPI_VALID_HID)) {
351 kfree(info);
355 hardware_id = info->hardware_id.string;
360 kfree(info);