Lines Matching defs:add_size

37 	resource_size_t add_size;
57 * @add_size: Additional size to be optionally added to the resource
61 struct resource *res, resource_size_t add_size,
75 tmp->add_size = add_size;
115 return dev_res ? dev_res->add_size : 0;
218 resource_size_t add_size, align;
240 add_size = add_res->add_size;
244 res->end = res->start + add_size - 1;
251 add_size, align))
253 (unsigned long long) add_size, idx,
351 * Try to assign requested + add_size at beginning. If could do that,
353 * requested at first, then try to reassign add_size for some resources.
356 * assigned resource after requested + add_size try.
374 /* Check if optional add_size is there */
386 /* Update res in head list with add_size in realloc_head list */
428 /* Try updated head list with add_size added */
431 /* All assigned with add_size? */
788 resource_size_t add_size,
808 size = ALIGN(max(size, add_size) + children_add_size, align);
814 resource_size_t add_size,
826 size = ALIGN(max(size, add_size) + children_add_size, align);
866 * @add_size: Additional optional I/O window
875 resource_size_t add_size,
920 size1 = (!realloc_head || (realloc_head && !add_size && !children_add_size)) ? size0 :
921 calculate_iosize(size, min_size, size1, add_size, children_add_size,
937 pci_info(bus->self, "bridge window %pR to %pR add_size %llx\n",
974 * @add_size: Additional optional memory window
987 resource_size_t add_size,
1073 size1 = (!realloc_head || (realloc_head && !add_size && !children_add_size)) ? size0 :
1074 calculate_memsize(size, min_size, add_size, children_add_size,
1088 pci_info(bus->self, "bridge window %pR to %pR add_size %llx add_align %llx\n",
1745 resource_size_t add_size, size = resource_size(res);
1754 add_size = new_size - size;
1756 &add_size);
1758 add_size = size - new_size;
1760 &add_size);