Lines Matching refs:mem_db
54 struct resource_map mem_db; member
379 sub_interval(&s_data->mem_db, base, size); in do_validate_mem()
438 sub_interval(&s_data->mem_db, i, j-i); in do_mem_probe()
458 if (m == &s_data->mem_db) in inv_probe()
463 sub_interval(&s_data->mem_db, m->base, m->num); in inv_probe()
489 if (inv_probe(s_data->mem_db.next, s) > 0) in validate_mem()
498 for (m = s_data->mem_db.next; m != &s_data->mem_db; m = mm.next) { in validate_mem()
513 sub_interval(&s_data->mem_db, b, 0x10000); in validate_mem()
542 for (m = s_data->mem_db.next; m != &s_data->mem_db; m = mm.next) { in validate_mem()
848 data.map = &s_data->mem_db; in nonstatic_find_mem_region()
874 ret = add_interval(&data->mem_db, start, size); in adjust_memory()
879 ret = sub_interval(&data->mem_db, start, size); in adjust_memory()
1028 data->mem_db.next = &data->mem_db;
1048 for (p = data->mem_db.next; p != &data->mem_db; p = q) {
1148 for (p = data->mem_db.next; p != &data->mem_db; p = p->next) {