Lines Matching refs:add_res
216 struct pci_dev_resource *add_res, *tmp; in reassign_resources_sorted() local
221 list_for_each_entry_safe(add_res, tmp, realloc_head, list) { in reassign_resources_sorted()
224 res = add_res->res; in reassign_resources_sorted()
239 idx = res - &add_res->dev->resource[0]; in reassign_resources_sorted()
240 add_size = add_res->add_size; in reassign_resources_sorted()
241 align = add_res->min_align; in reassign_resources_sorted()
245 if (pci_assign_resource(add_res->dev, idx)) in reassign_resources_sorted()
248 res->flags |= add_res->flags & in reassign_resources_sorted()
250 if (pci_reassign_resource(add_res->dev, idx, in reassign_resources_sorted()
252 pci_info(add_res->dev, "failed to add %llx res[%d]=%pR\n", in reassign_resources_sorted()
257 list_del(&add_res->list); in reassign_resources_sorted()
258 kfree(add_res); in reassign_resources_sorted()