bus_mem 563 drivers/pci/hotplug/ibmphp_pci.c struct resource_node *bus_mem[2] = {NULL, NULL}; bus_mem 739 drivers/pci/hotplug/ibmphp_pci.c bus_mem[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL); bus_mem 740 drivers/pci/hotplug/ibmphp_pci.c if (!bus_mem[count]) { bus_mem 744 drivers/pci/hotplug/ibmphp_pci.c bus_mem[count]->type = MEM; bus_mem 745 drivers/pci/hotplug/ibmphp_pci.c bus_mem[count]->busno = func->busno; bus_mem 746 drivers/pci/hotplug/ibmphp_pci.c bus_mem[count]->devfunc = PCI_DEVFN(func->device, bus_mem 748 drivers/pci/hotplug/ibmphp_pci.c bus_mem[count]->len = len[count]; bus_mem 749 drivers/pci/hotplug/ibmphp_pci.c if (ibmphp_check_resource(bus_mem[count], 0) == 0) { bus_mem 750 drivers/pci/hotplug/ibmphp_pci.c ibmphp_add_resource(bus_mem[count]); bus_mem 751 drivers/pci/hotplug/ibmphp_pci.c func->mem[count] = bus_mem[count]; bus_mem 755 drivers/pci/hotplug/ibmphp_pci.c kfree(bus_mem[count]); bus_mem 794 drivers/pci/hotplug/ibmphp_pci.c } else if (bus_mem[count]) { bus_mem 795 drivers/pci/hotplug/ibmphp_pci.c ibmphp_remove_resource(bus_mem[count]); bus_mem 1033 drivers/pci/hotplug/ibmphp_pci.c } else if (bus_mem[i]) { bus_mem 1034 drivers/pci/hotplug/ibmphp_pci.c ibmphp_remove_resource(bus_mem[i]);