Lines Matching refs:hold_p_mem_node
2373 struct pci_resource *hold_p_mem_node; in configure_new_function() local
2486 hold_p_mem_node = kmalloc(sizeof(*hold_p_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()
2492 kfree(hold_p_mem_node); in configure_new_function()
2528 memcpy(hold_p_mem_node, p_mem_node, sizeof(struct pci_resource)); in configure_new_function()
2722 &hold_p_mem_node, 0x100000); in configure_new_function()
2726 hold_p_mem_node->base = p_mem_node->base + p_mem_node->length; in configure_new_function()
2728 temp_word = (hold_p_mem_node->base) >> 16; in configure_new_function()
2740 hold_p_mem_node->length = p_mem_node->base - hold_p_mem_node->base; in configure_new_function()
2743 if (hold_p_mem_node->length) { in configure_new_function()
2744 hold_p_mem_node->next = func->p_mem_head; in configure_new_function()
2745 func->p_mem_head = hold_p_mem_node; in configure_new_function()
2757 kfree(hold_p_mem_node); in configure_new_function()
2761 hold_p_mem_node->next = func->p_mem_head; in configure_new_function()
2762 func->p_mem_head = hold_p_mem_node; in configure_new_function()
2764 } else if (hold_p_mem_node) { in configure_new_function()
2766 hold_p_mem_node->next = func->p_mem_head; in configure_new_function()
2767 func->p_mem_head = hold_p_mem_node; in configure_new_function()
2954 return_resource(&(resources->p_mem_head), hold_p_mem_node); in configure_new_function()