Home
last modified time | relevance | path

Searched defs:ldt (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/arch/x86/kernel/
Dldt.c44 struct ldt_struct *ldt; in load_mm_ldt() local
288 map_ldt_struct(struct mm_struct *mm, struct ldt_struct *ldt, int slot) in map_ldt_struct()
349 static void unmap_ldt_struct(struct mm_struct *mm, struct ldt_struct *ldt) in unmap_ldt_struct()
381 map_ldt_struct(struct mm_struct *mm, struct ldt_struct *ldt, int slot) in map_ldt_struct()
386 static void unmap_ldt_struct(struct mm_struct *mm, struct ldt_struct *ldt) in unmap_ldt_struct()
414 static void finalize_ldt_struct(struct ldt_struct *ldt) in finalize_ldt_struct()
419 static void install_ldt(struct mm_struct *mm, struct ldt_struct *ldt) in install_ldt()
432 static void free_ldt_struct(struct ldt_struct *ldt) in free_ldt_struct()
582 struct desc_struct ldt; in write_ldt() local
Dprocess_64.c408 struct ldt_struct *ldt; in x86_fsgsbase_read_task() local
/linux-6.1.9/arch/x86/include/asm/
Ddesc.h114 #define load_ldt(ldt) asm volatile("lldt %0"::"m" (ldt)) argument
126 static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_alloc_ldt()
130 static inline void paravirt_free_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_free_ldt()
135 #define store_ldt(ldt) asm("sldt %0" : "=m"(ldt)) argument
142 static inline void native_write_ldt_entry(struct desc_struct *ldt, int entry, const void *desc) in native_write_ldt_entry()
198 ldt_desc ldt; in native_set_ldt() local
Dmmu.h38 struct ldt_struct *ldt; member
Dsuspend_32.h25 u16 ldt; member
Dsuspend_64.h49 u16 ldt; member
Dparavirt.h264 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()
Dprocessor.h313 unsigned short ldt, __ldth; member
Dkvm_host.h1954 u16 ldt; in kvm_read_ldt() local
/linux-6.1.9/arch/x86/um/
Dldt.c60 uml_ldt_t *ldt = &current->mm->context.arch.ldt; in read_ldt() local
125 uml_ldt_t *ldt = &current->mm->context.arch.ldt; in write_ldt() local
236 struct ldt_entry * ldt; in ldt_get_host_info() local
/linux-6.1.9/tools/testing/selftests/x86/
Dldt_gdt.c63 static void check_invalid_segment(uint16_t index, int ldt) in check_invalid_segment()
91 static void check_valid_segment(uint16_t index, int ldt, in check_valid_segment()
140 bool oldmode, bool ldt) in install_valid_mode()
/linux-6.1.9/arch/x86/um/asm/
Dmm_context.h69 uml_ldt_t ldt; member
/linux-6.1.9/arch/x86/kvm/
Dtss.h57 u16 ldt; member
/linux-6.1.9/arch/x86/xen/
Denlighten_pv.c377 static void xen_alloc_ldt(struct desc_struct *ldt, unsigned entries) in xen_alloc_ldt()
397 static void xen_free_ldt(struct desc_struct *ldt, unsigned entries) in xen_free_ldt()
/linux-6.1.9/arch/x86/lib/
Dinsn-eval.c629 struct ldt_struct *ldt; in get_desc() local
/linux-6.1.9/tools/arch/x86/include/uapi/asm/
Dkvm.h154 struct kvm_segment tr, ldt; member
165 struct kvm_segment tr, ldt; member
/linux-6.1.9/arch/x86/include/uapi/asm/
Dkvm.h154 struct kvm_segment tr, ldt; member
165 struct kvm_segment tr, ldt; member
/linux-6.1.9/arch/x86/events/
Dcore.c2819 struct ldt_struct *ldt; in get_segment_base() local