Searched refs:new_entries (Results 1 – 4 of 4) sorted by relevance
/linux/arch/x86/kernel/ |
H A D | e820.c | 289 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()
|
/linux/drivers/acpi/apei/ |
H A D | erst.c | 536 u64 *new_entries; in __erst_record_id_cache_add_one() local 546 new_entries = kvmalloc_array(new_size, sizeof(entries[0]), in __erst_record_id_cache_add_one() 548 if (!new_entries) in __erst_record_id_cache_add_one() 550 memcpy(new_entries, entries, in __erst_record_id_cache_add_one() 553 erst_record_id_cache.entries = entries = new_entries; in __erst_record_id_cache_add_one()
|
/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_static_config.c | 1936 void *new_entries, *old_entries = table->entries; in sja1105_table_resize() local 1941 new_entries = kcalloc(new_count, entry_size, GFP_KERNEL); in sja1105_table_resize() 1942 if (!new_entries) in sja1105_table_resize() 1945 memcpy(new_entries, old_entries, min(new_count, table->entry_count) * in sja1105_table_resize() 1948 table->entries = new_entries; in sja1105_table_resize()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rx.c | 651 u16 entries, pi, header_offset, err, wqe_bbs, new_entries; in mlx5e_build_shampo_hd_umr() local 661 new_entries = ksm_entries - (shampo->pi & (MLX5_UMR_KSM_NUM_ENTRIES_ALIGNMENT - 1)); in mlx5e_build_shampo_hd_umr() 704 .shampo.len = new_entries, in mlx5e_build_shampo_hd_umr() 707 shampo->pi = (shampo->pi + new_entries) & (shampo->hd_per_wq - 1); in mlx5e_build_shampo_hd_umr()
|