Searched refs:new_entries (Results 1 – 3 of 3) sorted by relevance
/drivers/acpi/apei/ |
D | erst.c | 509 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()
|
/drivers/net/dsa/sja1105/ |
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()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 536 u16 entries, pi, header_offset, err, wqe_bbs, new_entries; in mlx5e_build_shampo_hd_umr() local 545 new_entries = klm_entries - (shampo->pi & (MLX5_UMR_KLM_ALIGNMENT - 1)); in mlx5e_build_shampo_hd_umr() 583 .shampo.len = new_entries, in mlx5e_build_shampo_hd_umr() 586 shampo->pi = (shampo->pi + new_entries) & (shampo->hd_per_wq - 1); in mlx5e_build_shampo_hd_umr()
|