Lines Matching refs:desc_struct
16 static inline void fill_ldt(struct desc_struct *desc, const struct user_desc *info)
45 struct desc_struct gdt[GDT_ENTRIES];
51 static inline struct desc_struct *get_cpu_gdt_rw(unsigned int cpu)
57 static inline struct desc_struct *get_current_gdt_rw(void)
63 static inline struct desc_struct *get_cpu_gdt_ro(int cpu)
65 return (struct desc_struct *)&get_cpu_entry_area(cpu)->gdt;
69 static inline struct desc_struct *get_current_gdt_ro(void)
126 static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries)
130 static inline void paravirt_free_ldt(struct desc_struct *ldt, unsigned entries)
142 static inline void native_write_ldt_entry(struct desc_struct *ldt, int entry, const void *desc)
148 native_write_gdt_entry(struct desc_struct *gdt, int entry, const void *desc, int type)
182 struct desc_struct *d = get_cpu_gdt_rw(cpu);
259 struct desc_struct *fixmap_gdt;
294 struct desc_struct *gdt = get_cpu_gdt_rw(cpu);
305 struct desc_struct *d = get_current_gdt_rw();
382 static inline unsigned long get_desc_base(const struct desc_struct *desc)
387 static inline void set_desc_base(struct desc_struct *desc, unsigned long base)
394 static inline unsigned long get_desc_limit(const struct desc_struct *desc)
399 static inline void set_desc_limit(struct desc_struct *desc, unsigned long limit)