Lines Matching refs:type
33 const char *type; /* type of the memory range */
48 firmware_map_find_entry(u64 start, u64 end, const char *type);
61 static struct memmap_attribute memmap_type_attr = __ATTR_RO(type);
133 * @type: Type of the memory range.
143 const char *type,
150 entry->type = type;
209 * @type: Type of the memory range.
219 firmware_map_find_entry_in_list(u64 start, u64 end, const char *type,
226 (!strcmp(entry->type, type))) {
237 * @type: Type of the memory range.
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);
255 * @type: Type of the memory range.
263 firmware_map_find_entry_bootmem(u64 start, u64 end, const char *type)
265 return firmware_map_find_entry_in_list(start, end, type,
274 * @type: Type of the memory range.
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);
315 * @type: Type 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);
340 * @type: Type 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);
384 return snprintf(buf, PAGE_SIZE, "%s\n", entry->type);