/arch/x86/include/asm/ |
H A D | mmu.h | 12 void *ldt; member in struct:__anon3126
|
H A D | suspend_32.h | 20 u16 ldt; member in struct:saved_context
|
H A D | suspend_64.h | 33 u16 ldt; member in struct:saved_context
|
H A D | desc.h | 5 #include <asm/ldt.h> 95 #define load_ldt(ldt) asm volatile("lldt %0"::"m" (ldt)) 108 static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries) argument 112 static inline void paravirt_free_ldt(struct desc_struct *ldt, unsigned entries) argument 117 #define store_ldt(ldt) asm("sldt %0" : "=m"(ldt)) 124 static inline void native_write_ldt_entry(struct desc_struct *ldt, int entry, const void *desc) argument 126 memcpy(&ldt[entry], desc, 8); 201 ldt_desc ldt; local 206 &ldt, DESC_LDT); local [all...] |
H A D | paravirt.h | 239 static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries) argument 241 PVOP_VCALL2(pv_cpu_ops.alloc_ldt, ldt, entries); 244 static inline void paravirt_free_ldt(struct desc_struct *ldt, unsigned entries) argument 246 PVOP_VCALL2(pv_cpu_ops.free_ldt, ldt, entries);
|
H A D | processor.h | 234 unsigned short ldt, __ldth; member in struct:x86_hw_tss
|
H A D | kvm_host.h | 962 u16 ldt; local 963 asm("sldt %0" : "=g"(ldt)); 964 return ldt;
|
/arch/x86/um/asm/ |
H A D | mm_context.h | 12 #include <asm/ldt.h> 69 uml_ldt_t ldt; member in struct:uml_arch_mm_context
|
/arch/um/kernel/ |
H A D | ptrace.c | 121 struct ptrace_ldt ldt; local 123 if (copy_from_user(&ldt, p, sizeof(ldt))) {
|
/arch/x86/kernel/ |
H A D | ldt.c | 18 #include <asm/ldt.h> 50 memcpy(newldt, pc->ldt, oldsize * LDT_ENTRY_SIZE); 51 oldldt = pc->ldt; 61 pc->ldt = newldt; 97 write_ldt_entry(new->ldt, i, old->ldt + i * LDT_ENTRY_SIZE); 134 paravirt_free_ldt(mm->context.ldt, mm->context.size); 136 vfree(mm->context.ldt); 138 put_page(virt_to_page(mm->context.ldt)); 160 if (copy_to_user(ptr, mm->context.ldt, siz 195 struct desc_struct ldt; local [all...] |
/arch/x86/kvm/ |
H A D | tss.h | 56 u16 ldt; member in struct:tss_segment_16
|
H A D | svm.c | 144 u16 ldt; member in struct:vcpu_svm::__anon3227 1310 svm->host.ldt = kvm_read_ldt(); 1328 kvm_load_ldt(svm->host.ldt);
|
/arch/x86/um/ |
H A D | ldt.c | 125 * In skas mode, we hold our own ldt data in UML. 128 * for arch/i386/kernel/ldt.c 140 uml_ldt_t *ldt = ¤t->mm->context.arch.ldt; local 142 if (!ldt->entry_count) 151 mutex_lock(&ldt->lock); 152 if (ldt->entry_count <= LDT_DIRECT_ENTRIES) { 156 if (copy_to_user(ptr, ldt->u.entries, size)) 162 for (i=0; i<ldt->entry_count/LDT_ENTRIES_PER_PAGE && bytecount; 167 if (copy_to_user(ptr, ldt 208 uml_ldt_t *ldt = ¤t->mm->context.arch.ldt; local 325 struct ldt_entry * ldt; local [all...] |
/arch/x86/include/uapi/asm/ |
H A D | kvm.h | 146 struct kvm_segment tr, ldt; member in struct:kvm_sregs
|
/arch/x86/xen/ |
H A D | enlighten.c | 506 static void xen_alloc_ldt(struct desc_struct *ldt, unsigned entries) argument 512 set_aliased_prot(ldt + i, PAGE_KERNEL_RO); 515 static void xen_free_ldt(struct desc_struct *ldt, unsigned entries) argument 521 set_aliased_prot(ldt + i, PAGE_KERNEL);
|