Lines Matching refs:hold_mem_node
2372 struct pci_resource *hold_mem_node; in configure_new_function() local
2485 hold_mem_node = kmalloc(sizeof(*hold_mem_node), GFP_KERNEL); in configure_new_function()
2488 if (!hold_bus_node || !hold_IO_node || !hold_mem_node || !hold_p_mem_node) { in configure_new_function()
2491 kfree(hold_mem_node); in configure_new_function()
2518 memcpy(hold_mem_node, mem_node, sizeof(struct pci_resource)); in configure_new_function()
2668 if (hold_mem_node && temp_resources.mem_head) { in configure_new_function()
2670 &hold_mem_node, 0x100000); in configure_new_function()
2674 hold_mem_node->base = mem_node->base + mem_node->length; in configure_new_function()
2676 temp_word = (hold_mem_node->base) >> 16; in configure_new_function()
2688 hold_mem_node->length = mem_node->base - hold_mem_node->base; in configure_new_function()
2690 if (hold_mem_node->length) { in configure_new_function()
2691 hold_mem_node->next = func->mem_head; in configure_new_function()
2692 func->mem_head = hold_mem_node; in configure_new_function()
2706 kfree(hold_mem_node); in configure_new_function()
2710 hold_mem_node->next = func->mem_head; in configure_new_function()
2711 func->mem_head = hold_mem_node; in configure_new_function()
2713 } else if (hold_mem_node) { in configure_new_function()
2715 hold_mem_node->next = func->mem_head; in configure_new_function()
2716 func->mem_head = hold_mem_node; in configure_new_function()
2953 return_resource(&(resources->mem_head), hold_mem_node); in configure_new_function()