Searched refs:desc_struct (Results 1 - 25 of 31) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/include/asm/
H A Dlguest.h68 struct desc_struct guest_idt[IDT_ENTRIES];
69 struct desc_struct guest_gdt[GDT_ENTRIES];
74 struct desc_struct gdt[GDT_ENTRIES];
77 struct desc_struct idt[IDT_ENTRIES];
94 ((struct desc_struct)GDT_ENTRY_INIT(0xc09b, 0, 0xfffff))
95 #define FULL_SEGMENT ((struct desc_struct)GDT_ENTRY_INIT(0xc093, 0, 0xfffff))
H A Ddesc.h9 static inline void fill_ldt(struct desc_struct *desc,
37 struct desc_struct gdt[GDT_ENTRIES];
41 static inline struct desc_struct *get_cpu_gdt_table(unsigned int cpu)
104 static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries)
108 static inline void paravirt_free_ldt(struct desc_struct *ldt, unsigned entries)
121 static inline void native_write_ldt_entry(struct desc_struct *ldt, int entry,
127 static inline void native_write_gdt_entry(struct desc_struct *gdt, int entry,
139 size = sizeof(struct desc_struct);
145 static inline void pack_descriptor(struct desc_struct *desc, unsigned long base,
172 pack_descriptor((struct desc_struct *)
[all...]
H A Ddesc_defs.h15 struct desc_struct { struct
80 typedef struct desc_struct gate_desc;
81 typedef struct desc_struct ldt_desc;
82 typedef struct desc_struct tss_desc;
H A Dstackprotector.h89 struct desc_struct *gdt_table = get_cpu_gdt_table(cpu);
90 struct desc_struct desc;
H A Dkvm_emulate.h134 bool (*get_cached_descriptor)(struct desc_struct *desc,
136 void (*set_cached_descriptor)(struct desc_struct *desc,
H A Dparavirt_types.h50 struct desc_struct;
126 void (*write_ldt_entry)(struct desc_struct *ldt, int entrynum,
128 void (*write_gdt_entry)(struct desc_struct *,
132 void (*alloc_ldt)(struct desc_struct *ldt, unsigned entries);
133 void (*free_ldt)(struct desc_struct *ldt, unsigned entries);
H A Dparavirt.h266 static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries)
271 static inline void paravirt_free_ldt(struct desc_struct *ldt, unsigned entries)
317 static inline void write_ldt_entry(struct desc_struct *dt, int entry,
323 static inline void write_gdt_entry(struct desc_struct *dt, int entry,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/lguest/
H A Dsegments.c26 * GDT entries are passed around as "struct desc_struct"s, which like IDT
108 struct desc_struct *gdt = state->guest_gdt;
146 void copy_gdt_tls(const struct lg_cpu *cpu, struct desc_struct *gdt)
159 void copy_gdt(const struct lg_cpu *cpu, struct desc_struct *gdt)
206 struct desc_struct *tls = &cpu->arch.gdt[GDT_ENTRY_TLS_MIN];
H A Dinterrupts_and_traps.c189 struct desc_struct *idt;
467 static void set_trap(struct lg_cpu *cpu, struct desc_struct *trap,
528 static void default_idt_entry(struct desc_struct *idt,
531 const struct desc_struct *base)
569 void copy_traps(const struct lg_cpu *cpu, struct desc_struct *idt,
579 const struct desc_struct *gidt = &cpu->arch.idt[i];
H A Dlg.h167 void copy_traps(const struct lg_cpu *cpu, struct desc_struct *idt,
182 void copy_gdt(const struct lg_cpu *cpu, struct desc_struct *gdt);
183 void copy_gdt_tls(const struct lg_cpu *cpu, struct desc_struct *gdt);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/kernel/
H A Ddoublefault_32.c30 tss = get_desc_base((struct desc_struct *)gdt);
H A Dtls.c35 struct desc_struct *desc = &t->tls_array[idx - GDT_ENTRY_TLS_MIN];
106 const struct desc_struct *desc)
164 const struct desc_struct *tls;
H A Dvmi_32.c68 void (*write_idt_entry)(struct desc_struct *, int, u32, u32);
69 void (*write_gdt_entry)(struct desc_struct *, int, u32, u32);
70 void (*write_ldt_entry)(struct desc_struct *, int, u32, u32);
192 static inline void vmi_maybe_load_tls(struct desc_struct *gdt, int nr, struct desc_struct *new)
200 struct desc_struct *gdt = get_cpu_gdt_table(cpu);
209 struct desc_struct desc;
212 entries * sizeof(struct desc_struct) - 1,
215 vmi_ops._set_ldt(entries ? GDT_ENTRY_LDT*sizeof(struct desc_struct) : 0);
220 vmi_ops.set_tr(GDT_ENTRY_TSS*sizeof(struct desc_struct));
[all...]
H A Dstep.c27 struct desc_struct *desc;
H A Dldt.c182 unsigned long size = 5 * sizeof(struct desc_struct);
196 struct desc_struct ldt;
H A Dapm_32.c196 static struct desc_struct bad_bios_desc = GDT_ENTRY_INIT(0x4092,
366 struct desc_struct save_desc_40;
367 struct desc_struct *gdt;
442 struct desc_struct save_desc_40;
443 struct desc_struct *gdt;
2018 struct desc_struct *gdt;
H A Dsetup_percpu.c163 struct desc_struct gdt;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pnp/pnpbios/
H A Dbioscalls.c57 struct desc_struct *gdt = get_cpu_gdt_table((cpu)); \
62 static struct desc_struct bad_bios_desc = GDT_ENTRY_INIT(0x4092,
87 struct desc_struct save_desc_40;
480 struct desc_struct *gdt = get_cpu_gdt_table(i);
/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])
H A Dget_address.c139 struct desc_struct descriptor;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/xen/
H A Denlighten.c327 static void xen_alloc_ldt(struct desc_struct *ldt, unsigned entries)
336 static void xen_free_ldt(struct desc_struct *ldt, unsigned entries)
402 if (HYPERVISOR_set_gdt(frames, size / sizeof(struct desc_struct)))
440 if (HYPERVISOR_set_gdt(frames, size / sizeof(struct desc_struct)))
447 struct desc_struct *gdt = get_cpu_gdt_table(cpu);
481 static void xen_write_ldt_entry(struct desc_struct *dt, int entrynum,
625 static void xen_write_gdt_entry(struct desc_struct *dt, int entry,
653 static __init void xen_write_gdt_entry_boot(struct desc_struct *dt, int entry,
666 dt[entry] = *(struct desc_struct *)desc;
H A Dsmp.c223 struct desc_struct *gdt;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/lguest/
H A Dboot.c299 struct desc_struct *idt = (void *)desc->address;
320 struct desc_struct *gdt = (void *)desc->address;
330 static void lguest_write_gdt_entry(struct desc_struct *dt, int entrynum,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/kvm/
H A Demulate.c1384 static u32 desc_limit_scaled(struct desc_struct *desc)
1396 struct desc_struct desc;
1410 u16 selector, struct desc_struct *desc)
1435 u16 selector, struct desc_struct *desc)
1462 struct desc_struct seg_desc;
1910 struct x86_emulate_ops *ops, struct desc_struct *cs,
1911 struct desc_struct *ss)
1913 memset(cs, 0, sizeof(struct desc_struct));
1915 memset(ss, 0, sizeof(struct desc_struct));
1941 struct desc_struct c
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/include/asm/xen/
H A Dhypercall.h449 struct desc_struct desc)

Completed in 299 milliseconds

12