Home
last modified time | relevance | path

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

/linux/drivers/xen/
H 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()
76 ret = request_resource(&iomem_resource, tmp_res); in fill_list()
78 pr_err("Cannot request resource %pR (%d)\n", tmp_res, ret); in fill_list()
79 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(sizeof(*tmp_res), GFP_KERNEL); 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/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.c4856 int tmp_res; in bond_change_mtu() local
4861 tmp_res = dev_set_mtu(rollback_slave->dev, bond_dev->mtu); in bond_change_mtu()
4862 if (tmp_res) in bond_change_mtu()
4864 tmp_res); in bond_change_mtu()
4927 int tmp_res; in bond_set_mac_address() local
4932 tmp_res = dev_set_mac_address(rollback_slave->dev, in bond_set_mac_address()
4934 if (tmp_res) { in bond_set_mac_address()
4936 __func__, tmp_res); in bond_set_mac_address()