Lines Matching refs:ldt_info
583 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()
624 new_nr_entries = max(ldt_info.entry_number + 1, old_nr_entries); in write_ldt()
634 new_ldt->entries[ldt_info.entry_number] = ldt; in write_ldt()