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

/linux-master/arch/x86/um/
H A Dldt.c128 struct user_desc ldt_info; local
133 if (bytecount != sizeof(ldt_info))
136 if (copy_from_user(&ldt_info, ptr, sizeof(ldt_info)))
140 if (ldt_info.entry_number >= LDT_ENTRIES)
142 if (ldt_info.contents == 3) {
145 if (ldt_info.seg_not_present == 0)
151 err = write_ldt_entry(mm_idp, func, &ldt_info, &addr, 1);
155 if (ldt_info.entry_number >= ldt->entry_count &&
156 ldt_info
[all...]
/linux-master/arch/x86/kernel/
H A Dldt.c583 struct user_desc ldt_info; local
588 if (bytecount != sizeof(ldt_info))
591 if (copy_from_user(&ldt_info, ptr, sizeof(ldt_info)))
595 if (ldt_info.entry_number >= LDT_ENTRIES)
597 if (ldt_info.contents == 3) {
600 if (ldt_info.seg_not_present == 0)
604 if ((oldmode && !ldt_info.base_addr && !ldt_info.limit) ||
605 LDT_empty(&ldt_info)) {
[all...]

Completed in 165 milliseconds