Searched refs:ldt (Results 1 - 25 of 34) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/sys-i386/
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.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.ldt; local
325 struct ldt_entry * ldt; local
[all...]
H A DMakefile5 obj-y = bug.o bugs.o checksum.o delay.o fault.o ksyms.o ldt.o ptrace.o \
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/sys-i386/shared/sysdep/
H A Dtls.h6 /* Change name to avoid conflicts with the original one from <asm/ldt.h>, which
24 # include <ldt.h>
H A Dhost_ldt.h4 #include <asm/ldt.h>
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/sys-x86_64/shared/sysdep/
H A Dtls.h6 /* Change name to avoid conflicts with the original one from <asm/ldt.h>, which
25 # include <ldt.h>
H A Dhost_ldt.h4 #include <asm/ldt.h>
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/include/asm/
H A Dmmu.h12 void *ldt; member in struct:__anon10556
H A Dproto.h4 #include <asm/ldt.h>
H A Dsuspend_32.h22 u16 ldt; member in struct:saved_context
H A Ddesc.h5 #include <asm/ldt.h>
88 #define load_ldt(ldt) asm volatile("lldt %0"::"m" (ldt))
104 static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries) argument
108 static inline void paravirt_free_ldt(struct desc_struct *ldt, unsigned entries) argument
113 #define store_ldt(ldt) asm("sldt %0" : "=m"(ldt))
121 static inline void native_write_ldt_entry(struct desc_struct *ldt, int entry, argument
124 memcpy(&ldt[entry], desc, 8);
202 ldt_desc ldt; local
207 &ldt, DESC_LDT); local
[all...]
H A Dsuspend_64.h39 u16 ldt; member in struct:saved_context
H A Dmmu_context.h54 if (unlikely(prev->context.ldt != next->context.ldt))
H A Dkvm_host.h657 u16 ldt; local
658 asm("sldt %0" : "=g"(ldt));
659 return ldt;
H A Dparavirt_types.h126 void (*write_ldt_entry)(struct desc_struct *ldt, int entrynum,
132 void (*alloc_ldt)(struct desc_struct *ldt, unsigned entries);
133 void (*free_ldt)(struct desc_struct *ldt, unsigned entries);
H A Dkvm.h126 struct kvm_segment tr, ldt; member in struct:kvm_sregs
H A Dparavirt.h266 static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries) argument
268 PVOP_VCALL2(pv_cpu_ops.alloc_ldt, ldt, entries);
271 static inline void paravirt_free_ldt(struct desc_struct *ldt, unsigned entries) argument
273 PVOP_VCALL2(pv_cpu_ops.free_ldt, ldt, entries);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/kernel/
H A Dldt.c19 #include <asm/ldt.h>
51 memcpy(newldt, pc->ldt, oldsize * LDT_ENTRY_SIZE);
52 oldldt = pc->ldt;
62 pc->ldt = newldt;
98 write_ldt_entry(new->ldt, i, old->ldt + i * LDT_ENTRY_SIZE);
135 paravirt_free_ldt(mm->context.ldt, mm->context.size);
137 vfree(mm->context.ldt);
139 put_page(virt_to_page(mm->context.ldt));
161 if (copy_to_user(ptr, mm->context.ldt, siz
196 struct desc_struct ldt; local
[all...]
H A Ddoublefault_32.c54 .ldt = 0,
H A Dstep.c36 desc = child->mm->context.ldt + seg;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/include/shared/
H A Dum_mmu.h10 #include "ldt.h"
14 struct uml_ldt ldt; member in struct:mm_context
20 /* Avoid tangled inclusion with asm/ldt.h */
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/sys-x86_64/
H A DMakefile7 obj-y = bug.o bugs.o delay.o fault.o ldt.o mem.o ptrace.o ptrace_user.o \
15 ldt-y = ../sys-i386/ldt.o
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/alpha/kernel/
H A Dentry.S530 ldt $f0, 64($sp) # dont let "do_switch_stack" change fp state.
545 ldt $f30, 312($sp) # get saved fpcr
546 ldt $f0, 64($sp)
547 ldt $f1, 72($sp)
548 ldt $f2, 80($sp)
549 ldt $f3, 88($sp)
551 ldt $f4, 96($sp)
552 ldt $f5, 104($sp)
553 ldt $f6, 112($sp)
554 ldt
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/kernel/
H A Dptrace.c143 struct ptrace_ldt ldt; local
145 if (copy_from_user(&ldt, p, sizeof(ldt))) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/kvm/
H A Dtss.h56 u16 ldt; member in struct:tss_segment_16
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/math-emu/
H A Dfpu_system.h21 #define LDT_DESCRIPTOR(s) (((struct desc_struct *)current->mm->context.ldt)[(s) >> 3])

Completed in 295 milliseconds

12