/freebsd/contrib/lua/src/ |
H A D | ltests.c | 50 static int runC (lua_State *L, lua_State *L1, const char *pc); 439 static void checkstack (global_State *g, lua_State *L1) { in checkstack() argument 443 assert(!isdead(g, L1)); in checkstack() 444 if (L1->stack.p == NULL) { /* incomplete thread? */ in checkstack() 445 assert(L1->openupval == NULL && L1->ci == NULL); in checkstack() 448 for (uv = L1->openupval; uv != NULL; uv = uv->u.open.next) in checkstack() 450 assert(L1->top.p <= L1->stack_last.p); in checkstack() 451 assert(L1->tbclist.p <= L1->top.p); in checkstack() 452 for (ci = L1->ci; ci != NULL; ci = ci->previous) { in checkstack() 453 assert(ci->top.p <= L1->stack_last.p); in checkstack() [all …]
|
H A D | ldblib.c | 31 ** If L1 != L, L1 can be in any state, and therefore there are no 32 ** guarantees about its stack space; any push in L1 must be 35 static void checkstack (lua_State *L, lua_State *L1, int n) { in checkstack() argument 36 if (l_unlikely(L != L1 && !lua_checkstack(L1, n))) in checkstack() 134 static void treatstackoption (lua_State *L, lua_State *L1, const char *fname) { in treatstackoption() argument 135 if (L == L1) in treatstackoption() 138 lua_xmove(L1, L, 1); /* move object to the "main" stack */ in treatstackoption() 145 ** L1 needs stack space for an optional input (function) plus 152 lua_State *L1 = getthread(L, &arg); in db_getinfo() local 154 checkstack(L, L1, 3); in db_getinfo() [all …]
|
H A D | lstate.c | 180 static void stack_init (lua_State *L1, lua_State *L) { in stack_init() argument 183 L1->stack.p = luaM_newvector(L, BASIC_STACK_SIZE + EXTRA_STACK, StackValue); in stack_init() 184 L1->tbclist.p = L1->stack.p; in stack_init() 186 setnilvalue(s2v(L1->stack.p + i)); /* erase new stack */ in stack_init() 187 L1->top.p = L1->stack.p; in stack_init() 188 L1->stack_last.p = L1->stack.p + BASIC_STACK_SIZE; in stack_init() 190 ci = &L1->base_ci; in stack_init() 193 ci->func.p = L1->top.p; in stack_init() 196 setnilvalue(s2v(L1->top.p)); /* 'function' entry for this 'ci' */ in stack_init() 197 L1->top.p++; in stack_init() [all …]
|
/freebsd/sys/contrib/libsodium/test/default/ |
H A D | metamorphic.c | 18 size_t l1, l2; in mm_generichash() local 38 l1 = randombytes_uniform((uint32_t) mlen); in mm_generichash() 39 l2 = randombytes_uniform((uint32_t) (mlen - l1)); in mm_generichash() 40 crypto_generichash_update(&st, m, l1); in mm_generichash() 41 crypto_generichash_update(&st, m + l1, l2); in mm_generichash() 42 crypto_generichash_update(&st, m + l1 + l2, mlen - l1 - l2); in mm_generichash() 64 size_t l1, l2; in mm_onetimeauth() local 78 l1 = randombytes_uniform((uint32_t) mlen); in mm_onetimeauth() 79 l2 = randombytes_uniform((uint32_t) (mlen - l1)); in mm_onetimeauth() 80 crypto_onetimeauth_update(&st, m, l1); in mm_onetimeauth() [all …]
|
/freebsd/contrib/sendmail/libsm/ |
H A D | strcaseeq.c | 35 char *l1, *l2; local 47 l1 = sm_lowercase(s1); 48 if (l1 != s1) 50 f1 = sm_strdup_x(l1); 51 l1 = f1; 57 while (*l1 == *l2 && '\0' != *l1) 58 l1++, l2++; 59 same = *l1 == *l2; 83 char *l1, *l2; local 97 l1 = sm_lowercase(s1); [all …]
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lstate.c | 129 static void stack_init (lua_State *L1, lua_State *L) { in stack_init() argument 132 L1->stack = luaM_newvector(L, BASIC_STACK_SIZE, TValue); in stack_init() 133 L1->stacksize = BASIC_STACK_SIZE; in stack_init() 135 setnilvalue(L1->stack + i); /* erase new stack */ in stack_init() 136 L1->top = L1->stack; in stack_init() 137 L1->stack_last = L1->stack + L1->stacksize - EXTRA_STACK; in stack_init() 139 ci = &L1->base_ci; in stack_init() 142 ci->func = L1->top; in stack_init() 143 setnilvalue(L1->top++); /* 'function' entry for this 'ci' */ in stack_init() 144 ci->top = L1->top + LUA_MINSTACK; in stack_init() [all …]
|
/freebsd/contrib/atf/atf-c/detail/ |
H A D | list_test.c | 180 atf_list_t l1, l2; in ATF_TC_BODY() local 182 RE(atf_list_init(&l1)); in ATF_TC_BODY() 185 atf_list_append_list(&l1, &l2); in ATF_TC_BODY() 186 ATF_CHECK_EQ(atf_list_size(&l1), 0); in ATF_TC_BODY() 188 atf_list_fini(&l1); in ATF_TC_BODY() 192 atf_list_t l1, l2; in ATF_TC_BODY() local 195 RE(atf_list_init(&l1)); in ATF_TC_BODY() 196 RE(atf_list_append(&l1, &item, false)); in ATF_TC_BODY() 199 atf_list_append_list(&l1, &l2); in ATF_TC_BODY() 200 ATF_CHECK_EQ(atf_list_size(&l1), 1); in ATF_TC_BODY() [all …]
|
/freebsd/sys/arm64/iommu/ |
H A D | iommu_pmap.c | 113 pd_entry_t *l1; in smmu_pmap_l0_to_l1() local 115 l1 = (pd_entry_t *)PHYS_TO_DMAP(smmu_pmap_load(l0) & ~ATTR_MASK); in smmu_pmap_l0_to_l1() 116 return (&l1[smmu_l1_index(va)]); in smmu_pmap_l0_to_l1() 134 pd_entry_t l1, *l2p; in smmu_pmap_l1_to_l2() local 136 l1 = smmu_pmap_load(l1p); in smmu_pmap_l1_to_l2() 142 KASSERT(va >= VM_MAX_USER_ADDRESS || (l1 & ATTR_DESCR_VALID) != 0, in smmu_pmap_l1_to_l2() 143 ("%s: L1 entry %#lx for %#lx is invalid", __func__, l1, va)); in smmu_pmap_l1_to_l2() 144 KASSERT((l1 & ATTR_DESCR_TYPE_MASK) == ATTR_DESCR_TYPE_TABLE, in smmu_pmap_l1_to_l2() 145 ("%s: L1 entry %#lx for %#lx is a leaf", __func__, l1, va)); in smmu_pmap_l1_to_l2() 146 l2p = (pd_entry_t *)PHYS_TO_DMAP(l1 & ~ATTR_MASK); in smmu_pmap_l1_to_l2() [all …]
|
/freebsd/crypto/openssl/crypto/ec/curve448/ |
H A D | f_generic.c | 174 gf L0, L1, L2; in gf_isr() local 176 gf_sqr(L1, x); in gf_isr() 177 gf_mul(L2, x, L1); in gf_isr() 178 gf_sqr(L1, L2); in gf_isr() 179 gf_mul(L2, x, L1); in gf_isr() 180 gf_sqrn(L1, L2, 3); in gf_isr() 181 gf_mul(L0, L2, L1); in gf_isr() 182 gf_sqrn(L1, L0, 3); in gf_isr() 183 gf_mul(L0, L2, L1); in gf_isr() 185 gf_mul(L1, L0, L2); in gf_isr() [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/arm64/arm/cortex-a76-n1/ |
H A D | cache.json | 7 …"PublicDescription": "This event counts any refill of the instruction L1 TLB from the L2 TLB. This… 11 …ess which causes data to be read from outside the L1, including accesses which do not allocate int… 15 …ny load or store operation or page table walk access which looks up in the L1 data cache. In parti… 19 …"PublicDescription": "This event counts any refill of the data L1 TLB from the L2 TLB. This includ… 23 …p cache access. This event counts any instruction fetch which accesses the L1 instruction cache or… 27 …"PublicDescription": "This event counts any write-back of data from the L1 data cache to L2 or L3.… 31 …n": "This event counts any transaction from L1 which looks up in the L2 cache, and any write-back … 35 …": "L2 data cache refill. This event counts any cacheable transaction from L1 which causes data to… 39 …ch do not write data outside of the core and snoops which return data from the L1 are not counted", 43 …t cause a linefill, including write-backs from L1 to L2 and full-line writes which do not allocate… [all …]
|
/freebsd/crypto/openssl/crypto/rc2/ |
H A D | rc2_local.h | 18 #define c2ln(c,l1,l2,n) { \ argument 20 l1=l2=0; \ 30 case 4: l1 =((unsigned long)(*(--(c))))<<24L; \ 32 case 3: l1|=((unsigned long)(*(--(c))))<<16L; \ 34 case 2: l1|=((unsigned long)(*(--(c))))<< 8L; \ 36 case 1: l1|=((unsigned long)(*(--(c)))); \ 48 #define l2cn(l1,l2,c,n) { \ argument 59 case 4: *(--(c))=(unsigned char)(((l1)>>24L)&0xff); \ 61 case 3: *(--(c))=(unsigned char)(((l1)>>16L)&0xff); \ 63 case 2: *(--(c))=(unsigned char)(((l1)>> 8L)&0xff); \ [all …]
|
/freebsd/tools/regression/ccd/layout/ |
H A D | ccd.sh | 38 if ($1 != l1) { 39 if (l1 != "") { 40 if (l1 == "md90") printf "" 41 if (l1 == "md91") printf " " 42 if (l1 == "md92") printf " " 43 if (l1 == "md93") printf " " 46 l1 = $1 54 if (l1 == "md90") printf "" 55 if (l1 == "md91") printf " " 56 if (l1 == "md92") printf " " [all …]
|
/freebsd/crypto/openssl/crypto/rc5/ |
H A D | rc5_local.h | 20 #define c2ln(c,l1,l2,n) { \ argument 22 l1=l2=0; \ 32 case 4: l1 =((unsigned long)(*(--(c))))<<24L; \ 34 case 3: l1|=((unsigned long)(*(--(c))))<<16L; \ 36 case 2: l1|=((unsigned long)(*(--(c))))<< 8L; \ 38 case 1: l1|=((unsigned long)(*(--(c)))); \ 50 #define l2cn(l1,l2,c,n) { \ argument 61 case 4: *(--(c))=(unsigned char)(((l1)>>24L)&0xff); \ 63 case 3: *(--(c))=(unsigned char)(((l1)>>16L)&0xff); \ 65 case 2: *(--(c))=(unsigned char)(((l1)>> 8L)&0xff); \ [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/amdzen3/ |
H A D | recommended.json | 12 "BriefDescription": "All L1 Data Cache Accesses", 24 "BriefDescription": "L2 Cache Accesses from L1 Instruction Cache Misses (including prefetch)", 30 "BriefDescription": "L2 Cache Accesses from L1 Data Cache Misses (including prefetch)", 48 "BriefDescription": "L2 Cache Misses from L1 Instruction Cache Misses", 54 "BriefDescription": "L2 Cache Misses from L1 Data Cache Misses", 72 "BriefDescription": "L2 Cache Hits from L1 Instruction Cache Misses", 78 "BriefDescription": "L2 Cache Hits from L1 Data Cache Misses", 124 "BriefDescription": "L1 Data Cache Fills: From Memory", 130 "BriefDescription": "L1 Data Cache Fills: From Remote Node", 136 "BriefDescription": "L1 Data Cache Fills: From within same CCX", [all …]
|
H A D | branch.json | 5 "BriefDescription": "L1 Branch Prediction Overrides Existing Prediction (speculative)." 27 "BriefDescription": "The number of instruction fetches that hit in the L1 ITLB.", 33 …"BriefDescription": "The number of instruction fetches that hit in the L1 ITLB. L1 Instruction TLB… 39 …"BriefDescription": "The number of instruction fetches that hit in the L1 ITLB. L1 Instruction TLB… 45 …"BriefDescription": "The number of instruction fetches that hit in the L1 ITLB. L1 Instrcution TLB…
|
/freebsd/crypto/openssl/crypto/cast/ |
H A D | cast_local.h | 22 #define c2ln(c,l1,l2,n) { \ argument 24 l1=l2=0; \ 30 case 4: l1 =((unsigned long)(*(--(c))))<<24L; \ 31 case 3: l1|=((unsigned long)(*(--(c))))<<16L; \ 32 case 2: l1|=((unsigned long)(*(--(c))))<< 8L; \ 33 case 1: l1|=((unsigned long)(*(--(c)))); \ 45 #define l2cn(l1,l2,c,n) { \ argument 52 case 4: *(--(c))=(unsigned char)(((l1)>>24L)&0xff); \ 53 case 3: *(--(c))=(unsigned char)(((l1)>>16L)&0xff); \ 54 case 2: *(--(c))=(unsigned char)(((l1)>> 8L)&0xff); \ [all …]
|
/freebsd/crypto/openssl/test/testutil/ |
H A D | format_output.c | 42 const char *op, const char *m1, size_t l1, in test_fail_string_common() argument 54 l1 = 0; in test_fail_string_common() 57 if (l1 == 0 && l2 == 0) { in test_fail_string_common() 68 if (l1 != l2 || strncmp(m1, m2, l1) != 0) in test_fail_string_common() 71 while (l1 > 0 || l2 > 0) { in test_fail_string_common() 73 if (l1 > 0) { in test_fail_string_common() 74 b1[n1 = l1 > width ? width : l1] = 0; in test_fail_string_common() 115 l1 -= n1; in test_fail_string_common() 131 const char *op, const char *m1, size_t l1, in test_fail_string_message() argument 135 m1, l1, m2, l2); in test_fail_string_message() [all …]
|
/freebsd/sys/contrib/openzfs/lib/libspl/ |
H A D | strlcat.c | 43 size_t l1; in strlcat() local 49 l1 = df - dst; in strlcat() 50 if (dstsize == l1) in strlcat() 51 return (l1 + l2); in strlcat() 53 copied = l1 + l2 >= dstsize ? dstsize - l1 - 1 : l2; in strlcat() 54 (void) memcpy(dst + l1, src, copied); in strlcat() 55 dst[l1+copied] = '\0'; in strlcat() 57 return (l1 + l2); in strlcat()
|
/freebsd/contrib/libarchive/tar/test/ |
H A D | test_strip_components.c | 17 assertMakeHardlink("l1", "d1/d2/f1"); in DEFINE_TEST() 29 assertEqualInt(0, systemf("%s -cf test.tar d0/l1 d0/s1 d0/d1", in DEFINE_TEST() 32 assertEqualInt(0, systemf("%s -cf test.tar d0/l1 d0/d1", in DEFINE_TEST() 58 * This next is a complicated case. d0/l1, d0/d1/l2, and in DEFINE_TEST() 59 * d0/d1/d2/f1 are all hardlinks to the same file; d0/l1 can't in DEFINE_TEST() 64 * which these three names get archived. If d0/l1 is first, in DEFINE_TEST() 68 * lists d0/l1 before d0/d1. in DEFINE_TEST() 78 failure("d0/l1 is too short and should not get restored"); in DEFINE_TEST() 79 assertFileNotExists("target/l1"); in DEFINE_TEST() 90 "d0/l1 d0/s1 d0/d1", testprog)); in DEFINE_TEST() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/regulator/ |
H A D | qcom,smd-rpm-regulator.yaml | 27 For pm2250, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, 30 For pm6125 s1, s2, s3, s4, s5, s6, s7, s8, l1, l2, l3, l5, l6, l7, l8, l9, 33 For pm660, s1, s2, s3, s4, s5, s6, l1, l2, l3, l5, l6, l7, l8, l9, l10, l22, 36 For pm660l s1, s2, s3, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, bob 38 For pm8226, s1, s2, s3, s4, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, 44 For pm8909, s1, s2, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, 47 For pm8916, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, 50 For pm8937, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, 53 For pm8941, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, 57 For pm8950 and pm8953, s1, s2, s3, s4, s5, s6, s7, l1, l [all...] |
/freebsd/lib/libpmc/pmu-events/arch/x86/amdzen1/ |
H A D | recommended.json | 12 "BriefDescription": "All L1 Data Cache Accesses", 24 "BriefDescription": "L2 Cache Accesses from L1 Instruction Cache Misses (including prefetch)", 30 "BriefDescription": "L2 Cache Accesses from L1 Data Cache Misses (including prefetch)", 48 "BriefDescription": "L2 Cache Misses from L1 Instruction Cache Misses", 54 "BriefDescription": "L2 Cache Misses from L1 Data Cache Misses", 72 "BriefDescription": "L2 Cache Hits from L1 Instruction Cache Misses", 78 "BriefDescription": "L2 Cache Hits from L1 Data Cache Misses", 110 "BriefDescription": "L1 Instruction Cache (32B) Fetch Miss Ratio", 117 "BriefDescription": "L1 ITLB Misses", 130 "BriefDescription": "L1 DTLB Misses",
|
/freebsd/lib/libpmc/pmu-events/arch/x86/amdzen2/ |
H A D | recommended.json | 12 "BriefDescription": "All L1 Data Cache Accesses", 24 "BriefDescription": "L2 Cache Accesses from L1 Instruction Cache Misses (including prefetch)", 30 "BriefDescription": "L2 Cache Accesses from L1 Data Cache Misses (including prefetch)", 48 "BriefDescription": "L2 Cache Misses from L1 Instruction Cache Misses", 54 "BriefDescription": "L2 Cache Misses from L1 Data Cache Misses", 72 "BriefDescription": "L2 Cache Hits from L1 Instruction Cache Misses", 78 "BriefDescription": "L2 Cache Hits from L1 Data Cache Misses", 110 "BriefDescription": "L1 Instruction Cache (32B) Fetch Miss Ratio", 117 "BriefDescription": "L1 ITLB Misses", 130 "BriefDescription": "L1 DTLB Misses",
|
/freebsd/crypto/openssl/crypto/bf/ |
H A D | bf_local.h | 15 # define n2ln(c,l1,l2,n) { \ argument 17 l1=l2=0; \ 27 case 4: l1 =((unsigned long)(*(--(c)))) ; \ 29 case 3: l1|=((unsigned long)(*(--(c))))<< 8; \ 31 case 2: l1|=((unsigned long)(*(--(c))))<<16; \ 33 case 1: l1|=((unsigned long)(*(--(c))))<<24; \ 38 # define l2nn(l1,l2,c,n) { \ argument 49 case 4: *(--(c))=(unsigned char)(((l1) )&0xff); \ 51 case 3: *(--(c))=(unsigned char)(((l1)>> 8)&0xff); \ 53 case 2: *(--(c))=(unsigned char)(((l1)>>16)&0xff); \ [all …]
|
/freebsd/crypto/openssl/crypto/idea/ |
H A D | idea_local.h | 21 #define n2ln(c,l1,l2,n) { \ argument 23 l1=l2=0; \ 33 case 4: l1 =((unsigned long)(*(--(c)))) ; \ 35 case 3: l1|=((unsigned long)(*(--(c))))<< 8; \ 37 case 2: l1|=((unsigned long)(*(--(c))))<<16; \ 39 case 1: l1|=((unsigned long)(*(--(c))))<<24; \ 44 #define l2nn(l1,l2,c,n) { \ argument 55 case 4: *(--(c))=(unsigned char)(((l1) )&0xff); \ 57 case 3: *(--(c))=(unsigned char)(((l1)>> 8)&0xff); \ 59 case 2: *(--(c))=(unsigned char)(((l1)>>16)&0xff); \ [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/icelakex/ |
H A D | memory.json | 155 …ounts demand instruction fetches and L1 instruction cache prefetches that were not supplied by the… 166 …ounts demand instruction fetches and L1 instruction cache prefetches that were not supplied by the… 177 …on": "Counts demand data reads that were not supplied by the local socket's L1, L2, or L3 caches.", 188 …n": "Counts demand data reads that were not supplied by the local socket's L1, L2, or L3 caches an… 199 …xclusive ownership (PREFETCHW) that were not supplied by the local socket's L1, L2, or L3 caches.", 210 …clusive ownership (PREFETCHW) that were not supplied by the local socket's L1, L2, or L3 caches an… 221 …tion": "Counts L1 data cache prefetch requests and software prefetches (except PREFETCHW) that wer… 232 …tion": "Counts L1 data cache prefetch requests and software prefetches (except PREFETCHW) that wer… 243 … "Counts hardware prefetches to the L3 only that missed the local socket's L1, L2, and L3 caches.", 254 …are prefetches to the L3 only that were not supplied by the local socket's L1, L2, or L3 caches an… [all …]
|