Searched refs:rams (Results 1 – 1 of 1) sorted by relevance
435 struct resource res, *rams; in walk_system_ram_res_rev() local441 rams = kvcalloc(rams_size, sizeof(struct resource), GFP_KERNEL); in walk_system_ram_res_rev()442 if (!rams) in walk_system_ram_res_rev()453 rams_new = kvrealloc(rams, (rams_size + 16) * sizeof(struct resource), in walk_system_ram_res_rev()458 rams = rams_new; in walk_system_ram_res_rev()462 rams[i++] = res; in walk_system_ram_res_rev()468 ret = (*func)(&rams[i], arg); in walk_system_ram_res_rev()474 kvfree(rams); in walk_system_ram_res_rev()