/linux-6.1.9/drivers/xen/ |
D | unpopulated-alloc.c | 37 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-6.1.9/arch/arm/xen/ |
D | enlighten.c | 320 struct resource *regs, *tmp_res; in arch_xen_unpopulated_init() local 389 tmp_res = kzalloc(sizeof(*tmp_res), GFP_KERNEL); in arch_xen_unpopulated_init() 390 if (!tmp_res) { in arch_xen_unpopulated_init() 395 tmp_res->name = "Unavailable space"; in arch_xen_unpopulated_init() 396 tmp_res->start = start; in arch_xen_unpopulated_init() 397 tmp_res->end = end; in arch_xen_unpopulated_init() 399 rc = insert_resource(&xen_resource, tmp_res); in arch_xen_unpopulated_init() 401 pr_err("Cannot insert resource %pR (%d)\n", tmp_res, rc); in arch_xen_unpopulated_init() 402 kfree(tmp_res); in arch_xen_unpopulated_init()
|
/linux-6.1.9/drivers/pci/ |
D | of.c | 281 struct resource *res, tmp_res; in devm_of_pci_get_host_bridge_resources() local 335 err = of_pci_range_to_resource(&range, dev_node, &tmp_res); in devm_of_pci_get_host_bridge_resources() 339 res = devm_kmemdup(dev, &tmp_res, sizeof(tmp_res), GFP_KERNEL); in devm_of_pci_get_host_bridge_resources() 385 err = of_pci_range_to_resource(&range, dev_node, &tmp_res); in devm_of_pci_get_host_bridge_resources() 389 res = devm_kmemdup(dev, &tmp_res, sizeof(tmp_res), GFP_KERNEL); in devm_of_pci_get_host_bridge_resources()
|
D | setup-bus.c | 373 struct pci_dev_resource *dev_res, *tmp_res, *dev_res2; in __assign_resources_sorted() local 390 list_for_each_entry_safe(dev_res, tmp_res, head, list) { in __assign_resources_sorted() 447 list_for_each_entry_safe(dev_res, tmp_res, head, list) in __assign_resources_sorted()
|
/linux-6.1.9/drivers/i2c/busses/ |
D | i2c-mlxbf.c | 1072 struct mlxbf_i2c_resource *tmp_res; in mlxbf_i2c_init_resource() local 1078 tmp_res = devm_kzalloc(dev, sizeof(struct mlxbf_i2c_resource), in mlxbf_i2c_init_resource() 1080 if (!tmp_res) in mlxbf_i2c_init_resource() 1083 tmp_res->params = platform_get_resource(pdev, IORESOURCE_MEM, type); in mlxbf_i2c_init_resource() 1084 if (!tmp_res->params) { in mlxbf_i2c_init_resource() 1085 devm_kfree(dev, tmp_res); in mlxbf_i2c_init_resource() 1089 tmp_res->io = devm_ioremap_resource(dev, tmp_res->params); in mlxbf_i2c_init_resource() 1090 if (IS_ERR(tmp_res->io)) { in mlxbf_i2c_init_resource() 1091 devm_kfree(dev, tmp_res); in mlxbf_i2c_init_resource() 1092 return PTR_ERR(tmp_res->io); in mlxbf_i2c_init_resource() [all …]
|
/linux-6.1.9/drivers/scsi/aic94xx/ |
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-6.1.9/drivers/staging/media/atomisp/i2c/ov5693/ |
D | atomisp-ov5693.c | 1514 struct ov5693_resolution *tmp_res = NULL; in nearest_resolution_index() local 1517 tmp_res = &ov5693_res[i]; in nearest_resolution_index() 1518 dist = distance(tmp_res, w, h); in nearest_resolution_index()
|
/linux-6.1.9/drivers/net/bonding/ |
D | bond_main.c | 4695 int tmp_res; in bond_change_mtu() local 4700 tmp_res = dev_set_mtu(rollback_slave->dev, bond_dev->mtu); in bond_change_mtu() 4701 if (tmp_res) in bond_change_mtu() 4703 tmp_res); in bond_change_mtu() 4766 int tmp_res; in bond_set_mac_address() local 4771 tmp_res = dev_set_mac_address(rollback_slave->dev, in bond_set_mac_address() 4773 if (tmp_res) { in bond_set_mac_address() 4775 __func__, tmp_res); in bond_set_mac_address()
|