/linux-2.6.39/arch/x86/include/asm/ |
D | lguest.h | 68 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))
|
D | desc.h | 9 static inline void fill_ldt(struct desc_struct *desc, in fill_ldt() 37 struct desc_struct gdt[GDT_ENTRIES]; 41 static inline struct desc_struct *get_cpu_gdt_table(unsigned int cpu) in get_cpu_gdt_table() 104 static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_alloc_ldt() 108 static inline void paravirt_free_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_free_ldt() 121 static inline void native_write_ldt_entry(struct desc_struct *ldt, int entry, in native_write_ldt_entry() 127 static inline void native_write_gdt_entry(struct desc_struct *gdt, int entry, in native_write_gdt_entry() 139 size = sizeof(struct desc_struct); in native_write_gdt_entry() 145 static inline void pack_descriptor(struct desc_struct *desc, unsigned long base, in pack_descriptor() 172 pack_descriptor((struct desc_struct *)d, addr, size, 0x80 | type, 0); in set_tssldt_descriptor() [all …]
|
D | desc_defs.h | 22 struct desc_struct { struct 87 typedef struct desc_struct gate_desc; 88 typedef struct desc_struct ldt_desc; 89 typedef struct desc_struct tss_desc;
|
D | stackprotector.h | 89 struct desc_struct *gdt_table = get_cpu_gdt_table(cpu); in setup_stack_canary_segment() 90 struct desc_struct desc; in setup_stack_canary_segment()
|
D | paravirt_types.h | 50 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);
|
D | kvm_emulate.h | 145 bool (*get_cached_descriptor)(struct desc_struct *desc, u32 *base3, 147 void (*set_cached_descriptor)(struct desc_struct *desc, u32 base3,
|
D | paravirt.h | 266 static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_alloc_ldt() 271 static inline void paravirt_free_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_free_ldt() 317 static inline void write_ldt_entry(struct desc_struct *dt, int entry, in write_ldt_entry() 323 static inline void write_gdt_entry(struct desc_struct *dt, int entry, in write_gdt_entry()
|
/linux-2.6.39/drivers/lguest/ |
D | segments.c | 108 struct desc_struct *gdt = state->guest_gdt; in setup_default_gdt_entries() 146 void copy_gdt_tls(const struct lg_cpu *cpu, struct desc_struct *gdt) in copy_gdt_tls() 159 void copy_gdt(const struct lg_cpu *cpu, struct desc_struct *gdt) in copy_gdt() 206 struct desc_struct *tls = &cpu->arch.gdt[GDT_ENTRY_TLS_MIN]; in guest_load_tls()
|
D | interrupts_and_traps.c | 189 struct desc_struct *idt; in try_deliver_interrupt() 467 static void set_trap(struct lg_cpu *cpu, struct desc_struct *trap, in set_trap() 528 static void default_idt_entry(struct desc_struct *idt, in default_idt_entry() 531 const struct desc_struct *base) in default_idt_entry() 569 void copy_traps(const struct lg_cpu *cpu, struct desc_struct *idt, in copy_traps() 579 const struct desc_struct *gidt = &cpu->arch.idt[i]; in copy_traps()
|
D | lg.h | 167 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);
|
/linux-2.6.39/arch/x86/kernel/ |
D | tls.c | 35 struct desc_struct *desc = &t->tls_array[idx - GDT_ENTRY_TLS_MIN]; in set_tls_desc() 106 const struct desc_struct *desc) in fill_user_desc() 164 const struct desc_struct *tls; in regset_tls_get()
|
D | ldt.c | 182 unsigned long size = 5 * sizeof(struct desc_struct); in read_default_ldt() 196 struct desc_struct ldt; in write_ldt()
|
D | doublefault_32.c | 30 tss = get_desc_base((struct desc_struct *)gdt); in doublefault_fn()
|
D | apm_32.c | 415 static struct desc_struct bad_bios_desc = GDT_ENTRY_INIT(0x4092, 585 struct desc_struct save_desc_40; in __apm_bios_call() 586 struct desc_struct *gdt; in __apm_bios_call() 661 struct desc_struct save_desc_40; in __apm_bios_call_simple() 662 struct desc_struct *gdt; in __apm_bios_call_simple() 2267 struct desc_struct *gdt; in apm_init()
|
D | step.c | 27 struct desc_struct *desc; in convert_ip_to_linear()
|
D | setup_percpu.c | 157 struct desc_struct gdt; in setup_percpu_segment()
|
D | process_64.c | 236 struct desc_struct *desc = t->thread.tls_array; in set_32bit_tls()
|
/linux-2.6.39/drivers/pnp/pnpbios/ |
D | bioscalls.c | 57 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; in call_pnp_bios() 480 struct desc_struct *gdt = get_cpu_gdt_table(i); in pnpbios_calls_init()
|
/linux-2.6.39/arch/x86/xen/ |
D | enlighten.c | 321 static void xen_alloc_ldt(struct desc_struct *ldt, unsigned entries) in xen_alloc_ldt() 330 static void xen_free_ldt(struct desc_struct *ldt, unsigned entries) in xen_free_ldt() 396 if (HYPERVISOR_set_gdt(frames, size / sizeof(struct desc_struct))) in xen_load_gdt() 434 if (HYPERVISOR_set_gdt(frames, size / sizeof(struct desc_struct))) in xen_load_gdt_boot() 441 struct desc_struct *gdt = get_cpu_gdt_table(cpu); in load_TLS_descriptor() 493 static void xen_write_ldt_entry(struct desc_struct *dt, int entrynum, in xen_write_ldt_entry() 637 static void xen_write_gdt_entry(struct desc_struct *dt, int entry, in xen_write_gdt_entry() 665 static __init void xen_write_gdt_entry_boot(struct desc_struct *dt, int entry, in xen_write_gdt_entry_boot() 678 dt[entry] = *(struct desc_struct *)desc; in xen_write_gdt_entry_boot()
|
D | smp.c | 249 struct desc_struct *gdt; in cpu_initialize_context()
|
/linux-2.6.39/arch/x86/math-emu/ |
D | fpu_system.h | 21 #define LDT_DESCRIPTOR(s) (((struct desc_struct *)current->mm->context.ldt)[(s) >> 3])
|
D | get_address.c | 139 struct desc_struct descriptor; in pm_address()
|
/linux-2.6.39/arch/x86/lguest/ |
D | boot.c | 299 struct desc_struct *idt = (void *)desc->address; in lguest_load_idt() 320 struct desc_struct *gdt = (void *)desc->address; in lguest_load_gdt() 330 static void lguest_write_gdt_entry(struct desc_struct *dt, int entrynum, in lguest_write_gdt_entry()
|
/linux-2.6.39/arch/x86/kvm/ |
D | emulate.c | 867 static u32 desc_limit_scaled(struct desc_struct *desc) in desc_limit_scaled() 879 struct desc_struct desc; in get_descriptor_table_ptr() 894 u16 selector, struct desc_struct *desc) in read_segment_descriptor() 915 u16 selector, struct desc_struct *desc) in write_segment_descriptor() 939 struct desc_struct seg_desc; in load_segment_descriptor() 1562 struct x86_emulate_ops *ops, struct desc_struct *cs, in setup_syscalls_segments() 1563 struct desc_struct *ss) in setup_syscalls_segments() 1565 memset(cs, 0, sizeof(struct desc_struct)); in setup_syscalls_segments() 1567 memset(ss, 0, sizeof(struct desc_struct)); in setup_syscalls_segments() 1593 struct desc_struct cs, ss; in emulate_syscall() [all …]
|
/linux-2.6.39/arch/x86/include/asm/xen/ |
D | hypercall.h | 504 struct desc_struct desc) in MULTI_update_descriptor()
|