Lines Matching refs:desc_struct

15 static inline void fill_ldt(struct desc_struct *desc, const struct user_desc *info)  in fill_ldt()
49 struct desc_struct gdt[GDT_ENTRIES];
55 static inline struct desc_struct *get_cpu_gdt_rw(unsigned int cpu) in get_cpu_gdt_rw()
61 static inline struct desc_struct *get_current_gdt_rw(void) in get_current_gdt_rw()
67 static inline struct desc_struct *get_cpu_gdt_ro(int cpu) in get_cpu_gdt_ro()
69 return (struct desc_struct *)&get_cpu_entry_area(cpu)->gdt; in get_cpu_gdt_ro()
73 static inline struct desc_struct *get_current_gdt_ro(void) in get_current_gdt_ro()
130 static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_alloc_ldt()
134 static inline void paravirt_free_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_free_ldt()
146 static inline void native_write_ldt_entry(struct desc_struct *ldt, int entry, const void *desc) in native_write_ldt_entry()
152 native_write_gdt_entry(struct desc_struct *gdt, int entry, const void *desc, int type) in native_write_gdt_entry()
186 struct desc_struct *d = get_cpu_gdt_rw(cpu); in __set_tss_desc()
243 struct desc_struct *fixmap_gdt; in native_load_tr_desc()
278 struct desc_struct *gdt = get_cpu_gdt_rw(cpu); in native_load_tls()
289 struct desc_struct *d = get_current_gdt_rw(); in force_reload_TR()
366 static inline unsigned long get_desc_base(const struct desc_struct *desc) in get_desc_base()
371 static inline void set_desc_base(struct desc_struct *desc, unsigned long base) in set_desc_base()
378 static inline unsigned long get_desc_limit(const struct desc_struct *desc) in get_desc_limit()
383 static inline void set_desc_limit(struct desc_struct *desc, unsigned long limit) in set_desc_limit()