Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/arch/x86/include/asm/
A Ddesc.h16 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 Dparavirt_types.h34 struct desc_struct;
88 void (*write_ldt_entry)(struct desc_struct *ldt, int entrynum,
90 void (*write_gdt_entry)(struct desc_struct *,
94 void (*alloc_ldt)(struct desc_struct *ldt, unsigned entries);
95 void (*free_ldt)(struct desc_struct *ldt, unsigned entries);
A Dparavirt.h266 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()
308 static inline void write_ldt_entry(struct desc_struct *dt, int entry, in write_ldt_entry()
314 static inline void write_gdt_entry(struct desc_struct *dt, int entry, in write_gdt_entry()
A Ddesc_defs.h16 struct desc_struct { struct
A Dmmu_context.h44 struct desc_struct *entries;
A Dprocessor.h416 struct desc_struct tls_array[GDT_ENTRY_TLS_ENTRIES];
/linux-6.3-rc2/arch/x86/math-emu/
A Dfpu_system.h23 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 Dget_address.c140 struct desc_struct descriptor; in pm_address()
/linux-6.3-rc2/arch/x86/xen/
A Denlighten_pv.c100 struct desc_struct desc[3];
378 static void xen_alloc_ldt(struct desc_struct *ldt, unsigned entries) in xen_alloc_ldt()
398 static void xen_free_ldt(struct desc_struct *ldt, unsigned entries) in xen_free_ldt()
454 if (HYPERVISOR_set_gdt(&mfn, size / sizeof(struct desc_struct))) in xen_load_gdt()
480 if (HYPERVISOR_set_gdt(&mfn, size / sizeof(struct desc_struct))) in xen_load_gdt_boot()
484 static inline bool desc_equal(const struct desc_struct *d1, in desc_equal()
485 const struct desc_struct *d2) in desc_equal()
493 struct desc_struct *shadow = &per_cpu(shadow_tls_desc, cpu).desc[i]; in load_TLS_descriptor()
494 struct desc_struct *gdt; in load_TLS_descriptor()
801 static void xen_write_gdt_entry(struct desc_struct *dt, int entry, in xen_write_gdt_entry()
[all …]
A Dsmp_pv.c254 struct desc_struct *gdt; in cpu_initialize_context()
/linux-6.3-rc2/drivers/pnp/pnpbios/
A Dbioscalls.c58 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-6.3-rc2/arch/x86/kernel/
A Dtls.c89 struct desc_struct *desc = &t->tls_array[idx - GDT_ENTRY_TLS_MIN]; in set_tls_desc()
197 const struct desc_struct *desc) in fill_user_desc()
256 const struct desc_struct *tls; in regset_tls_get()
A Dldt.c161 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 Dapm_32.c429 static struct desc_struct bad_bios_desc = GDT_ENTRY_INIT(0x4092,
599 struct desc_struct save_desc_40; in __apm_bios_call()
600 struct desc_struct *gdt; in __apm_bios_call()
680 struct desc_struct save_desc_40; in __apm_bios_call_simple()
681 struct desc_struct *gdt; in __apm_bios_call_simple()
2261 struct desc_struct *gdt; in apm_init()
A Dstep.c31 struct desc_struct *desc; in convert_ip_to_linear()
A Dsetup_percpu.c109 struct desc_struct d = GDT_ENTRY_INIT(0x8092, per_cpu_offset(cpu), in setup_percpu_segment()
A Dhead64.c72 static struct desc_struct startup_gdt[GDT_ENTRIES] = {
/linux-6.3-rc2/include/trace/events/
A Dxen.h383 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-6.3-rc2/arch/x86/lib/
A Dinsn-eval.c621 static bool get_desc(struct desc_struct *out, unsigned short sel) in get_desc()
660 *out = *(struct desc_struct *)(gdt_desc.address + desc_base); in get_desc()
683 struct desc_struct desc; in insn_get_seg_base()
750 struct desc_struct desc; in get_seg_limit()
798 struct desc_struct desc; in insn_get_code_seg_params()
/linux-6.3-rc2/rust/
A Dbindgen_parameters4 --opaque-type desc_struct
/linux-6.3-rc2/arch/x86/kvm/
A Demulate.c519 struct desc_struct ss; in stack_mask()
631 struct desc_struct desc; in get_segment_selector()
642 struct desc_struct desc; in set_segment_selector()
693 struct desc_struct desc; in __linearize()
783 struct desc_struct cs; in emulator_recalc_and_set_mode()
1481 struct desc_struct desc; in get_descriptor_table_ptr()
2323 setup_syscalls_segments(struct desc_struct *cs, struct desc_struct *ss) in setup_syscalls_segments()
2395 struct desc_struct cs, ss; in em_syscall()
2454 struct desc_struct cs, ss; in em_sysenter()
2507 struct desc_struct cs, ss; in em_sysexit()
[all …]
A Dkvm_emulate.h188 struct desc_struct *desc, u32 *base3, int seg);
190 struct desc_struct *desc, u32 base3, int seg);
/linux-6.3-rc2/arch/x86/power/
A Dcpu.c154 struct desc_struct *desc = get_cpu_gdt_rw(cpu); in fix_processor_context()
/linux-6.3-rc2/drivers/misc/lkdtm/
A Dbugs.c529 struct desc_struct d = { in lkdtm_DOUBLE_FAULT()
/linux-6.3-rc2/arch/x86/include/asm/xen/
A Dhypercall.h338 struct desc_struct desc) in MULTI_update_descriptor()

Completed in 45 milliseconds

12