gdt 743 arch/x86/boot/compressed/eboot.c struct desc_ptr *gdt = NULL; gdt 794 arch/x86/boot/compressed/eboot.c sizeof(*gdt), (void **)&gdt); gdt 800 arch/x86/boot/compressed/eboot.c gdt->size = 0x800; gdt 801 arch/x86/boot/compressed/eboot.c status = efi_low_alloc(sys_table, gdt->size, 8, gdt 802 arch/x86/boot/compressed/eboot.c (unsigned long *)&gdt->address); gdt 834 arch/x86/boot/compressed/eboot.c memset((char *)gdt->address, 0x0, gdt->size); gdt 835 arch/x86/boot/compressed/eboot.c desc = (struct desc_struct *)gdt->address; gdt 919 arch/x86/boot/compressed/eboot.c asm volatile ("lgdt %0" : : "m" (*gdt)); gdt 82 arch/x86/boot/pm.c static struct gdt_ptr gdt; gdt 84 arch/x86/boot/pm.c gdt.len = sizeof(boot_gdt)-1; gdt 85 arch/x86/boot/pm.c gdt.ptr = (u32)&boot_gdt + (ds() << 4); gdt 87 arch/x86/boot/pm.c asm volatile("lgdtl %0" : : "m" (gdt)); gdt 2419 arch/x86/events/core.c desc = raw_cpu_ptr(gdt_page.gdt) + idx; gdt 77 arch/x86/include/asm/cpu_entry_area.h char gdt[PAGE_SIZE]; gdt 49 arch/x86/include/asm/desc.h struct desc_struct gdt[GDT_ENTRIES]; gdt 57 arch/x86/include/asm/desc.h return per_cpu(gdt_page, cpu).gdt; gdt 63 arch/x86/include/asm/desc.h return this_cpu_ptr(&gdt_page)->gdt; gdt 69 arch/x86/include/asm/desc.h return (struct desc_struct *)&get_cpu_entry_area(cpu)->gdt; gdt 152 arch/x86/include/asm/desc.h native_write_gdt_entry(struct desc_struct *gdt, int entry, const void *desc, int type) gdt 159 arch/x86/include/asm/desc.h default: size = sizeof(*gdt); break; gdt 162 arch/x86/include/asm/desc.h memcpy(&gdt[entry], desc, size); gdt 240 arch/x86/include/asm/desc.h struct desc_ptr gdt; gdt 245 arch/x86/include/asm/desc.h native_store_gdt(&gdt); gdt 252 arch/x86/include/asm/desc.h if (gdt.address == (unsigned long)fixmap_gdt) { gdt 278 arch/x86/include/asm/desc.h struct desc_struct *gdt = get_cpu_gdt_rw(cpu); gdt 282 arch/x86/include/asm/desc.h gdt[GDT_ENTRY_TLS_MIN + i] = t->tls_array[i]; gdt 153 arch/x86/include/uapi/asm/kvm.h struct kvm_dtable gdt, idt; gdt 599 arch/x86/kernel/apm_32.c struct desc_struct *gdt; gdt 604 arch/x86/kernel/apm_32.c gdt = get_cpu_gdt_rw(cpu); gdt 605 arch/x86/kernel/apm_32.c save_desc_40 = gdt[0x40 / 8]; gdt 606 arch/x86/kernel/apm_32.c gdt[0x40 / 8] = bad_bios_desc; gdt 617 arch/x86/kernel/apm_32.c gdt[0x40 / 8] = save_desc_40; gdt 677 arch/x86/kernel/apm_32.c struct desc_struct *gdt; gdt 682 arch/x86/kernel/apm_32.c gdt = get_cpu_gdt_rw(cpu); gdt 683 arch/x86/kernel/apm_32.c save_desc_40 = gdt[0x40 / 8]; gdt 684 arch/x86/kernel/apm_32.c gdt[0x40 / 8] = bad_bios_desc; gdt 694 arch/x86/kernel/apm_32.c gdt[0x40 / 8] = save_desc_40; gdt 2254 arch/x86/kernel/apm_32.c struct desc_struct *gdt; gdt 2340 arch/x86/kernel/apm_32.c gdt = get_cpu_gdt_rw(0); gdt 2341 arch/x86/kernel/apm_32.c set_desc_base(&gdt[APM_CS >> 3], gdt 2343 arch/x86/kernel/apm_32.c set_desc_base(&gdt[APM_CS_16 >> 3], gdt 2345 arch/x86/kernel/apm_32.c set_desc_base(&gdt[APM_DS >> 3], gdt 114 arch/x86/kernel/cpu/common.c DEFINE_PER_CPU_PAGE_ALIGNED(struct gdt_page, gdt_page) = { .gdt = { gdt 24 arch/x86/kernel/doublefault.c unsigned long gdt, tss; gdt 27 arch/x86/kernel/doublefault.c gdt = gdt_desc.address; gdt 29 arch/x86/kernel/doublefault.c printk(KERN_EMERG "PANIC: double fault, gdt at %08lx [%d bytes]\n", gdt, gdt_desc.size); gdt 31 arch/x86/kernel/doublefault.c if (ptr_ok(gdt)) { gdt 32 arch/x86/kernel/doublefault.c gdt += GDT_ENTRY_TSS << 3; gdt 33 arch/x86/kernel/doublefault.c tss = get_desc_base((struct desc_struct *)gdt); gdt 914 arch/x86/kvm/svm.c struct desc_struct *gdt; gdt 936 arch/x86/kvm/svm.c gdt = get_current_gdt_rw(); gdt 937 arch/x86/kvm/svm.c sd->tss_desc = (struct kvm_ldttss_desc *)(gdt + GDT_ENTRY_TSS); gdt 1328 arch/x86/kvm/vmx/vmx.c void *gdt = get_current_gdt_ro(); gdt 1339 arch/x86/kvm/vmx/vmx.c vmcs_writel(HOST_GDTR_BASE, (unsigned long)gdt); /* 22.2.4 */ gdt 8740 arch/x86/kvm/x86.c sregs->gdt.limit = dt.size; gdt 8741 arch/x86/kvm/x86.c sregs->gdt.base = dt.address; gdt 8884 arch/x86/kvm/x86.c dt.size = sregs->gdt.limit; gdt 8885 arch/x86/kvm/x86.c dt.address = sregs->gdt.base; gdt 138 arch/x86/mm/cpu_entry_area.c cea_set_pte(&cea->gdt, get_cpu_gdt_paddr(cpu), gdt_prot); gdt 576 arch/x86/mm/fault.c static void show_ldttss(const struct desc_ptr *gdt, const char *name, u16 index) gdt 587 arch/x86/mm/fault.c if (offset + sizeof(struct ldttss_desc) >= gdt->size) { gdt 592 arch/x86/mm/fault.c if (probe_kernel_read(&desc, (void *)(gdt->address + offset), gdt 653 arch/x86/mm/fault.c struct desc_ptr idt, gdt; gdt 669 arch/x86/mm/fault.c native_store_gdt(&gdt); gdt 672 arch/x86/mm/fault.c idt.address, idt.size, gdt.address, gdt.size); gdt 675 arch/x86/mm/fault.c show_ldttss(&gdt, "LDTR", ldtr); gdt 678 arch/x86/mm/fault.c show_ldttss(&gdt, "TR", tr); gdt 520 arch/x86/xen/enlighten_pv.c struct desc_struct *gdt; gdt 529 arch/x86/xen/enlighten_pv.c gdt = get_cpu_gdt_rw(cpu); gdt 530 arch/x86/xen/enlighten_pv.c maddr = arbitrary_virt_to_machine(&gdt[GDT_ENTRY_TLS_MIN+i]); gdt 288 arch/x86/xen/smp_pv.c struct desc_struct *gdt; gdt 300 arch/x86/xen/smp_pv.c gdt = get_cpu_gdt_rw(cpu); gdt 326 arch/x86/xen/smp_pv.c BUG_ON((unsigned long)gdt & ~PAGE_MASK); gdt 328 arch/x86/xen/smp_pv.c gdt_mfn = arbitrary_virt_to_mfn(gdt); gdt 329 arch/x86/xen/smp_pv.c make_lowmem_page_readonly(gdt); gdt 58 drivers/pnp/pnpbios/bioscalls.c struct desc_struct *gdt = get_cpu_gdt_rw((cpu)); \ gdt 59 drivers/pnp/pnpbios/bioscalls.c set_desc_base(&gdt[(selname) >> 3], (u32)(address)); \ gdt 60 drivers/pnp/pnpbios/bioscalls.c set_desc_limit(&gdt[(selname) >> 3], (size) - 1); \ gdt 481 drivers/pnp/pnpbios/bioscalls.c struct desc_struct *gdt = get_cpu_gdt_rw(i); gdt 482 drivers/pnp/pnpbios/bioscalls.c if (!gdt) gdt 484 drivers/pnp/pnpbios/bioscalls.c set_desc_base(&gdt[GDT_ENTRY_PNPBIOS_CS32], gdt 486 drivers/pnp/pnpbios/bioscalls.c set_desc_base(&gdt[GDT_ENTRY_PNPBIOS_CS16], gdt 488 drivers/pnp/pnpbios/bioscalls.c set_desc_base(&gdt[GDT_ENTRY_PNPBIOS_DS], gdt 153 tools/arch/x86/include/uapi/asm/kvm.h struct kvm_dtable gdt, idt; gdt 223 tools/testing/selftests/kvm/include/x86_64/processor.h struct desc_ptr gdt; gdt 225 tools/testing/selftests/kvm/include/x86_64/processor.h : /* output */ [gdt]"=m"(gdt)); gdt 226 tools/testing/selftests/kvm/include/x86_64/processor.h return gdt.address; gdt 62 tools/testing/selftests/kvm/lib/kvm_util_internal.h vm_vaddr_t gdt; gdt 209 tools/testing/selftests/kvm/lib/x86_64/processor.c dtable_dump(stream, &sregs->gdt, indent + 2); gdt 443 tools/testing/selftests/kvm/lib/x86_64/processor.c void *gdt = addr_gva2hva(vm, vm->gdt); gdt 444 tools/testing/selftests/kvm/lib/x86_64/processor.c struct desc64 *desc = gdt + (segp->selector >> 3) * 8; gdt 587 tools/testing/selftests/kvm/lib/x86_64/processor.c if (!vm->gdt) gdt 588 tools/testing/selftests/kvm/lib/x86_64/processor.c vm->gdt = vm_vaddr_alloc(vm, getpagesize(), gdt 591 tools/testing/selftests/kvm/lib/x86_64/processor.c dt->base = vm->gdt; gdt 621 tools/testing/selftests/kvm/lib/x86_64/processor.c kvm_setup_gdt(vm, &sregs.gdt, gdt_memslot, pgd_memslot);