Lines Matching refs:mem_head
1525 res_lists.mem_head = ctrl->mem_head; in board_added()
1534 ctrl->mem_head = res_lists.mem_head; in board_added()
1538 cpqhp_resource_sort_and_combine(&(ctrl->mem_head)); in board_added()
1635 else if (!func->bus_head && !func->mem_head && in remove_board()
1643 if (temp_func->bus_head || temp_func->mem_head in remove_board()
1679 res_lists.mem_head = ctrl->mem_head; in remove_board()
1686 ctrl->mem_head = res_lists.mem_head; in remove_board()
1690 cpqhp_resource_sort_and_combine(&(ctrl->mem_head)); in remove_board()
2438 mem_node = get_max_resource(&(resources->mem_head), 0x100000); in configure_new_function()
2476 temp_resources.mem_head = mem_node; in configure_new_function()
2668 if (hold_mem_node && temp_resources.mem_head) { in configure_new_function()
2669 mem_node = do_pre_bridge_resource_split(&(temp_resources. mem_head), in configure_new_function()
2679 return_resource(&(resources->mem_head), mem_node); in configure_new_function()
2682 mem_node = do_bridge_resource_split(&(temp_resources.mem_head), 0x100000); 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()
2699 return_resource(&(resources->mem_head), mem_node); in configure_new_function()
2705 return_resource(&(resources->mem_head), 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()
2715 hold_mem_node->next = func->mem_head; in configure_new_function()
2716 func->mem_head = hold_mem_node; in configure_new_function()
2847 mem_node = get_resource(&(resources->mem_head), base); in configure_new_function()
2853 mem_node->next = func->mem_head; in configure_new_function()
2854 func->mem_head = mem_node; in configure_new_function()
2953 return_resource(&(resources->mem_head), hold_mem_node); in configure_new_function()