Home
last modified time | relevance | path

Searched refs:tmp_res (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/xen/
H A Dunpopulated-alloc.c40 struct resource *res, *tmp_res = NULL; in fill_list() local
68 tmp_res = kzalloc_obj(*tmp_res); in fill_list()
69 if (!tmp_res) { in fill_list()
74 tmp_res->name = res->name; in fill_list()
75 tmp_res->start = res->start; in fill_list()
76 tmp_res->end = res->end; in fill_list()
77 tmp_res->flags = res->flags; in fill_list()
79 ret = request_resource(&iomem_resource, tmp_res); in fill_list()
81 pr_err("Cannot request resource %pR (%d)\n", tmp_res, ret); in fill_list()
82 kfree(tmp_res); in fill_list()
[all …]
/linux/arch/arm/xen/
H A Denlighten.c317 struct resource *regs, *tmp_res; in arch_xen_unpopulated_init() local
386 tmp_res = kzalloc_obj(*tmp_res); in arch_xen_unpopulated_init()
387 if (!tmp_res) { in arch_xen_unpopulated_init()
392 tmp_res->name = "Unavailable space"; in arch_xen_unpopulated_init()
393 tmp_res->start = start; in arch_xen_unpopulated_init()
394 tmp_res->end = end; in arch_xen_unpopulated_init()
396 rc = insert_resource(&xen_resource, tmp_res); in arch_xen_unpopulated_init()
398 pr_err("Cannot insert resource %pR (%d)\n", tmp_res, rc); in arch_xen_unpopulated_init()
399 kfree(tmp_res); in arch_xen_unpopulated_init()
/linux/drivers/pci/
H A Dof.c325 struct resource *res, tmp_res; in devm_of_pci_get_host_bridge_resources() local
380 err = of_pci_range_to_resource(&range, dev_node, &tmp_res); in devm_of_pci_get_host_bridge_resources()
384 res = devm_kmemdup(dev, &tmp_res, sizeof(tmp_res), GFP_KERNEL); in devm_of_pci_get_host_bridge_resources()
430 err = of_pci_range_to_resource(&range, dev_node, &tmp_res); in devm_of_pci_get_host_bridge_resources()
434 res = devm_kmemdup(dev, &tmp_res, sizeof(tmp_res), GFP_KERNEL); in devm_of_pci_get_host_bridge_resources()
H A Dsetup-bus.c608 struct pci_dev_resource *dev_res, *tmp_res, *dev_res2, *addsize_res; in __assign_resources_sorted() local
631 list_for_each_entry_safe(dev_res, tmp_res, head, list) { in __assign_resources_sorted()
703 list_for_each_entry_safe(dev_res, tmp_res, head, list) { in __assign_resources_sorted()
/linux/drivers/scsi/aic94xx/
H A Daic94xx_tmf.c164 int res, tmp_res, i; in asd_I_T_nexus_reset() local
183 tmp_res = asd_clear_nexus_I_T(dev, NEXUS_PHASE_RESUME); in asd_I_T_nexus_reset()
184 if (tmp_res == TC_RESUME) in asd_I_T_nexus_reset()
193 "Failed to resume nexus after reset 0x%x\n", tmp_res); in asd_I_T_nexus_reset()
/linux/drivers/net/bonding/
H A Dbond_main.c4798 int tmp_res; in bond_change_mtu() local
4803 tmp_res = dev_set_mtu(rollback_slave->dev, bond_dev->mtu); in bond_change_mtu()
4804 if (tmp_res) in bond_change_mtu()
4806 tmp_res); in bond_change_mtu()
4869 int tmp_res; in bond_set_mac_address() local
4874 tmp_res = dev_set_mac_address(rollback_slave->dev, &tmp_ss, NULL); in bond_set_mac_address()
4875 if (tmp_res) { in bond_set_mac_address()
4877 __func__, tmp_res); in bond_set_mac_address()