Home
last modified time | relevance | path

Searched refs:new_entries (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kernel/
De820.c289 static struct e820_entry new_entries[E820_MAX_ENTRIES] __initdata; variable
399 new_entries[new_nr_entries].size = change_point[chg_idx]->addr - last_addr; in e820__update_table()
401 if (new_entries[new_nr_entries].size != 0) in e820__update_table()
407 new_entries[new_nr_entries].addr = change_point[chg_idx]->addr; in e820__update_table()
408 new_entries[new_nr_entries].type = current_type; in e820__update_table()
416 memcpy(entries, new_entries, new_nr_entries*sizeof(*entries)); in e820__update_table()
/kernel/linux/linux-5.10/drivers/acpi/apei/
Derst.c509 u64 *new_entries; in __erst_record_id_cache_add_one() local
519 new_entries = kvmalloc_array(new_size, sizeof(entries[0]), in __erst_record_id_cache_add_one()
521 if (!new_entries) in __erst_record_id_cache_add_one()
523 memcpy(new_entries, entries, in __erst_record_id_cache_add_one()
526 erst_record_id_cache.entries = entries = new_entries; in __erst_record_id_cache_add_one()
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
Dsja1105_static_config.c1454 void *new_entries, *old_entries = table->entries; in sja1105_table_resize() local
1459 new_entries = kcalloc(new_count, entry_size, GFP_KERNEL); in sja1105_table_resize()
1460 if (!new_entries) in sja1105_table_resize()
1463 memcpy(new_entries, old_entries, min(new_count, table->entry_count) * in sja1105_table_resize()
1466 table->entries = new_entries; in sja1105_table_resize()