Lines Matching refs:hold_mem_node
2327 struct pci_resource *hold_mem_node; in configure_new_function() local
2440 hold_mem_node = kmalloc(sizeof(*hold_mem_node), GFP_KERNEL); in configure_new_function()
2443 if (!hold_bus_node || !hold_IO_node || !hold_mem_node || !hold_p_mem_node) { in configure_new_function()
2446 kfree(hold_mem_node); in configure_new_function()
2473 memcpy(hold_mem_node, mem_node, sizeof(struct pci_resource)); in configure_new_function()
2623 if (hold_mem_node && temp_resources.mem_head) { in configure_new_function()
2625 &hold_mem_node, 0x100000); in configure_new_function()
2629 hold_mem_node->base = mem_node->base + mem_node->length; in configure_new_function()
2631 temp_word = (hold_mem_node->base) >> 16; in configure_new_function()
2643 hold_mem_node->length = mem_node->base - hold_mem_node->base; in configure_new_function()
2645 if (hold_mem_node->length) { in configure_new_function()
2646 hold_mem_node->next = func->mem_head; in configure_new_function()
2647 func->mem_head = hold_mem_node; in configure_new_function()
2661 kfree(hold_mem_node); in configure_new_function()
2665 hold_mem_node->next = func->mem_head; in configure_new_function()
2666 func->mem_head = hold_mem_node; in configure_new_function()
2668 } else if (hold_mem_node) { in configure_new_function()
2670 hold_mem_node->next = func->mem_head; in configure_new_function()
2671 func->mem_head = hold_mem_node; in configure_new_function()
2908 return_resource(&(resources->mem_head), hold_mem_node); in configure_new_function()