Lines Matching refs:nr_entries
81 set_ldt(ldt_slot_va(ldt->slot), ldt->nr_entries); in load_mm_ldt()
83 set_ldt(ldt->entries, ldt->nr_entries); in load_mm_ldt()
183 new_ldt->nr_entries = num_entries; in alloc_ldt_struct()
309 nr_pages = DIV_ROUND_UP(ldt->nr_entries * LDT_ENTRY_SIZE, PAGE_SIZE); in map_ldt_struct()
361 nr_pages = DIV_ROUND_UP(ldt->nr_entries * LDT_ENTRY_SIZE, PAGE_SIZE); in unmap_ldt_struct()
416 paravirt_alloc_ldt(ldt->entries, ldt->nr_entries); in finalize_ldt_struct()
437 paravirt_free_ldt(ldt->entries, ldt->nr_entries); in free_ldt_struct()
438 if (ldt->nr_entries * LDT_ENTRY_SIZE > PAGE_SIZE) in free_ldt_struct()
461 new_ldt = alloc_ldt_struct(old_mm->context.ldt->nr_entries); in ldt_dup_context()
468 new_ldt->nr_entries * LDT_ENTRY_SIZE); in ldt_dup_context()
516 entries_size = mm->context.ldt->nr_entries * LDT_ENTRY_SIZE; in read_ldt()
621 old_nr_entries = old_ldt ? old_ldt->nr_entries : 0; in write_ldt()