| /freebsd/sys/contrib/zstd/programs/ |
| H A D | datagen.c | 60 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 D | ldt.sh | 45 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 D | linux_machdep.c | 359 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 D | segments.h | 85 extern union descriptor *ldt;
|
| /freebsd/sys/i386/i386/ |
| H A D | db_interface.c | 103 sdp = (plp != NULL) ? &plp->ldt_sd : &ldt[0].sd; in db_segsize()
|
| H A D | machdep.c | 341 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 D | sys_machdep.c | 469 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 D | mp_machdep.c | 301 gdt_segs[GLDT_SEL].ssd_base = (int)ldt; in init_secondary()
|
| /freebsd/sys/amd64/amd64/ |
| H A D | sys_machdep.c | 548 *PCPU_GET(ldt) = mdp->md_ldt_sd; in user_ldt_alloc() 556 struct proc_ldt *ldt; in user_ldt_alloc() 561 ldt = (void *)atomic_load_acq_ptr((uintptr_t *)&orig->p_md.md_ldt); in user_ldt_alloc() 562 if (target->p_md.md_ldt != ldt) in user_ldt_alloc() 531 struct proc_ldt *ldt; set_user_ldt_rv() local
|
| H A D | machdep.c | 566 uint16_t ldt, tr; in DB_SHOW_COMMAND_FLAGS() 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_init2() 557 uint16_t ldt, tr; DB_SHOW_COMMAND_FLAGS() local
|
| /freebsd/sys/netpfil/ipfw/ |
| H A D | ip_fw_nat.c | 297 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 D | ocs.h | 84 struct callout ldt; /* device lost timer */ member
|
| H A D | ocs_cam.c | 160 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 D | vmcb.h | 309 struct vmcb_segment ldt; member
|
| H A D | vmcb.c | 102 seg = &state->ldt; in vmcb_segptr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64InstrFormats.td | 12395 : I<(outs RC:$Rt),(ins RC:$Rs, GPR64sp:$Rn), "ldt" # op # order,
|