Home
last modified time | relevance | path

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

/linux-4.1.27/kernel/
Dresource.c931 struct resource *next_res = NULL; in __reserve_region_with_split() local
945 if (!next_res) in __reserve_region_with_split()
947 res = next_res; in __reserve_region_with_split()
948 next_res = NULL; in __reserve_region_with_split()
956 WARN_ON(next_res); in __reserve_region_with_split()
965 next_res = alloc_resource(GFP_ATOMIC); in __reserve_region_with_split()
966 if (!next_res) { in __reserve_region_with_split()
970 next_res->name = name; in __reserve_region_with_split()
971 next_res->start = conflict->end + 1; in __reserve_region_with_split()
972 next_res->end = end; in __reserve_region_with_split()
[all …]
/linux-4.1.27/drivers/pci/hotplug/
Dcpqphp_ctrl.c315 struct pci_resource *next_res; in sort_by_size() local
342 next_res = current_res->next; in sort_by_size()
345 next_res->next = current_res->next; in sort_by_size()
346 current_res->next = next_res; in sort_by_size()
363 struct pci_resource *next_res; in sort_by_max_size() local
390 next_res = current_res->next; in sort_by_max_size()
393 next_res->next = current_res->next; in sort_by_max_size()
394 current_res->next = next_res; in sort_by_max_size()