Lines Matching refs:hold_p_mem_node
2396 struct pci_resource *hold_p_mem_node; in configure_new_function() local
2512 hold_p_mem_node = (struct pci_resource *) kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in configure_new_function()
2514 if (!hold_bus_node || !hold_IO_node || !hold_mem_node || !hold_p_mem_node) { in configure_new_function()
2521 if (hold_p_mem_node) in configure_new_function()
2522 kfree(hold_p_mem_node); in configure_new_function()
2585 memcpy(hold_p_mem_node, p_mem_node, sizeof(struct pci_resource)); in configure_new_function()
2603 kfree(hold_p_mem_node); in configure_new_function()
2604 hold_p_mem_node = NULL; in configure_new_function()
2648 return_resource(&(resources->p_mem_head), hold_p_mem_node); in configure_new_function()
2670 return_resource(&(resources->p_mem_head), hold_p_mem_node); in configure_new_function()
2813 if (hold_p_mem_node && temp_resources.p_mem_head) { in configure_new_function()
2815 &hold_p_mem_node, 0x100000L); in configure_new_function()
2819 hold_p_mem_node->base = p_mem_node->base + p_mem_node->length; in configure_new_function()
2821 RES_CHECK(hold_p_mem_node->base, 16); in configure_new_function()
2822 temp_word = (u32)((hold_p_mem_node->base) >> 16); in configure_new_function()
2833 hold_p_mem_node->length = p_mem_node->base - hold_p_mem_node->base; in configure_new_function()
2836 if (hold_p_mem_node->length) { in configure_new_function()
2837 hold_p_mem_node->next = func->p_mem_head; in configure_new_function()
2838 func->p_mem_head = hold_p_mem_node; in configure_new_function()
2851 kfree(hold_p_mem_node); in configure_new_function()
2855 hold_p_mem_node->next = func->p_mem_head; in configure_new_function()
2856 func->p_mem_head = hold_p_mem_node; in configure_new_function()
2858 } else if (hold_p_mem_node) { in configure_new_function()
2860 hold_p_mem_node->next = func->p_mem_head; in configure_new_function()
2861 func->p_mem_head = hold_p_mem_node; in configure_new_function()