Lines Matching refs:desc_struct
15 static inline void fill_ldt(struct desc_struct *desc, const struct user_desc *info)
44 struct desc_struct gdt[GDT_ENTRIES];
50 static inline struct desc_struct *get_cpu_gdt_rw(unsigned int cpu)
56 static inline struct desc_struct *get_current_gdt_rw(void)
62 static inline struct desc_struct *get_cpu_gdt_ro(int cpu)
64 return (struct desc_struct *)&get_cpu_entry_area(cpu)->gdt;
68 static inline struct desc_struct *get_current_gdt_ro(void)
125 static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries)
129 static inline void paravirt_free_ldt(struct desc_struct *ldt, unsigned entries)
141 static inline void native_write_ldt_entry(struct desc_struct *ldt, int entry, const void *desc)
147 native_write_gdt_entry(struct desc_struct *gdt, int entry, const void *desc, int type)
181 struct desc_struct *d = get_cpu_gdt_rw(cpu);
238 struct desc_struct *fixmap_gdt;
273 struct desc_struct *gdt = get_cpu_gdt_rw(cpu);
284 struct desc_struct *d = get_current_gdt_rw();
361 static inline unsigned long get_desc_base(const struct desc_struct *desc)
366 static inline void set_desc_base(struct desc_struct *desc, unsigned long base)
373 static inline unsigned long get_desc_limit(const struct desc_struct *desc)
378 static inline void set_desc_limit(struct desc_struct *desc, unsigned long limit)