Searched refs:ldt_info (Results 1 – 2 of 2) sorted by relevance
126 struct user_desc ldt_info; in write_ldt() local131 if (bytecount != sizeof(ldt_info)) in write_ldt()134 if (copy_from_user(&ldt_info, ptr, sizeof(ldt_info))) in write_ldt()138 if (ldt_info.entry_number >= LDT_ENTRIES) in write_ldt()140 if (ldt_info.contents == 3) { in write_ldt()143 if (ldt_info.seg_not_present == 0) in write_ldt()149 err = write_ldt_entry(mm_idp, func, &ldt_info, &addr, 1); in write_ldt()153 if (ldt_info.entry_number >= ldt->entry_count && in write_ldt()154 ldt_info.entry_number >= LDT_DIRECT_ENTRIES) { in write_ldt()156 i*LDT_ENTRIES_PER_PAGE <= ldt_info.entry_number; in write_ldt()[all …]
469 struct user_desc ldt_info; in write_ldt() local474 if (bytecount != sizeof(ldt_info)) in write_ldt()477 if (copy_from_user(&ldt_info, ptr, sizeof(ldt_info))) in write_ldt()481 if (ldt_info.entry_number >= LDT_ENTRIES) in write_ldt()483 if (ldt_info.contents == 3) { in write_ldt()486 if (ldt_info.seg_not_present == 0) in write_ldt()490 if ((oldmode && !ldt_info.base_addr && !ldt_info.limit) || in write_ldt()491 LDT_empty(&ldt_info)) { in write_ldt()495 if (!IS_ENABLED(CONFIG_X86_16BIT) && !ldt_info.seg_32bit) { in write_ldt()500 fill_ldt(&ldt, &ldt_info); in write_ldt()[all …]