Lines Matching refs:ldt
6 #include <asm/ldt.h>
114 #define load_ldt(ldt) asm volatile("lldt %0"::"m" (ldt))
126 static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries)
130 static inline void paravirt_free_ldt(struct desc_struct *ldt, unsigned entries)
135 #define store_ldt(ldt) asm("sldt %0" : "=m"(ldt))
142 static inline void native_write_ldt_entry(struct desc_struct *ldt, int entry, const void *desc)
144 memcpy(&ldt[entry], desc, 8);
198 ldt_desc ldt;
200 set_tssldt_descriptor(&ldt, (unsigned long)addr, DESC_LDT,
203 &ldt, DESC_LDT);