Lines Matching refs:desc_struct
11 static inline void fill_ldt(struct desc_struct *desc, const struct user_desc *info) in fill_ldt()
43 struct desc_struct gdt[GDT_ENTRIES];
48 static inline struct desc_struct *get_cpu_gdt_table(unsigned int cpu) in get_cpu_gdt_table()
108 static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_alloc_ldt()
112 static inline void paravirt_free_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_free_ldt()
124 static inline void native_write_ldt_entry(struct desc_struct *ldt, int entry, const void *desc) in native_write_ldt_entry()
130 native_write_gdt_entry(struct desc_struct *gdt, int entry, const void *desc, int type) in native_write_gdt_entry()
143 static inline void pack_descriptor(struct desc_struct *desc, unsigned long base, in pack_descriptor()
171 pack_descriptor((struct desc_struct *)d, addr, size, 0x80 | type, 0); in set_tssldt_descriptor()
177 struct desc_struct *d = get_cpu_gdt_table(cpu); in __set_tss_desc()
247 struct desc_struct *gdt = get_cpu_gdt_table(cpu); in native_load_tls()
283 static inline unsigned long get_desc_base(const struct desc_struct *desc) in get_desc_base()
288 static inline void set_desc_base(struct desc_struct *desc, unsigned long base) in set_desc_base()
295 static inline unsigned long get_desc_limit(const struct desc_struct *desc) in get_desc_limit()
300 static inline void set_desc_limit(struct desc_struct *desc, unsigned long limit) in set_desc_limit()