Home
last modified time | relevance | path

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

/drivers/xen/
A Dunpopulated-alloc.c37 struct resource *res, *tmp_res = NULL; in fill_list() local
65 tmp_res = kzalloc(sizeof(*tmp_res), GFP_KERNEL); in fill_list()
66 if (!tmp_res) { in fill_list()
71 tmp_res->name = res->name; in fill_list()
72 tmp_res->start = res->start; in fill_list()
73 tmp_res->end = res->end; in fill_list()
74 tmp_res->flags = res->flags; in fill_list()
79 kfree(tmp_res); in fill_list()
141 if (tmp_res) { in fill_list()
142 release_resource(tmp_res); in fill_list()
[all …]
/drivers/pci/
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()
A Dsetup-bus.c431 struct pci_dev_resource *dev_res, *tmp_res, *dev_res2; in __assign_resources_sorted() local
455 list_for_each_entry_safe(dev_res, tmp_res, head, list) { in __assign_resources_sorted()
525 list_for_each_entry_safe(dev_res, tmp_res, head, list) { in __assign_resources_sorted()
/drivers/scsi/aic94xx/
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()
/drivers/i2c/busses/
A Di2c-mlxbf.c1048 struct mlxbf_i2c_resource *tmp_res; in mlxbf_i2c_init_resource() local
1054 tmp_res = devm_kzalloc(dev, sizeof(struct mlxbf_i2c_resource), in mlxbf_i2c_init_resource()
1056 if (!tmp_res) in mlxbf_i2c_init_resource()
1059 tmp_res->io = devm_platform_get_and_ioremap_resource(pdev, type, &tmp_res->params); in mlxbf_i2c_init_resource()
1060 if (IS_ERR(tmp_res->io)) { in mlxbf_i2c_init_resource()
1061 devm_kfree(dev, tmp_res); in mlxbf_i2c_init_resource()
1062 return PTR_ERR(tmp_res->io); in mlxbf_i2c_init_resource()
1065 tmp_res->type = type; in mlxbf_i2c_init_resource()
1067 *res = tmp_res; in mlxbf_i2c_init_resource()
/drivers/net/bonding/
A Dbond_main.c4885 int tmp_res; in bond_change_mtu() local
4890 tmp_res = dev_set_mtu(rollback_slave->dev, bond_dev->mtu); in bond_change_mtu()
4891 if (tmp_res) in bond_change_mtu()
4893 tmp_res); in bond_change_mtu()
4956 int tmp_res; in bond_set_mac_address() local
4961 tmp_res = dev_set_mac_address(rollback_slave->dev, &tmp_ss, NULL); in bond_set_mac_address()
4962 if (tmp_res) { in bond_set_mac_address()
4964 __func__, tmp_res); in bond_set_mac_address()

Completed in 33 milliseconds