Lines Matching refs:ldt
6 #include <asm/ldt.h>
113 #define load_ldt(ldt) asm volatile("lldt %0"::"m" (ldt))
125 static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries)
129 static inline void paravirt_free_ldt(struct desc_struct *ldt, unsigned entries)
134 #define store_ldt(ldt) asm("sldt %0" : "=m"(ldt))
141 static inline void native_write_ldt_entry(struct desc_struct *ldt, int entry, const void *desc)
143 memcpy(&ldt[entry], desc, 8);
197 ldt_desc ldt;
199 set_tssldt_descriptor(&ldt, (unsigned long)addr, DESC_LDT,
202 &ldt, DESC_LDT);