Lines Matching refs:bus_node
706 struct pci_resource *bus_node; in cpqhp_save_used_resources() local
733 bus_node = kmalloc(sizeof(*bus_node), GFP_KERNEL); in cpqhp_save_used_resources()
734 if (!bus_node) in cpqhp_save_used_resources()
737 bus_node->base = secondary_bus; in cpqhp_save_used_resources()
738 bus_node->length = temp_byte - secondary_bus + 1; in cpqhp_save_used_resources()
740 bus_node->next = func->bus_head; in cpqhp_save_used_resources()
741 func->bus_head = bus_node; in cpqhp_save_used_resources()
1183 struct pci_resource *bus_node; in cpqhp_find_available_resources() local
1377 bus_node = kmalloc(sizeof(*bus_node), GFP_KERNEL); in cpqhp_find_available_resources()
1378 if (!bus_node) in cpqhp_find_available_resources()
1381 bus_node->base = secondary_bus; in cpqhp_find_available_resources()
1382 bus_node->length = max_bus - secondary_bus + 1; in cpqhp_find_available_resources()
1384 bus_node->base, bus_node->length); in cpqhp_find_available_resources()
1387 bus_node->next = ctrl->bus_head; in cpqhp_find_available_resources()
1388 ctrl->bus_head = bus_node; in cpqhp_find_available_resources()
1390 bus_node->next = func->bus_head; in cpqhp_find_available_resources()
1391 func->bus_head = bus_node; in cpqhp_find_available_resources()