Lines Matching defs:end
16 unsigned long end;
33 void accept_memory(phys_addr_t start, phys_addr_t end)
53 if (end < unaccepted->phys_base)
58 end -= unaccepted->phys_base;
77 * 1. Implicitly extend the range_contains_unaccepted_memory(start, end)
78 * checks up to end+unit_size if 'end' is aligned on a unit_size
81 * 2. Implicitly extend accept_memory(start, end) to end+unit_size if
82 * 'end' is aligned on a unit_size boundary. (immediately following
85 if (!(end % unit_size))
86 end += unit_size;
89 if (end > unaccepted->size * unit_size * BITS_PER_BYTE)
90 end = unaccepted->size * unit_size * BITS_PER_BYTE;
93 range.end = DIV_ROUND_UP(end, unit_size);
105 if (entry->end <= range.start)
107 if (entry->start >= range.end)
127 range.end) {
159 bool range_contains_unaccepted_memory(phys_addr_t start, phys_addr_t end)
178 if (end < unaccepted->phys_base)
183 end -= unaccepted->phys_base;
189 if (!(end % unit_size))
190 end += unit_size;
193 if (end > unaccepted->size * unit_size * BITS_PER_BYTE)
194 end = unaccepted->size * unit_size * BITS_PER_BYTE;
197 while (start < end) {