Lines Matching refs:desc_struct
101 struct desc_struct desc[3];
458 static void xen_alloc_ldt(struct desc_struct *ldt, unsigned entries) in xen_alloc_ldt()
478 static void xen_free_ldt(struct desc_struct *ldt, unsigned entries) in xen_free_ldt()
534 if (HYPERVISOR_set_gdt(&mfn, size / sizeof(struct desc_struct))) in xen_load_gdt()
560 if (HYPERVISOR_set_gdt(&mfn, size / sizeof(struct desc_struct))) in xen_load_gdt_boot()
564 static inline bool desc_equal(const struct desc_struct *d1, in desc_equal()
565 const struct desc_struct *d2) in desc_equal()
573 struct desc_struct *shadow = &per_cpu(shadow_tls_desc, cpu).desc[i]; in load_TLS_descriptor()
574 struct desc_struct *gdt; in load_TLS_descriptor()
615 static void xen_write_ldt_entry(struct desc_struct *dt, int entrynum, in xen_write_ldt_entry()
881 static void xen_write_gdt_entry(struct desc_struct *dt, int entry, in xen_write_gdt_entry()
911 static void __init xen_write_gdt_entry_boot(struct desc_struct *dt, int entry, in xen_write_gdt_entry_boot()
926 dt[entry] = *(struct desc_struct *)desc; in xen_write_gdt_entry_boot()