Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/
H A 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()
383 map_ldt_struct(struct mm_struct *mm, struct ldt_struct *ldt, int slot) in map_ldt_struct()
388 static void unmap_ldt_struct(struct mm_struct *mm, struct ldt_struct *ldt) in unmap_ldt_struct()
416 static void finalize_ldt_struct(struct ldt_struct *ldt) in finalize_ldt_struct()
421 static void install_ldt(struct mm_struct *mm, struct ldt_struct *ldt) in install_ldt()
434 static void free_ldt_struct(struct ldt_struct *ldt) in free_ldt_struct()
584 struct desc_struct ldt; in write_ldt() local
H A Dprocess_64.c433 struct ldt_struct *ldt; in x86_fsgsbase_read_task() local
/linux/arch/x86/include/asm/
H A Ddesc.h115 #define load_ldt(ldt) asm volatile("lldt %0"::"m" (ldt)) argument
127 static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_alloc_ldt()
131 static inline void paravirt_free_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_free_ldt()
136 #define store_ldt(ldt) asm("sldt %0" : "=m"(ldt)) argument
143 static inline void native_write_ldt_entry(struct desc_struct *ldt, int entry, const void *desc) in native_write_ldt_entry()
199 ldt_desc ldt; in native_set_ldt() local
H A Dsuspend_32.h20 u16 ldt; member
H A Dmmu.h42 struct ldt_struct *ldt; member
H A Dsuspend_64.h49 u16 ldt; member
H A Dparavirt.h268 static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_alloc_ldt()
273 static inline void paravirt_free_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_free_ldt()
H A Dprocessor.h306 unsigned short ldt, __ldth; member
/linux/tools/testing/selftests/x86/
H A 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/arch/x86/hyperv/
H A Dhv_vtl.c79 struct ldttss_desc *ldt; in hv_vtl_bringup_vcpu() local
/linux/arch/x86/kvm/
H A Dtss.h57 u16 ldt; member
/linux/arch/x86/xen/
H A Denlighten_pv.c466 static void xen_alloc_ldt(struct desc_struct *ldt, unsigned entries) in xen_alloc_ldt()
486 static void xen_free_ldt(struct desc_struct *ldt, unsigned entries) in xen_free_ldt()
/linux/arch/x86/lib/
H A Dinsn-eval.c629 struct ldt_struct *ldt; in get_desc() local
/linux/tools/arch/x86/include/uapi/asm/
H A Dkvm.h148 struct kvm_segment tr, ldt; member
159 struct kvm_segment tr, ldt; member
/linux/arch/x86/events/
H A Dcore.c2800 struct ldt_struct *ldt; in get_segment_base() local