Symbol: NGDT
sys/amd64/amd64/machdep.c
1388
for (x = 0; x < NGDT; x++) {
sys/amd64/amd64/machdep.c
1397
r_gdt.rd_limit = NGDT * sizeof(gdt[0]) - 1;
sys/amd64/amd64/machdep.c
481
_Static_assert(nitems(gdt_segs) == NGDT, "Stale NGDT");
sys/amd64/amd64/mp_machdep.c
265
for (x = 0; x < NGDT; x++) {
sys/amd64/amd64/mp_machdep.c
272
ap_gdt.rd_limit = NGDT * sizeof(gdt[0]) - 1;
sys/amd64/amd64/pmap.c
2211
memcpy(__pcpu[0].pc_gdt, temp_bsp_pcpu.pc_gdt, NGDT *
sys/amd64/amd64/pmap.c
2216
r_gdt.rd_limit = NGDT * sizeof(struct user_segment_descriptor) - 1;
sys/amd64/include/pcpu.h
94
struct user_segment_descriptor pc_gdt[NGDT]; \
sys/i386/i386/bios.c
264
p_gdt = &gdt[PCPU_GET(cpuid) * NGDT];
sys/i386/i386/db_interface.c
105
sdp = &gdt[PCPU_GET(cpuid) * NGDT].sd;
sys/i386/i386/machdep.c
1451
for (x = 0; x < NGDT; x++)
sys/i386/i386/machdep.c
1454
r_gdt.rd_limit = NGDT * sizeof(gdt0[0]) - 1;
sys/i386/i386/machdep.c
1616
gdt = pmap_trm_alloc(sizeof(union descriptor) * NGDT * mp_ncpus,
sys/i386/i386/machdep.c
1618
bcopy(gdt0, gdt, sizeof(union descriptor) * NGDT);
sys/i386/i386/machdep.c
1619
r_gdt.rd_limit = NGDT * sizeof(gdt[0]) - 1;
sys/i386/i386/machdep.c
343
union descriptor gdt0[NGDT]; /* initial global descriptor table */
sys/i386/i386/mp_machdep.c
303
for (x = 0; x < NGDT; x++) {
sys/i386/i386/mp_machdep.c
304
ssdtosd(&gdt_segs[x], &gdt[myid * NGDT + x].sd);
sys/i386/i386/mp_machdep.c
307
r_gdt.rd_limit = NGDT * sizeof(gdt[0]) - 1;
sys/i386/i386/mp_machdep.c
308
r_gdt.rd_base = (int) &gdt[myid * NGDT];
sys/i386/i386/mp_machdep.c
322
gdt[myid * NGDT + GPROC0_SEL].sd.sd_type = SDT_SYS386TSS;
sys/i386/i386/mp_machdep.c
326
PCPU_SET(tss_gdt, &gdt[myid * NGDT + GPROC0_SEL].sd);
sys/i386/i386/mp_machdep.c
330
PCPU_SET(fsgs_gdt, &gdt[myid * NGDT + GUFS_SEL].sd);
sys/i386/i386/sys_machdep.c
413
gdt_idx += PCPU_GET(cpuid) * NGDT; /* always 0 on UP */