| /f-stack/freebsd/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 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() 147 BYTE ldt[LTSIZE]; in RDG_genBuffer() local 148 memset(ldt, '0', sizeof(ldt)); /* yes, character '0', this is intentional */ in RDG_genBuffer() 151 RDG_genBlock(buffer, size, 0, matchProba, ldt, &seed32); in RDG_genBuffer() 162 BYTE ldt[LTSIZE]; /* literals distribution table */ in RDG_genStdout() local 167 memset(ldt, '0', sizeof(ldt)); /* yes, character '0', this is intentional */ in RDG_genStdout() [all …]
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | evict.c | 307 unsigned long LFUTimeElapsed(unsigned long ldt) { in LFUTimeElapsed() argument 309 if (now >= ldt) return now-ldt; in LFUTimeElapsed() 310 return 65535-ldt+now; in LFUTimeElapsed() 336 unsigned long ldt = o->lru >> 8; in LFUDecrAndReturn() local 338 …unsigned long num_periods = server.lfu_decay_time ? LFUTimeElapsed(ldt) / server.lfu_decay_time : … in LFUDecrAndReturn()
|
| /f-stack/freebsd/i386/linux/ |
| H A D | linux_machdep.c | 402 struct i386_ldt_args ldt; in linux_modify_ldt() local 409 ldt.start = 0; in linux_modify_ldt() 410 ldt.descs = uap->ptr; in linux_modify_ldt() 411 ldt.num = uap->bytecount / sizeof(union descriptor); in linux_modify_ldt() 412 error = i386_get_ldt(td, &ldt); in linux_modify_ldt() 432 ldt.start = ld.entry_number; in linux_modify_ldt() 433 ldt.descs = &desc; in linux_modify_ldt() 434 ldt.num = 1; in linux_modify_ldt() 446 error = i386_set_ldt(td, &ldt, &desc); in linux_modify_ldt()
|
| /f-stack/freebsd/i386/include/ |
| H A D | segments.h | 88 extern union descriptor *ldt;
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmx-trax-defs.h | 1203 uint64_t ldt : 1; /**< Enable LDT tracing member 1221 uint64_t ldt : 1; 1262 uint64_t ldt : 1; /**< Enable LDT tracing member 1280 uint64_t ldt : 1; 1413 uint64_t ldt : 1; 2198 uint64_t ldt : 1; 2257 uint64_t ldt : 1; 2390 uint64_t ldt : 1; 3044 uint64_t ldt : 1; 3103 uint64_t ldt : 1; [all …]
|
| H A D | cvmx-sso-defs.h | 686 uint64_t ldt : 1; /**< LDT Setting for RW Loads */ member 696 uint64_t ldt : 1; 723 uint64_t ldt : 1; /**< LDT Setting for RW Loads */ member 733 uint64_t ldt : 1;
|
| /f-stack/freebsd/i386/i386/ |
| H A D | db_interface.c | 105 sdp = (plp != NULL) ? &plp->ldt_sd : &ldt[0].sd; in db_segsize()
|
| H A D | sys_machdep.c | 475 bcopy(ldt, new_ldt->ldt_base, sizeof(union descriptor) * NLDT); in user_ldt_alloc() 549 &ldt[uap->start], data, num * sizeof(union descriptor)); in i386_get_ldt()
|
| H A D | machdep.c | 1259 union descriptor *ldt; /* local descriptor table */ variable 2583 ldt = pmap_trm_alloc(sizeof(union descriptor) * NLDT, in machdep_init_trampoline() 2585 gdt[GLDT_SEL].sd.sd_lobase = (int)ldt; in machdep_init_trampoline() 2586 gdt[GLDT_SEL].sd.sd_hibase = (u_int)ldt >> 24; in machdep_init_trampoline() 2590 ssdtosd(&ldt_segs[x], &ldt[x].sd); in machdep_init_trampoline() 2623 bcopy(&desc, &ldt[LSYS5CALLS_SEL], sizeof(desc)); in i386_setup_lcall_gate()
|
| H A D | mp_machdep.c | 251 gdt_segs[GLDT_SEL].ssd_base = (int)ldt; in init_secondary()
|
| /f-stack/freebsd/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() 419 ldt = 1; in ipfw_nat() 422 if (ldt) { in ipfw_nat()
|
| /f-stack/freebsd/amd64/vmm/amd/ |
| H A D | vmcb.h | 294 struct vmcb_segment ldt; member
|
| H A D | vmcb.c | 103 seg = &state->ldt; in vmcb_segptr()
|
| /f-stack/freebsd/amd64/amd64/ |
| H A D | machdep.c | 873 uint16_t ldt, tr; in DB_SHOW_COMMAND() local 881 __asm __volatile("sldt %0" : "=r" (ldt)); in DB_SHOW_COMMAND() 882 db_printf("ldtr\t0x%04x\n", ldt); in DB_SHOW_COMMAND() 1563 PCPU_SET(ldt, (struct system_segment_descriptor *)&gdt[GUSERLDT_SEL]); in amd64_bsp_pcpu_init1()
|
| H A D | sys_machdep.c | 490 *PCPU_GET(ldt) = mdp->md_ldt_sd; in set_user_ldt()
|