Lines Matching refs:desc_struct

16 static inline void fill_ldt(struct desc_struct *desc, const struct user_desc *info)  in fill_ldt()
45 struct desc_struct gdt[GDT_ENTRIES];
52 static inline struct desc_struct *get_cpu_gdt_rw(unsigned int cpu) in get_cpu_gdt_rw()
58 static inline struct desc_struct *get_current_gdt_rw(void) in get_current_gdt_rw()
64 static inline struct desc_struct *get_cpu_gdt_ro(int cpu) in get_cpu_gdt_ro()
66 return (struct desc_struct *)&get_cpu_entry_area(cpu)->gdt; in get_cpu_gdt_ro()
70 static inline struct desc_struct *get_current_gdt_ro(void) in get_current_gdt_ro()
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()
143 static inline void native_write_ldt_entry(struct desc_struct *ldt, int entry, const void *desc) in native_write_ldt_entry()
149 native_write_gdt_entry(struct desc_struct *gdt, int entry, const void *desc, int type) in native_write_gdt_entry()
183 struct desc_struct *d = get_cpu_gdt_rw(cpu); in __set_tss_desc()
260 struct desc_struct *fixmap_gdt; in native_load_tr_desc()
295 struct desc_struct *gdt = get_cpu_gdt_rw(cpu); in native_load_tls()
306 struct desc_struct *d = get_current_gdt_rw(); in force_reload_TR()
383 static inline unsigned long get_desc_base(const struct desc_struct *desc) in get_desc_base()
388 static inline void set_desc_base(struct desc_struct *desc, unsigned long base) in set_desc_base()
395 static inline unsigned long get_desc_limit(const struct desc_struct *desc) in get_desc_limit()
400 static inline void set_desc_limit(struct desc_struct *desc, unsigned long limit) in set_desc_limit()