Lines Matching refs:add_res
219 struct pci_dev_resource *add_res, *tmp; in reassign_resources_sorted() local
224 list_for_each_entry_safe(add_res, tmp, realloc_head, list) { in reassign_resources_sorted()
227 res = add_res->res; in reassign_resources_sorted()
242 idx = res - &add_res->dev->resource[0]; in reassign_resources_sorted()
243 add_size = add_res->add_size; in reassign_resources_sorted()
244 align = add_res->min_align; in reassign_resources_sorted()
248 if (pci_assign_resource(add_res->dev, idx)) in reassign_resources_sorted()
251 res->flags |= add_res->flags & in reassign_resources_sorted()
253 if (pci_reassign_resource(add_res->dev, idx, in reassign_resources_sorted()
255 pci_info(add_res->dev, "failed to add %llx res[%d]=%pR\n", in reassign_resources_sorted()
260 list_del(&add_res->list); in reassign_resources_sorted()
261 kfree(add_res); in reassign_resources_sorted()