Searched refs:tmp_res (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/xen/ |
| H A D | unpopulated-alloc.c | 40 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/drivers/scsi/aic94xx/ |
| H A D | aic94xx_tmf.c | 164 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/i2c/busses/ |
| H A D | i2c-mlxbf.c | 1041 struct mlxbf_i2c_resource *tmp_res; in mlxbf_i2c_init_resource() local 1047 tmp_res = devm_kzalloc(dev, sizeof(struct mlxbf_i2c_resource), in mlxbf_i2c_init_resource() 1049 if (!tmp_res) in mlxbf_i2c_init_resource() 1052 tmp_res->io = devm_platform_get_and_ioremap_resource(pdev, type, &tmp_res->params); in mlxbf_i2c_init_resource() 1053 if (IS_ERR(tmp_res->io)) { in mlxbf_i2c_init_resource() 1054 int ret = PTR_ERR(tmp_res->io); in mlxbf_i2c_init_resource() 1056 devm_kfree(dev, tmp_res); in mlxbf_i2c_init_resource() 1060 tmp_res->type = type; in mlxbf_i2c_init_resource() 1062 *res = tmp_res; in mlxbf_i2c_init_resource()
|
| /linux/drivers/net/bonding/ |
| H A D | bond_main.c | 4812 int tmp_res; in bond_change_mtu() local 4817 tmp_res = dev_set_mtu(rollback_slave->dev, bond_dev->mtu); in bond_change_mtu() 4818 if (tmp_res) in bond_change_mtu() 4820 tmp_res); in bond_change_mtu() 4877 int tmp_res; in bond_set_mac_address() local 4882 tmp_res = dev_set_mac_address(rollback_slave->dev, &tmp_ss, NULL); in bond_set_mac_address() 4883 if (tmp_res) { in bond_set_mac_address() 4885 __func__, tmp_res); in bond_set_mac_address()
|