Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/kernel/
Dldt.c583 struct user_desc ldt_info; in write_ldt() local
588 if (bytecount != sizeof(ldt_info)) in write_ldt()
591 if (copy_from_user(&ldt_info, ptr, sizeof(ldt_info))) in write_ldt()
595 if (ldt_info.entry_number >= LDT_ENTRIES) in write_ldt()
597 if (ldt_info.contents == 3) { in write_ldt()
600 if (ldt_info.seg_not_present == 0) in write_ldt()
604 if ((oldmode && !ldt_info.base_addr && !ldt_info.limit) || in write_ldt()
605 LDT_empty(&ldt_info)) { in write_ldt()
609 if (!ldt_info.seg_32bit && !allow_16bit_segments()) { in write_ldt()
614 fill_ldt(&ldt, &ldt_info); in write_ldt()
[all …]