Lines Matching defs:realloc_head

204  * @realloc_head:	Head of the list tracking requests requiring
209 * Walk through each element of the realloc_head and try to procure additional
212 static void reassign_resources_sorted(struct list_head *realloc_head,
222 list_for_each_entry_safe(add_res, tmp, realloc_head, list) {
346 struct list_head *realloc_head,
378 if (!realloc_head || list_empty(realloc_head))
389 /* Update res in head list with add_size in realloc_head list */
391 dev_res->res->end += get_res_add_size(realloc_head,
403 add_align = get_res_add_align(realloc_head, dev_res->res);
436 /* Remove head list from realloc_head list */
438 remove_from_list(realloc_head, dev_res->res);
450 /* Remove it from realloc_head list */
451 remove_from_list(realloc_head, dev_res->res);
477 if (realloc_head)
478 reassign_resources_sorted(realloc_head, head);
494 struct list_head *realloc_head,
503 __assign_resources_sorted(&head, realloc_head, fail_head);
876 * @realloc_head: Track the additional I/O window on this list
885 struct list_head *realloc_head)
922 if (realloc_head)
923 children_add_size += get_res_add_size(realloc_head, r);
929 size1 = (!realloc_head || (realloc_head && !add_size && !children_add_size)) ? size0 :
943 if (bus->self && size1 > size0 && realloc_head) {
944 add_to_list(realloc_head, bus->self, b_res, size1-size0,
984 * @realloc_head: Track the additional memory window on this list
991 * required size, add things to realloc_head (if supplied), and return 0.
997 struct list_head *realloc_head)
1036 if (realloc_head && i >= PCI_IOV_RESOURCES &&
1040 add_to_list(realloc_head, dev, r, r_size, 0 /* Don't care */);
1071 if (realloc_head) {
1072 children_add_size += get_res_add_size(realloc_head, r);
1073 children_add_align = get_res_add_align(realloc_head, r);
1083 size1 = (!realloc_head || (realloc_head && !add_size && !children_add_size)) ? size0 :
1096 if (bus->self && size1 > size0 && realloc_head) {
1097 add_to_list(realloc_head, bus->self, b_res, size1-size0, add_align);
1116 struct list_head *realloc_head)
1133 if (realloc_head) {
1135 add_to_list(realloc_head, bridge, b_res, pci_cardbus_io_size,
1146 if (realloc_head) {
1148 add_to_list(realloc_head, bridge, b_res, pci_cardbus_io_size,
1181 if (realloc_head) {
1183 add_to_list(realloc_head, bridge, b_res,
1198 if (realloc_head) {
1200 add_to_list(realloc_head, bridge, b_res, b_res_3_size,
1208 void __pci_bus_size_bridges(struct pci_bus *bus, struct list_head *realloc_head)
1225 pci_bus_size_cardbus(b, realloc_head);
1230 __pci_bus_size_bridges(b, realloc_head);
1263 pbus_size_io(bus, realloc_head ? 0 : additional_io_size,
1264 additional_io_size, realloc_head);
1277 realloc_head ? 0 : additional_mmio_pref_size,
1278 additional_mmio_pref_size, realloc_head);
1301 realloc_head ? 0 : additional_mmio_pref_size,
1302 additional_mmio_pref_size, realloc_head);
1331 realloc_head ? 0 : additional_mmio_size,
1332 additional_mmio_size, realloc_head);
1383 struct list_head *realloc_head,
1389 pbus_assign_resources_sorted(bus, realloc_head, fail_head);
1398 __pci_bus_assign_resources(b, realloc_head, fail_head);
2047 LIST_HEAD(realloc_head);
2073 add_list = &realloc_head;