Home
last modified time | relevance | path

Searched refs:mdglobaldata (Results 1 – 25 of 25) sorted by relevance

/dragonfly/sys/platform/pc64/x86_64/
H A Dgenassym.c96 ASSYM(GD_CNT, offsetof(struct mdglobaldata, mi.gd_cnt));
97 ASSYM(GD_CPUID, offsetof(struct mdglobaldata, mi.gd_cpuid));
98 ASSYM(GD_CPUMASK, offsetof(struct mdglobaldata, mi.gd_cpumask));
99 ASSYM(GD_NPOLL, offsetof(struct mdglobaldata, mi.gd_npoll));
205 ASSYM(GD_DEBUG1, offsetof(struct mdglobaldata, mi.gd_debug1));
206 ASSYM(GD_DEBUG2, offsetof(struct mdglobaldata, mi.gd_debug2));
207 ASSYM(GD_USER_FS, offsetof(struct mdglobaldata, gd_user_fs));
208 ASSYM(GD_USER_GS, offsetof(struct mdglobaldata, gd_user_gs));
230 ASSYM(GD_IPENDING, offsetof(struct mdglobaldata, gd_ipending));
233 ASSYM(GD_TSS_GDT, offsetof(struct mdglobaldata, gd_tss_gdt));
[all …]
H A Dmp_machdep.c251 struct mdglobaldata *md; in init_secondary()
256 gdt = ps->mdglobaldata.gd_gdt; in init_secondary()
259 ps->mdglobaldata.mi.gd_prvspace = ps; in init_secondary()
402 struct mdglobaldata *gd; in start_all_aps()
491 gd = &ps->mdglobaldata; in start_all_aps()
562 gd = (struct mdglobaldata *)mycpu; in start_all_aps()
941 struct mdglobaldata *md = mdcpu; in smp_invltlb()
1071 struct mdglobaldata *md = mdcpu; in smp_invlpg()
1173 struct mdglobaldata *md = mdcpu; in smp_inval_intr()
1664 struct mdglobaldata *gd; in mp_bsp_simple_setup()
[all …]
H A Dipl_funcs.c48 struct mdglobaldata *gd = mdcpu; \
H A Dtls.c159 struct mdglobaldata *gd = mdcpu; in set_user_TLS()
H A Dnpx.c359 struct mdglobaldata *md = mdcpu; in npxdna()
478 struct mdglobaldata *md; in npxsave()
H A Dminidump_machdep.c195 struct mdglobaldata *md; in minidumpsys()
219 md = (struct mdglobaldata *)globaldata_find(0); in minidumpsys()
H A Dpmap_inval.c222 kprintf(" %d", CPU_prvspace[p]->mdglobaldata.gd_xinvaltlb); in loopdebug()
H A Dmachdep.c2623 struct mdglobaldata *gd; in hammer_time()
2630 gd = &CPU_prvspace[0]->mdglobaldata; in hammer_time()
2935 cpu_gdinit(struct mdglobaldata *gd, int cpu) in cpu_gdinit()
2973 return(&CPU_prvspace[cpu]->mdglobaldata.mi); in globaldata_find()
3687 struct mdglobaldata *gd = mdcpu; in cpu_interrupt_running()
H A Dpmap.c1573 pmap_init_iso_range((register_t)ps->mdglobaldata.gd_gdt, in pmap_init2_iso_pmap()
3594 struct mdglobaldata *md = mdcpu; in _pv_alloc()
/dragonfly/sys/platform/vkernel64/include/
H A Dglobaldata.h66 struct mdglobaldata { struct
87 ((sizeof(struct mdglobaldata) + PAGE_MASK) & ~PAGE_MASK) argument
91 (MDGLOBALDATA_BASEALLOC_SIZE - sizeof(struct mdglobaldata))
104 ((sizeof(struct mdglobaldata) + MDGLOBALDATA_PAD + PAGE_SIZE * 4 + \
109 struct mdglobaldata mdglobaldata; member
115 #define mdcpu ((struct mdglobaldata *)_get_mycpu())
H A Dmd_var.h97 struct mdglobaldata;
101 void cpu_gdinit (struct mdglobaldata *gd, int cpu);
/dragonfly/sys/platform/pc64/include/
H A Dglobaldata.h66 struct mdglobaldata { struct
102 ((sizeof(struct mdglobaldata) + PAGE_MASK) & ~PAGE_MASK) argument
106 (MDGLOBALDATA_BASEALLOC_SIZE - sizeof(struct mdglobaldata))
120 struct mdglobaldata mdglobaldata; member
160 #define mdcpu ((struct mdglobaldata *)_get_mycpu())
H A Dmd_var.h85 void cpu_gdinit (struct mdglobaldata *gd, int cpu);
/dragonfly/sys/platform/vkernel64/x86_64/
H A Dgenassym.c77 ASSYM(GD_CURTHREAD, offsetof(struct mdglobaldata, mi.gd_curthread));
78 ASSYM(GD_CPUID, offsetof(struct mdglobaldata, mi.gd_cpuid));
79 ASSYM(GD_CPUMASK, offsetof(struct mdglobaldata, mi.gd_cpumask));
80 ASSYM(GD_OTHER_CPUS, offsetof(struct mdglobaldata, mi.gd_other_cpus));
121 ASSYM(GD_NPXTHREAD, offsetof(struct mdglobaldata, gd_npxthread));
H A Dmp.c358 struct mdglobaldata *md; in init_secondary()
363 KKASSERT(ps->mdglobaldata.mi.gd_prvspace == ps); in init_secondary()
389 struct mdglobaldata *gd; in start_all_aps()
409 for (i = 0; i < sizeof(struct mdglobaldata); i += PAGE_SIZE) { in start_all_aps()
410 va =(vm_offset_t)&CPU_prvspace[x].mdglobaldata + i; in start_all_aps()
421 gd = &CPU_prvspace[x].mdglobaldata; /* official location */ in start_all_aps()
H A Dcpu_regs.c479 struct mdglobaldata *gd = mdcpu; in cpu_idle()
H A Dtrap.c990 struct mdglobaldata *gd = mdcpu; in dblfault_handler()
/dragonfly/gnu/usr.bin/gdb/kgdb/
H A Dkthr.c81 struct mdglobaldata gd; in kgdb_thr_init()
125 offsetof(struct privatespace, mdglobaldata), in kgdb_thr_init()
126 &gd, sizeof(struct mdglobaldata)); in kgdb_thr_init()
138 offsetof(struct privatespace, mdglobaldata), in kgdb_thr_init()
139 &gd, sizeof(struct mdglobaldata)); in kgdb_thr_init()
/dragonfly/sys/platform/vkernel64/platform/
H A Dmachintr.c124 struct mdglobaldata *gd = mdcpu; in splz()
171 struct mdglobaldata *gd = mdcpu; in signalintr()
221 struct mdglobaldata *gd = mdcpu; in cpu_interrupt_running()
H A Dglobaldata.c62 return (&CPU_prvspace[cpu].mdglobaldata.mi); in globaldata_find()
66 cpu_gdinit(struct mdglobaldata *gd, int cpu) in cpu_gdinit()
H A Dipl_funcs.c51 struct mdglobaldata *gd = mdcpu; \
H A Dinit.c740 for (i = 0; i < sizeof(struct mdglobaldata); i += PAGE_SIZE) { in init_globaldata()
742 va = (vm_offset_t)&CPU_prvspace[0].mdglobaldata + i; in init_globaldata()
787 struct mdglobaldata *gd; in init_vkernel()
789 gd = &CPU_prvspace[0].mdglobaldata; in init_vkernel()
/dragonfly/sys/dev/acpica/
H A Dacpi_cpu.c290 struct mdglobaldata *md; in acpi_cpu_get_id()
298 md = (struct mdglobaldata *)globaldata_find(i); in acpi_cpu_get_id()
/dragonfly/share/misc/
H A Dgdbinit62 set $gd = &((struct privatespace *)&CPU_prvspace)[$cpu].mdglobaldata
90 set $gd = $ipvspace[$icpu].mdglobaldata.mi
/dragonfly/test/debug/
H A Dzallocinfo.c134 kkread(kd, baseptr + offsetof(struct mdglobaldata, mi.gd_slab), in main()