Lines Matching refs:p_mem_node
702 struct pci_resource *p_mem_node; in cpqhp_save_used_resources() local
778 p_mem_node = kmalloc(sizeof(*p_mem_node), GFP_KERNEL); in cpqhp_save_used_resources()
779 if (!p_mem_node) in cpqhp_save_used_resources()
782 p_mem_node->base = w_base << 16; in cpqhp_save_used_resources()
783 p_mem_node->length = (w_length - w_base + 0x10) << 16; in cpqhp_save_used_resources()
785 p_mem_node->next = func->p_mem_head; in cpqhp_save_used_resources()
786 func->p_mem_head = p_mem_node; in cpqhp_save_used_resources()
827 p_mem_node = kmalloc(sizeof(*p_mem_node), in cpqhp_save_used_resources()
829 if (!p_mem_node) in cpqhp_save_used_resources()
832 p_mem_node->base = save_base & (~0x0FL); in cpqhp_save_used_resources()
833 p_mem_node->length = temp_register; in cpqhp_save_used_resources()
835 p_mem_node->next = func->p_mem_head; in cpqhp_save_used_resources()
836 func->p_mem_head = p_mem_node; in cpqhp_save_used_resources()
898 p_mem_node = kmalloc(sizeof(*p_mem_node), in cpqhp_save_used_resources()
900 if (!p_mem_node) in cpqhp_save_used_resources()
903 p_mem_node->base = save_base & (~0x0FL); in cpqhp_save_used_resources()
904 p_mem_node->length = temp_register; in cpqhp_save_used_resources()
906 p_mem_node->next = func->p_mem_head; in cpqhp_save_used_resources()
907 func->p_mem_head = p_mem_node; in cpqhp_save_used_resources()
1179 struct pci_resource *p_mem_node; in cpqhp_find_available_resources() local
1350 p_mem_node = kmalloc(sizeof(*p_mem_node), GFP_KERNEL); in cpqhp_find_available_resources()
1351 if (!p_mem_node) in cpqhp_find_available_resources()
1354 p_mem_node->base = pre_mem_base << 16; in cpqhp_find_available_resources()
1356 p_mem_node->length = pre_mem_length << 16; in cpqhp_find_available_resources()
1358 p_mem_node->base, p_mem_node->length); in cpqhp_find_available_resources()
1362 p_mem_node->next = ctrl->p_mem_head; in cpqhp_find_available_resources()
1363 ctrl->p_mem_head = p_mem_node; in cpqhp_find_available_resources()
1365 p_mem_node->next = func->p_mem_head; in cpqhp_find_available_resources()
1366 func->p_mem_head = p_mem_node; in cpqhp_find_available_resources()