Home
last modified time | relevance | path

Searched refs:new_nr_entries (Results 1 – 2 of 2) sorted by relevance

/arch/x86/kernel/
De820.c328 u32 new_nr_entries, overlap_entries; in e820__update_table() local
367 new_nr_entries = 0; /* Index for creating new map entries */ in e820__update_table()
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()
403 if (++new_nr_entries >= max_nr_entries) 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()
417 table->nr_entries = new_nr_entries; in e820__update_table()
Dldt.c582 unsigned int old_nr_entries, new_nr_entries; in write_ldt() local
624 new_nr_entries = max(ldt_info.entry_number + 1, old_nr_entries); in write_ldt()
627 new_ldt = alloc_ldt_struct(new_nr_entries); in write_ldt()