Lines Matching defs:end
28 * start and end must be u64 rather than resource_size_t, because e820
32 u64 end; /* end of the memory range (incl.) */
48 firmware_map_find_entry(u64 start, u64 end, const char *type);
60 static struct memmap_attribute memmap_end_attr = __ATTR_RO(end);
132 * @end: End of the memory range (exclusive).
142 static int firmware_map_add_entry(u64 start, u64 end,
146 BUG_ON(start > end);
149 entry->end = end - 1;
208 * @end: End of the memory range (exclusive).
219 firmware_map_find_entry_in_list(u64 start, u64 end, const char *type,
225 if ((entry->start == start) && (entry->end == end) &&
236 * @end: End of the memory range (exclusive).
246 firmware_map_find_entry(u64 start, u64 end, const char *type)
248 return firmware_map_find_entry_in_list(start, end, type, &map_entries);
254 * @end: End of the memory range (exclusive).
263 firmware_map_find_entry_bootmem(u64 start, u64 end, const char *type)
265 return firmware_map_find_entry_in_list(start, end, type,
273 * @end: End of the memory range (exclusive)
282 int __meminit firmware_map_add_hotplug(u64 start, u64 end, const char *type)
286 entry = firmware_map_find_entry(start, end - 1, type);
290 entry = firmware_map_find_entry_bootmem(start, end - 1, type);
304 firmware_map_add_entry(start, end, type, entry);
314 * @end: End of the memory range.
324 int __init firmware_map_add_early(u64 start, u64 end, const char *type)
333 return firmware_map_add_entry(start, end, type, entry);
339 * @end: End of the memory range.
346 int __meminit firmware_map_remove(u64 start, u64 end, const char *type)
351 entry = firmware_map_find_entry(start, end - 1, type);
379 (unsigned long long)entry->end);