Lines Matching refs:mem_node
427 struct pci_resource *mem_node; in compaq_nvram_load() local
507 mem_node = kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in compaq_nvram_load()
509 if (!mem_node) in compaq_nvram_load()
512 mem_node->base = *(u32 *)p_byte; in compaq_nvram_load()
513 dbg("mem base = %8.8x\n", mem_node->base); in compaq_nvram_load()
517 kfree(mem_node); in compaq_nvram_load()
521 mem_node->length = *(u32 *)p_byte; in compaq_nvram_load()
522 dbg("mem length = %8.8x\n", mem_node->length); in compaq_nvram_load()
526 kfree(mem_node); in compaq_nvram_load()
530 mem_node->next = ctrl->mem_head; in compaq_nvram_load()
531 ctrl->mem_head = mem_node; in compaq_nvram_load()