Home
last modified time | relevance | path

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

12

/arch/x86/include/asm/
Dlguest.h58 struct desc_struct guest_idt[IDT_ENTRIES];
59 struct desc_struct guest_gdt[GDT_ENTRIES];
64 struct desc_struct gdt[GDT_ENTRIES];
67 struct desc_struct idt[IDT_ENTRIES];
84 ((struct desc_struct)GDT_ENTRY_INIT(0xc09b, 0, 0xfffff))
85 #define FULL_SEGMENT ((struct desc_struct)GDT_ENTRY_INIT(0xc093, 0, 0xfffff))
Ddesc.h11 static inline void fill_ldt(struct desc_struct *desc, const struct user_desc *info) in fill_ldt()
43 struct desc_struct gdt[GDT_ENTRIES];
48 static inline struct desc_struct *get_cpu_gdt_table(unsigned int cpu) in get_cpu_gdt_table()
108 static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_alloc_ldt()
112 static inline void paravirt_free_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_free_ldt()
124 static inline void native_write_ldt_entry(struct desc_struct *ldt, int entry, const void *desc) in native_write_ldt_entry()
130 native_write_gdt_entry(struct desc_struct *gdt, int entry, const void *desc, int type) in native_write_gdt_entry()
143 static inline void pack_descriptor(struct desc_struct *desc, unsigned long base, in pack_descriptor()
171 pack_descriptor((struct desc_struct *)d, addr, size, 0x80 | type, 0); in set_tssldt_descriptor()
177 struct desc_struct *d = get_cpu_gdt_table(cpu); in __set_tss_desc()
[all …]
Ddesc_defs.h22 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;
Dstackprotector.h95 struct desc_struct *gdt_table = get_cpu_gdt_table(cpu); in setup_stack_canary_segment()
96 struct desc_struct desc; in setup_stack_canary_segment()
Dparavirt_types.h51 struct desc_struct;
138 void (*write_ldt_entry)(struct desc_struct *ldt, int entrynum,
140 void (*write_gdt_entry)(struct desc_struct *,
144 void (*alloc_ldt)(struct desc_struct *ldt, unsigned entries);
145 void (*free_ldt)(struct desc_struct *ldt, unsigned entries);
Dmmu_context.h51 struct desc_struct *entries;
Dkvm_emulate.h194 struct desc_struct *desc, u32 *base3, int seg);
196 struct desc_struct *desc, u32 base3, int seg);
Dparavirt.h215 static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_alloc_ldt()
220 static inline void paravirt_free_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_free_ldt()
262 static inline void write_ldt_entry(struct desc_struct *dt, int entry, in write_ldt_entry()
268 static inline void write_gdt_entry(struct desc_struct *dt, int entry, in write_gdt_entry()
Dprocessor.h398 struct desc_struct tls_array[GDT_ENTRY_TLS_ENTRIES];
/arch/x86/math-emu/
Dfpu_system.h22 static inline struct desc_struct FPU_get_ldt_descriptor(unsigned seg) in FPU_get_ldt_descriptor()
24 static struct desc_struct zero_desc; in FPU_get_ldt_descriptor()
25 struct desc_struct ret = zero_desc; in FPU_get_ldt_descriptor()
Dget_address.c139 struct desc_struct descriptor; in pm_address()
Dfpu_entry.c114 struct desc_struct code_descriptor; in math_emulate()
/arch/x86/xen/
Denlighten.c161 struct desc_struct desc[3];
554 static void xen_alloc_ldt(struct desc_struct *ldt, unsigned entries) in xen_alloc_ldt()
574 static void xen_free_ldt(struct desc_struct *ldt, unsigned entries) in xen_free_ldt()
642 if (HYPERVISOR_set_gdt(frames, size / sizeof(struct desc_struct))) in xen_load_gdt()
680 if (HYPERVISOR_set_gdt(frames, size / sizeof(struct desc_struct))) in xen_load_gdt_boot()
684 static inline bool desc_equal(const struct desc_struct *d1, in desc_equal()
685 const struct desc_struct *d2) in desc_equal()
693 struct desc_struct *shadow = &per_cpu(shadow_tls_desc, cpu).desc[i]; in load_TLS_descriptor()
694 struct desc_struct *gdt; in load_TLS_descriptor()
755 static void xen_write_ldt_entry(struct desc_struct *dt, int entrynum, in xen_write_ldt_entry()
[all …]
/arch/x86/kernel/
Dtls.c87 struct desc_struct *desc = &t->tls_array[idx - GDT_ENTRY_TLS_MIN]; in set_tls_desc()
201 const struct desc_struct *desc) in fill_user_desc()
261 const struct desc_struct *tls; in regset_tls_get()
Dldt.c61 BUILD_BUG_ON(LDT_ENTRY_SIZE != sizeof(struct desc_struct)); in alloc_ldt_struct()
212 unsigned long size = 5 * sizeof(struct desc_struct); in read_default_ldt()
226 struct desc_struct ldt; in write_ldt()
Ddoublefault.c31 tss = get_desc_base((struct desc_struct *)gdt); in doublefault_fn()
Dstep.c29 struct desc_struct *desc; in convert_ip_to_linear()
Dapm_32.c436 static struct desc_struct bad_bios_desc = GDT_ENTRY_INIT(0x4092,
606 struct desc_struct save_desc_40; in __apm_bios_call()
607 struct desc_struct *gdt; in __apm_bios_call()
684 struct desc_struct save_desc_40; in __apm_bios_call_simple()
685 struct desc_struct *gdt; in __apm_bios_call_simple()
2270 struct desc_struct *gdt; in apm_init()
Dsetup_percpu.c157 struct desc_struct gdt; in setup_percpu_segment()
Dprocess_64.c148 struct desc_struct *desc = t->thread.tls_array; in set_32bit_tls()
/arch/x86/kvm/
Demulate.c513 struct desc_struct ss; in stack_mask()
560 static u32 desc_limit_scaled(struct desc_struct *desc) in desc_limit_scaled()
623 struct desc_struct desc; in get_segment_selector()
634 struct desc_struct desc; in set_segment_selector()
672 struct desc_struct desc; in __linearize()
764 const struct desc_struct *cs_desc) in assign_eip_far()
1494 u16 index, struct desc_struct *desc) in read_interrupt_descriptor()
1515 struct desc_struct desc; in get_descriptor_table_ptr()
1559 u16 selector, struct desc_struct *desc, in read_segment_descriptor()
1573 u16 selector, struct desc_struct *desc) in write_segment_descriptor()
[all …]
/arch/x86/lguest/
Dboot.c313 struct desc_struct *idt = (void *)desc->address; in lguest_load_idt()
334 struct desc_struct *gdt = (void *)desc->address; in lguest_load_gdt()
344 static void lguest_write_gdt_entry(struct desc_struct *dt, int entrynum, in lguest_write_gdt_entry()
/arch/x86/entry/vdso/
Dvma.c253 struct desc_struct d = { }; in vgetcpu_cpu_init()
/arch/x86/power/
Dcpu.c165 struct desc_struct *desc = get_cpu_gdt_table(cpu); in fix_processor_context()
/arch/x86/include/asm/xen/
Dhypercall.h543 struct desc_struct desc) in MULTI_update_descriptor()

12