| /linux/arch/x86/include/asm/ |
| A D | desc.h | 16 static inline void fill_ldt(struct desc_struct *desc, const struct user_desc *info) in fill_ldt() 45 struct desc_struct gdt[GDT_ENTRIES]; 51 static inline struct desc_struct *get_cpu_gdt_rw(unsigned int cpu) in get_cpu_gdt_rw() 57 static inline struct desc_struct *get_current_gdt_rw(void) in get_current_gdt_rw() 63 static inline struct desc_struct *get_cpu_gdt_ro(int cpu) in get_cpu_gdt_ro() 65 return (struct desc_struct *)&get_cpu_entry_area(cpu)->gdt; in get_cpu_gdt_ro() 69 static inline struct desc_struct *get_current_gdt_ro(void) in get_current_gdt_ro() 182 struct desc_struct *d = get_cpu_gdt_rw(cpu); in __set_tss_desc() 259 struct desc_struct *fixmap_gdt; in native_load_tr_desc() 294 struct desc_struct *gdt = get_cpu_gdt_rw(cpu); in native_load_tls() [all …]
|
| A D | paravirt_types.h | 47 struct desc_struct; 101 void (*write_ldt_entry)(struct desc_struct *ldt, int entrynum, 103 void (*write_gdt_entry)(struct desc_struct *, 107 void (*alloc_ldt)(struct desc_struct *ldt, unsigned entries); 108 void (*free_ldt)(struct desc_struct *ldt, unsigned entries);
|
| A D | paravirt.h | 264 static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_alloc_ldt() 269 static inline void paravirt_free_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_free_ldt() 306 static inline void write_ldt_entry(struct desc_struct *dt, int entry, in write_ldt_entry() 312 static inline void write_gdt_entry(struct desc_struct *dt, int entry, in write_gdt_entry()
|
| A D | desc_defs.h | 16 struct desc_struct { struct
|
| A D | mmu_context.h | 43 struct desc_struct *entries;
|
| A D | processor.h | 469 struct desc_struct tls_array[GDT_ENTRY_TLS_ENTRIES];
|
| /linux/arch/x86/math-emu/ |
| A D | fpu_system.h | 23 static inline struct desc_struct FPU_get_ldt_descriptor(unsigned seg) in FPU_get_ldt_descriptor() 25 static struct desc_struct zero_desc; in FPU_get_ldt_descriptor() 26 struct desc_struct ret = zero_desc; in FPU_get_ldt_descriptor() 44 static inline unsigned long seg_get_base(struct desc_struct *d) in seg_get_base() 51 static inline unsigned long seg_get_limit(struct desc_struct *d) in seg_get_limit() 56 static inline unsigned long seg_get_granularity(struct desc_struct *d) in seg_get_granularity() 61 static inline bool seg_expands_down(struct desc_struct *d) in seg_expands_down() 66 static inline bool seg_execute_only(struct desc_struct *d) in seg_execute_only() 71 static inline bool seg_writable(struct desc_struct *d) in seg_writable()
|
| A D | get_address.c | 140 struct desc_struct descriptor; in pm_address()
|
| A D | fpu_entry.c | 115 struct desc_struct code_descriptor; in math_emulate()
|
| /linux/arch/x86/xen/ |
| A D | enlighten_pv.c | 98 struct desc_struct desc[3]; 362 static void xen_alloc_ldt(struct desc_struct *ldt, unsigned entries) in xen_alloc_ldt() 382 static void xen_free_ldt(struct desc_struct *ldt, unsigned entries) in xen_free_ldt() 438 if (HYPERVISOR_set_gdt(&mfn, size / sizeof(struct desc_struct))) in xen_load_gdt() 464 if (HYPERVISOR_set_gdt(&mfn, size / sizeof(struct desc_struct))) in xen_load_gdt_boot() 468 static inline bool desc_equal(const struct desc_struct *d1, in desc_equal() 469 const struct desc_struct *d2) in desc_equal() 477 struct desc_struct *shadow = &per_cpu(shadow_tls_desc, cpu).desc[i]; in load_TLS_descriptor() 478 struct desc_struct *gdt; in load_TLS_descriptor() 781 static void xen_write_gdt_entry(struct desc_struct *dt, int entry, in xen_write_gdt_entry() [all …]
|
| A D | smp_pv.c | 271 struct desc_struct *gdt; in cpu_initialize_context()
|
| /linux/drivers/pnp/pnpbios/ |
| A D | bioscalls.c | 58 struct desc_struct *gdt = get_cpu_gdt_rw((cpu)); \ 63 static struct desc_struct bad_bios_desc = GDT_ENTRY_INIT(0x4092, 88 struct desc_struct save_desc_40; in call_pnp_bios() 480 struct desc_struct *gdt = get_cpu_gdt_rw(i); in pnpbios_calls_init()
|
| /linux/arch/x86/kernel/ |
| A D | tls.c | 88 struct desc_struct *desc = &t->tls_array[idx - GDT_ENTRY_TLS_MIN]; in set_tls_desc() 196 const struct desc_struct *desc) in fill_user_desc() 255 const struct desc_struct *tls; in regset_tls_get()
|
| A D | ldt.c | 161 BUILD_BUG_ON(LDT_ENTRY_SIZE != sizeof(struct desc_struct)); in alloc_ldt_struct() 543 unsigned long size = 5 * sizeof(struct desc_struct); in read_default_ldt() 582 struct desc_struct ldt; in write_ldt()
|
| A D | apm_32.c | 428 static struct desc_struct bad_bios_desc = GDT_ENTRY_INIT(0x4092, 598 struct desc_struct save_desc_40; in __apm_bios_call() 599 struct desc_struct *gdt; in __apm_bios_call() 676 struct desc_struct save_desc_40; in __apm_bios_call_simple() 677 struct desc_struct *gdt; in __apm_bios_call_simple() 2254 struct desc_struct *gdt; in apm_init()
|
| A D | step.c | 31 struct desc_struct *desc; in convert_ip_to_linear()
|
| A D | setup_percpu.c | 161 struct desc_struct d = GDT_ENTRY_INIT(0x8092, per_cpu_offset(cpu), in setup_percpu_segment()
|
| A D | head64.c | 71 static struct desc_struct startup_gdt[GDT_ENTRIES] = {
|
| /linux/arch/x86/lib/ |
| A D | insn-eval.c | 599 static bool get_desc(struct desc_struct *out, unsigned short sel) in get_desc() 638 *out = *(struct desc_struct *)(gdt_desc.address + desc_base); in get_desc() 661 struct desc_struct desc; in insn_get_seg_base() 728 struct desc_struct desc; in get_seg_limit() 776 struct desc_struct desc; in insn_get_code_seg_params()
|
| /linux/include/trace/events/ |
| A D | xen.h | 383 TP_PROTO(struct desc_struct *dt, int entrynum, u64 desc), 386 __field(struct desc_struct *, dt) 424 TP_PROTO(struct desc_struct *dt, int entrynum, const void *desc, int type), 428 __field(struct desc_struct *, dt)
|
| /linux/arch/x86/kvm/ |
| A D | emulate.c | 539 struct desc_struct ss; in stack_mask() 649 struct desc_struct desc; in get_segment_selector() 660 struct desc_struct desc; in set_segment_selector() 711 struct desc_struct desc; in __linearize() 1467 struct desc_struct desc; in get_descriptor_table_ptr() 2301 struct desc_struct desc; in rsm_load_seg_32() 2323 struct desc_struct desc; in rsm_load_seg_64() 2389 struct desc_struct desc; in rsm_load_state_32() 2450 struct desc_struct desc; in rsm_load_state_64() 2610 struct desc_struct *cs, struct desc_struct *ss) in setup_syscalls_segments() [all …]
|
| A D | kvm_emulate.h | 197 struct desc_struct *desc, u32 *base3, int seg); 199 struct desc_struct *desc, u32 base3, int seg);
|
| /linux/arch/x86/power/ |
| A D | cpu.c | 151 struct desc_struct *desc = get_cpu_gdt_rw(cpu); in fix_processor_context()
|
| /linux/drivers/misc/lkdtm/ |
| A D | bugs.c | 519 struct desc_struct d = { in lkdtm_DOUBLE_FAULT()
|
| /linux/arch/x86/include/asm/xen/ |
| A D | hypercall.h | 338 struct desc_struct desc) in MULTI_update_descriptor()
|