Lines Matching refs:end
14 unsigned long end;
31 void accept_memory(phys_addr_t start, phys_addr_t end)
51 if (end < unaccepted->phys_base)
56 end -= unaccepted->phys_base;
75 * 1. Implicitly extend the range_contains_unaccepted_memory(start, end)
76 * checks up to end+unit_size if 'end' is aligned on a unit_size
79 * 2. Implicitly extend accept_memory(start, end) to end+unit_size if
80 * 'end' is aligned on a unit_size boundary. (immediately following
83 if (!(end % unit_size))
84 end += unit_size;
87 if (end > unaccepted->size * unit_size * BITS_PER_BYTE)
88 end = unaccepted->size * unit_size * BITS_PER_BYTE;
91 range.end = DIV_ROUND_UP(end, unit_size);
103 if (entry->end <= range.start)
105 if (entry->start >= range.end)
125 range.end) {
154 bool range_contains_unaccepted_memory(phys_addr_t start, phys_addr_t end)
173 if (end < unaccepted->phys_base)
178 end -= unaccepted->phys_base;
184 if (!(end % unit_size))
185 end += unit_size;
188 if (end > unaccepted->size * unit_size * BITS_PER_BYTE)
189 end = unaccepted->size * unit_size * BITS_PER_BYTE;
192 while (start < end) {