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];
51 static inline struct desc_struct *get_cpu_gdt_rw(unsigned int cpu) in get_cpu_gdt_rw()
57 static inline struct desc_struct *get_current_gdt_rw(void) in get_current_gdt_rw()
63 static inline struct desc_struct *get_cpu_gdt_ro(int cpu) in get_cpu_gdt_ro()
65 return (struct desc_struct *)&get_cpu_entry_area(cpu)->gdt; in get_cpu_gdt_ro()
69 static inline struct desc_struct *get_current_gdt_ro(void) in get_current_gdt_ro()
126 static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_alloc_ldt()
130 static inline void paravirt_free_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_free_ldt()
142 static inline void native_write_ldt_entry(struct desc_struct *ldt, int entry, const void *desc) in native_write_ldt_entry()
148 native_write_gdt_entry(struct desc_struct *gdt, int entry, const void *desc, int type) in native_write_gdt_entry()
182 struct desc_struct *d = get_cpu_gdt_rw(cpu); in __set_tss_desc()
259 struct desc_struct *fixmap_gdt; in native_load_tr_desc()
294 struct desc_struct *gdt = get_cpu_gdt_rw(cpu); in native_load_tls()
305 struct desc_struct *d = get_current_gdt_rw(); in force_reload_TR()
382 static inline unsigned long get_desc_base(const struct desc_struct *desc) in get_desc_base()
387 static inline void set_desc_base(struct desc_struct *desc, unsigned long base) in set_desc_base()
394 static inline unsigned long get_desc_limit(const struct desc_struct *desc) in get_desc_limit()
399 static inline void set_desc_limit(struct desc_struct *desc, unsigned long limit) in set_desc_limit()