Lines Matching refs:reserved_mem_count
31 static int reserved_mem_count; variable
64 struct reserved_mem *rmem = &reserved_mem[reserved_mem_count]; in fdt_reserved_mem_save_node()
66 if (reserved_mem_count == ARRAY_SIZE(reserved_mem)) { in fdt_reserved_mem_save_node()
76 reserved_mem_count++; in fdt_reserved_mem_save_node()
93 for (i = 0; i < reserved_mem_count; i++) { in __reserved_mem_alloc_in_range()
283 if (reserved_mem_count < 2) in __rmem_check_for_overlap()
286 sort(reserved_mem, reserved_mem_count, sizeof(reserved_mem[0]), in __rmem_check_for_overlap()
288 for (i = 0; i < reserved_mem_count - 1; i++) { in __rmem_check_for_overlap()
316 for (i = 0; i < reserved_mem_count; i++) { in fdt_init_reserved_mem()
366 for (i = 0; i < reserved_mem_count; i++) in __find_rmem()
509 for (i = 0; i < reserved_mem_count; i++) in of_reserved_mem_lookup()