Home
last modified time | relevance | path

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

/arch/x86/kernel/
Dldt.c328 unsigned long entries_size; in read_ldt() local
341 entries_size = mm->context.ldt->nr_entries * LDT_ENTRY_SIZE; in read_ldt()
342 if (entries_size > bytecount) in read_ldt()
343 entries_size = bytecount; in read_ldt()
345 if (copy_to_user(ptr, mm->context.ldt->entries, entries_size)) { in read_ldt()
350 if (entries_size != bytecount) { in read_ldt()
352 if (clear_user(ptr + entries_size, bytecount - entries_size)) { in read_ldt()