Searched defs:ldt (Results 1 - 15 of 15) sorted by relevance

/arch/x86/include/asm/
H A Dmmu.h12 void *ldt; member in struct:__anon3126
H A Dsuspend_32.h20 u16 ldt; member in struct:saved_context
H A Dsuspend_64.h33 u16 ldt; member in struct:saved_context
H A Ddesc.h5 #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 Dparavirt.h239 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 Dprocessor.h234 unsigned short ldt, __ldth; member in struct:x86_hw_tss
H A Dkvm_host.h962 u16 ldt; local
963 asm("sldt %0" : "=g"(ldt));
964 return ldt;
/arch/x86/um/asm/
H A Dmm_context.h12 #include <asm/ldt.h>
69 uml_ldt_t ldt; member in struct:uml_arch_mm_context
/arch/um/kernel/
H A Dptrace.c121 struct ptrace_ldt ldt; local
123 if (copy_from_user(&ldt, p, sizeof(ldt))) {
/arch/x86/kernel/
H A Dldt.c18 #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 Dtss.h56 u16 ldt; member in struct:tss_segment_16
H A Dsvm.c144 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 Dldt.c125 * In skas mode, we hold our own ldt data in UML.
128 * for arch/i386/kernel/ldt.c
140 uml_ldt_t *ldt = &current->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 = &current->mm->context.arch.ldt; local
325 struct ldt_entry * ldt; local
[all...]
/arch/x86/include/uapi/asm/
H A Dkvm.h146 struct kvm_segment tr, ldt; member in struct:kvm_sregs
/arch/x86/xen/
H A Denlighten.c506 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);

Completed in 920 milliseconds