Home
last modified time | relevance | path

Searched refs:ldt (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/contrib/zstd/programs/
H A Ddatagen.c60 static void RDG_fillLiteralDistrib(BYTE* ldt, fixedPoint_24_8 ld) in RDG_fillLiteralDistrib() argument
71 while (u < end) ldt[u++] = character; in RDG_fillLiteralDistrib()
78 static BYTE RDG_genChar(U32* seed, const BYTE* ldt) in RDG_genChar() argument
81 …return ldt[id]; /* memory-sanitizer fails here, stating "uninitialized value" when table initiali… in RDG_genChar()
97 double matchProba, const BYTE* ldt, U32* seedPtr) in RDG_genBlock() argument
115 buffPtr[pos-1] = RDG_genChar(seedPtr, ldt); in RDG_genBlock()
120 if (pos==0) buffPtr[0] = RDG_genChar(seedPtr, ldt), pos=1; in RDG_genBlock()
139 while (pos < d) { buffPtr[pos++] = RDG_genChar(seedPtr, ldt); } in RDG_genBlock()
147 BYTE ldt[LTSIZE]; in RDG_genBuffer() local
148 memset(ldt, '0', sizeof(ldt)); /* yes, character '0', this is intentional */ in RDG_genBuffer()
[all …]
/freebsd/tools/test/stress2/misc/
H A Dldt.sh45 cat > ldt.c <<EOF
46 /* \$Id: ldt.c,v 1.8 2008/11/01 21:14:59 kostik Exp kostik \$ */
205 cc -o ldt_static_i386 -Wall -static ldt.c
206 rm ldt.c
/freebsd/sys/i386/linux/
H A Dlinux_machdep.c359 struct i386_ldt_args ldt; in linux_modify_ldt() local
366 ldt.start = 0; in linux_modify_ldt()
367 ldt.descs = uap->ptr; in linux_modify_ldt()
368 ldt.num = uap->bytecount / sizeof(union descriptor); in linux_modify_ldt()
369 error = i386_get_ldt(td, &ldt); in linux_modify_ldt()
389 ldt.start = ld.entry_number; in linux_modify_ldt()
390 ldt.descs = &desc; in linux_modify_ldt()
391 ldt.num = 1; in linux_modify_ldt()
403 error = i386_set_ldt(td, &ldt, &desc); in linux_modify_ldt()
/freebsd/sys/i386/include/
H A Dsegments.h85 extern union descriptor *ldt;
/freebsd/sys/i386/i386/
H A Ddb_interface.c103 sdp = (plp != NULL) ? &plp->ldt_sd : &ldt[0].sd; in db_segsize()
H A Dmachdep.c341 union descriptor *ldt; /* local descriptor table */ variable
1672 ldt = pmap_trm_alloc(sizeof(union descriptor) * NLDT, in machdep_init_trampoline()
1674 gdt[GLDT_SEL].sd.sd_lobase = (int)ldt; in machdep_init_trampoline()
1675 gdt[GLDT_SEL].sd.sd_hibase = (u_int)ldt >> 24; in machdep_init_trampoline()
1679 ssdtosd(&ldt_segs[x], &ldt[x].sd); in machdep_init_trampoline()
1712 bcopy(&desc, &ldt[LSYS5CALLS_SEL], sizeof(desc)); in i386_setup_lcall_gate()
H A Dsys_machdep.c469 bcopy(ldt, new_ldt->ldt_base, sizeof(union descriptor) * NLDT); in user_ldt_alloc()
543 &ldt[uap->start], data, num * sizeof(union descriptor)); in i386_get_ldt()
H A Dmp_machdep.c301 gdt_segs[GLDT_SEL].ssd_base = (int)ldt; in init_secondary()
/freebsd/sys/amd64/amd64/
H A Dsys_machdep.c548 *PCPU_GET(ldt) = mdp->md_ldt_sd; in set_user_ldt()
556 struct proc_ldt *ldt; in set_user_ldt_rv() local
561 ldt = (void *)atomic_load_acq_ptr((uintptr_t *)&orig->p_md.md_ldt); in set_user_ldt_rv()
562 if (target->p_md.md_ldt != ldt) in set_user_ldt_rv()
H A Dmachdep.c566 uint16_t ldt, tr; in DB_SHOW_COMMAND_FLAGS() local
574 __asm __volatile("sldt %0" : "=r" (ldt)); in DB_SHOW_COMMAND_FLAGS()
575 db_printf("ldtr\t0x%04x\n", ldt); in DB_SHOW_COMMAND_FLAGS()
1226 PCPU_SET(ldt, (struct system_segment_descriptor *)&gdt[GUSERLDT_SEL]); in amd64_bsp_pcpu_init1()
/freebsd/sys/netpfil/ipfw/
H A Dip_fw_nat.c297 int ldt, retval, found; in ipfw_nat() local
301 ldt = 0; in ipfw_nat()
344 ldt = 1; in ipfw_nat()
420 ldt = 1; in ipfw_nat()
423 if (ldt) { in ipfw_nat()
/freebsd/sys/dev/ocs_fc/
H A Docs.h84 struct callout ldt; /* device lost timer */ member
H A Docs_cam.c160 callout_init_mtx(&fcp->ldt, &ocs->sim_lock, 0); in ocs_attach_port()
177 callout_drain(&fcp->ldt); in ocs_detach_port()
1147 callout_reset(&fcp->ldt, hz, ocs_ldt, fcp); in ocs_ldt_task()
1149 callout_deactivate(&fcp->ldt); in ocs_ldt_task()
1210 if (!callout_active(&fcp->ldt)) { in ocs_scsi_del_target()
1211 callout_reset(&fcp->ldt, hz, ocs_ldt, fcp); in ocs_scsi_del_target()
/freebsd/sys/amd64/vmm/amd/
H A Dvmcb.h309 struct vmcb_segment ldt; member
H A Dvmcb.c102 seg = &state->ldt; in vmcb_segptr()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrFormats.td12395 : I<(outs RC:$Rt),(ins RC:$Rs, GPR64sp:$Rn), "ldt" # op # order,