Home
last modified time | relevance | path

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

/linux/drivers/acpi/
H A Dacpi_platform.c76 struct resource *new_res, in acpi_platform_adjust_resources() argument
82 if (!(new_res->flags & (IORESOURCE_IO | IORESOURCE_MEM))) in acpi_platform_adjust_resources()
92 if (__resource_contains_unbound(res, new_res) || in acpi_platform_adjust_resources()
93 __resource_contains_unbound(new_res, res) || in acpi_platform_adjust_resources()
94 resource_type(new_res) != resource_type(res) || in acpi_platform_adjust_resources()
95 !resource_union(new_res, res, new_res)) { in acpi_platform_adjust_resources()
100 dev_info(&adev->dev, "%pR expanded due to overlap\n", new_res); in acpi_platform_adjust_resources()
/linux/drivers/nvdimm/
H A Dnamespace_devs.c454 struct resource *next = res->sibling, *new_res = NULL; in scan_allocate() local
518 new_res = next; in scan_allocate()
536 new_res = nvdimm_allocate_dpa(ndd, label_id, in scan_allocate()
538 if (!new_res) in scan_allocate()
548 if (!new_res) in scan_allocate()
549 new_res = res; in scan_allocate()
551 nd_dbg_dpa(nd_region, ndd, new_res, "%s(%d) %d\n", in scan_allocate()