Lines Matching refs:gdt
600 struct desc_struct *gdt; in __apm_bios_call() local
606 gdt = get_cpu_gdt_rw(cpu); in __apm_bios_call()
607 save_desc_40 = gdt[0x40 / 8]; in __apm_bios_call()
608 gdt[0x40 / 8] = bad_bios_desc; in __apm_bios_call()
621 gdt[0x40 / 8] = save_desc_40; in __apm_bios_call()
681 struct desc_struct *gdt; in __apm_bios_call_simple() local
687 gdt = get_cpu_gdt_rw(cpu); in __apm_bios_call_simple()
688 save_desc_40 = gdt[0x40 / 8]; in __apm_bios_call_simple()
689 gdt[0x40 / 8] = bad_bios_desc; in __apm_bios_call_simple()
701 gdt[0x40 / 8] = save_desc_40; in __apm_bios_call_simple()
2261 struct desc_struct *gdt; in apm_init() local
2347 gdt = get_cpu_gdt_rw(0); in apm_init()
2348 set_desc_base(&gdt[APM_CS >> 3], in apm_init()
2350 set_desc_base(&gdt[APM_CS_16 >> 3], in apm_init()
2352 set_desc_base(&gdt[APM_DS >> 3], in apm_init()