| /freebsd-14.2/tools/regression/ccd/layout/ |
| H A D | ccd0.sh | 16 foo 128k 128k 128k 128k 0 0 17 foo 128k 128k 128k 128k 0 4 18 foo 128k 128k 128k 128k 4 0 19 foo 128k 128k 128k 128k 4 2 20 foo 128k 128k 128k 128k 4 4 22 foo 256k 128k 128k 128k 0 0 23 foo 256k 128k 128k 128k 0 4 24 foo 256k 128k 128k 128k 4 0 25 foo 256k 128k 128k 128k 4 2 26 foo 256k 128k 128k 128k 4 4 [all …]
|
| /freebsd-14.2/sys/libkern/ |
| H A D | jenkins_hash.c | 44 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) argument 248 case 12: c+=k[2]; b+=k[1]; a+=k[0]; break; in jenkins_hash() 249 case 11: c+=k[2]&0xffffff; b+=k[1]; a+=k[0]; break; in jenkins_hash() 250 case 10: c+=k[2]&0xffff; b+=k[1]; a+=k[0]; break; in jenkins_hash() 251 case 9 : c+=k[2]&0xff; b+=k[1]; a+=k[0]; break; in jenkins_hash() 252 case 8 : b+=k[1]; a+=k[0]; break; in jenkins_hash() 401 case 12: c+=k[2]; b+=k[1]; a+=k[0]; break; in jenkins_hash() 402 case 11: c+=k[2]&0xffffff00; b+=k[1]; a+=k[0]; break; in jenkins_hash() 403 case 10: c+=k[2]&0xffff0000; b+=k[1]; a+=k[0]; break; in jenkins_hash() 404 case 9 : c+=k[2]&0xff000000; b+=k[1]; a+=k[0]; break; in jenkins_hash() [all …]
|
| /freebsd-14.2/crypto/openssl/crypto/camellia/ |
| H A D | camellia.c | 305 s0 ^= k[0], s1 ^= k[1], s2 ^= k[2], s3 ^= k[3]; in Camellia_Ekeygen() 312 s0 ^= k[0], s1 ^= k[1], s2 ^= k[2], s3 ^= k[3]; in Camellia_Ekeygen() 318 k[4] = s0, k[5] = s1, k[6] = s2, k[7] = s3; in Camellia_Ekeygen() 332 s0 = k[0], s1 = k[1], s2 = k[2], s3 = k[3]; in Camellia_Ekeygen() 334 k[8] = s0, k[9] = s1, k[10] = s2, k[11] = s3; in Camellia_Ekeygen() 353 k[4] = s0, k[5] = s1, k[6] = s2, k[7] = s3; in Camellia_Ekeygen() 361 s0 = k[8], s1 = k[9], s2 = k[10], s3 = k[11]; in Camellia_Ekeygen() 363 k[8] = s0, k[9] = s1, k[10] = s2, k[11] = s3; in Camellia_Ekeygen() 381 s0 = k[0], s1 = k[1], s2 = k[2], s3 = k[3]; in Camellia_Ekeygen() 441 s2 ^= k[0], s3 ^= k[1], s0 ^= k[2], s1 ^= k[3]; in Camellia_EncryptBlock_Rounds() [all …]
|
| /freebsd-14.2/contrib/unbound/util/storage/ |
| H A D | lookup3.c | 118 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) argument 396 case 12: c+=k[2]; b+=k[1]; a+=k[0]; break; in hashlittle() 399 case 9 : c+=k[2]&0xff; b+=k[1]; a+=k[0]; break; in hashlittle() 416 case 12: c+=k[2]; b+=k[1]; a+=k[0]; break; in hashlittle() 632 case 12: c+=k[2]; b+=k[1]; a+=k[0]; break; in hashlittle2() 635 case 9 : c+=k[2]&0xff; b+=k[1]; a+=k[0]; break; in hashlittle2() 652 case 12: c+=k[2]; b+=k[1]; a+=k[0]; break; in hashlittle2() 861 case 12: c+=k[2]; b+=k[1]; a+=k[0]; break; 881 case 12: c+=k[2]; b+=k[1]; a+=k[0]; break; 1032 for (k=0; k<MAXPAIR; k+=2) in driver2() [all …]
|
| /freebsd-14.2/sys/contrib/dpdk_rte_lpm/ |
| H A D | rte_jhash.h | 39 #define rot(x, k) (((x) << (k)) | ((x) >> (32-(k)))) argument 109 c += k[2]; b += k[1]; a += k[0]; break; in __rte_jhash_2hashes() 111 c += k[2] & LOWER24b_MASK; b += k[1]; a += k[0]; break; in __rte_jhash_2hashes() 113 c += k[2] & LOWER16b_MASK; b += k[1]; a += k[0]; break; in __rte_jhash_2hashes() 115 c += k[2] & LOWER8b_MASK; b += k[1]; a += k[0]; break; in __rte_jhash_2hashes() 117 b += k[1]; a += k[0]; break; in __rte_jhash_2hashes() 141 a += BIT_SHIFT(k[0], k[1], s); in __rte_jhash_2hashes() 142 b += BIT_SHIFT(k[1], k[2], s); in __rte_jhash_2hashes() 143 c += BIT_SHIFT(k[2], k[3], s); in __rte_jhash_2hashes() 153 a += BIT_SHIFT(k[0], k[1], s); in __rte_jhash_2hashes() [all …]
|
| /freebsd-14.2/bin/ps/ |
| H A D | print.c | 125 k->ki_d.prefix ? k->ki_d.prefix : "", in command() 142 if (k->ki_env) { in command() 152 k->ki_d.prefix ? k->ki_d.prefix : "", in command() 178 k->ki_d.prefix ? k->ki_d.prefix : "", in ucomm() 186 k->ki_p->ki_tdname, k->ki_p->ki_moretdname); in ucomm() 282 if ((flag & P_CONTROLT) && k->ki_p->ki_pgid == k->ki_p->ki_tpgid) in state() 397 if (!k->ki_valid) in started() 422 if (!k->ki_valid) in lstarted() 556 if (k->ki_p->ki_stat == SRUN && k->ki_p->ki_oncpu != NOCPU) { in cpunum() 599 if (!k->ki_valid) in elapsed() [all …]
|
| /freebsd-14.2/lib/libc/string/ |
| H A D | memmem.c | 32 for (h += 2, k -= 2; k; k--, hw = hw << 8 | *h++) in twobyte_memmem() 43 for (h += 3, k -= 3; k; k--, hw = (hw | *h++) << 8) in threebyte_memmem() 54 for (h += 4, k -= 4; k; k--, hw = hw << 8 | *h++) in fourbyte_memmem() 92 if (n[ip + k] == n[jp + k]) { in twoway_memmem() 97 k++; in twoway_memmem() 98 } else if (n[ip + k] > n[jp + k]) { in twoway_memmem() 115 if (n[ip + k] == n[jp + k]) { in twoway_memmem() 120 k++; in twoway_memmem() 121 } else if (n[ip + k] < n[jp + k]) { in twoway_memmem() 166 for (k = MAX(ms + 1, mem); k < l && n[k] == h[k]; k++) in twoway_memmem() [all …]
|
| H A D | strstr.c | 91 if (n[ip + k] == n[jp + k]) { in twoway_strstr() 94 k = 1; in twoway_strstr() 96 k++; in twoway_strstr() 97 } else if (n[ip + k] > n[jp + k]) { in twoway_strstr() 99 k = 1; in twoway_strstr() 114 if (n[ip + k] == n[jp + k]) { in twoway_strstr() 119 k++; in twoway_strstr() 120 } else if (n[ip + k] < n[jp + k]) { in twoway_strstr() 122 k = 1; in twoway_strstr() 177 for (k = MAX(ms + 1, mem); n[k] && n[k] == h[k]; k++) in twoway_strstr() [all …]
|
| /freebsd-14.2/crypto/openssh/openbsd-compat/ |
| H A D | memmem.c | 41 for (h+=2, k-=2; k; k--, hw = hw<<8 | *h++) in twobyte_memmem() 51 for (h+=3, k-=3; k; k--, hw = (hw|*h++)<<8) in threebyte_memmem() 61 for (h+=4, k-=4; k; k--, hw = hw<<8 | *h++) in fourbyte_memmem() 94 if (n[ip+k] == n[jp+k]) { in twoway_memmem() 99 } else if (n[ip+k] > n[jp+k]) { in twoway_memmem() 101 k = 1; in twoway_memmem() 114 if (n[ip+k] == n[jp+k]) { in twoway_memmem() 119 } else if (n[ip+k] < n[jp+k]) { in twoway_memmem() 147 if (k < mem) k = mem; in twoway_memmem() 159 for (k=MAX(ms+1,mem); k<l && n[k] == h[k]; k++); in twoway_memmem() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/module/icp/asm-x86_64/aes/ |
| H A D | aeskey.c | 123 { kef6(k, i); \ 165 { kef8(k, i); \ 278 k[v(40, (4 * (i)) + 4)] = ss[4] ^= k[v(40, (4 * (i)))]; \ 279 k[v(40, (4 * (i)) + 5)] = ss[4] ^= k[v(40, (4 * (i)) + 1)]; \ 280 k[v(40, (4 * (i)) + 6)] = ss[4] ^= k[v(40, (4 * (i)) + 2)]; \ 281 k[v(40, (4 * (i)) + 7)] = ss[4] ^= k[v(40, (4 * (i)) + 3)]; \ 307 k[v(40, (4 * (i)) + 4)] = ss[4] ^= k[v(40, (4 * (i)))]; \ 367 { k6ef(k, i); \ 385 k[v(48, (6 * (i)) + 6)] = ss[6] ^= k[v(48, (6 * (i)))]; \ 454 { k8ef(k, i); \ [all …]
|
| /freebsd-14.2/crypto/openssl/crypto/chacha/asm/ |
| H A D | chacha-ia64.pl | 59 { .mlx; ld4 @k[5]=[@k[11]],8 63 { .mlx; ld4 @k[7]=[@k[11]],8 66 ld4 @k[9]=[@k[11]],8 69 ld4 @k[11]=[@k[11]] 72 ld4 @k[13]=[@k[15]],8 75 ld4 @k[15]=[@k[15]] 78 mov @x[4]=@k[4] 216 { .mmi; add @k[12]=1,@k[12] // next counter 243 (p1) mov @x[$k-1]=@k[$k-1] };; 275 mov @k[5]=0 [all …]
|
| /freebsd-14.2/sys/net/ |
| H A D | bpf_filter.c | 100 k -= len; in m_xword() 149 k -= len; in m_xhalf() 209 k = pc->k; in bpf_filter() 233 k = pc->k; in bpf_filter() 250 k = pc->k; in bpf_filter() 277 k = X + pc->k; in bpf_filter() 278 if (pc->k > buflen || X > buflen - pc->k || in bpf_filter() 302 k = X + pc->k; in bpf_filter() 322 k = X + pc->k; in bpf_filter() 323 if (pc->k >= buflen || X >= buflen - pc->k) { in bpf_filter() [all …]
|
| /freebsd-14.2/contrib/bearssl/src/ec/ |
| H A D | ec_c25519_m64.c | 152 k = _addcarry_u64(k, t1, 0, &d[1]); in f255_add() 153 k = _addcarry_u64(k, t2, 0, &d[2]); in f255_add() 228 k = _subborrow_u64(k, t1, 0, &t1); in f255_sub() 229 k = _subborrow_u64(k, t2, 0, &t2); in f255_sub() 230 k = _subborrow_u64(k, t3, 0, &t3); in f255_sub() 242 k = _addcarry_u64(k, t1, 0, &d[1]); in f255_sub() 243 k = _addcarry_u64(k, t2, 0, &d[2]); in f255_sub() 473 k = _addcarry_u64(k, t1, 0, &t1); in f255_mul() 474 k = _addcarry_u64(k, t2, 0, &t2); in f255_mul() 475 k = _addcarry_u64(k, t3, 0, &t3); in f255_mul() [all …]
|
| /freebsd-14.2/sbin/ipf/ipf/ |
| H A D | bpf_filter.c | 220 k = pc->k; in bpf_filter() 233 k = pc->k; in bpf_filter() 246 k = pc->k; in bpf_filter() 255 A = p[k]; in bpf_filter() 267 k = X + pc->k; in bpf_filter() 280 k = X + pc->k; in bpf_filter() 293 k = X + pc->k; in bpf_filter() 302 A = p[k]; in bpf_filter() 306 k = pc->k; in bpf_filter() 319 A = pc->k; in bpf_filter() [all …]
|
| /freebsd-14.2/contrib/libpcap/ |
| H A D | bpf_filter.c | 120 k = pc->k; in pcapint_filter_with_aux_data() 121 if (k > buflen || sizeof(int32_t) > buflen - k) { in pcapint_filter_with_aux_data() 128 k = pc->k; in pcapint_filter_with_aux_data() 129 if (k > buflen || sizeof(int16_t) > buflen - k) { in pcapint_filter_with_aux_data() 159 k = pc->k; in pcapint_filter_with_aux_data() 178 k = X + pc->k; in pcapint_filter_with_aux_data() 179 if (pc->k > buflen || X > buflen - pc->k || in pcapint_filter_with_aux_data() 187 k = X + pc->k; in pcapint_filter_with_aux_data() 196 k = X + pc->k; in pcapint_filter_with_aux_data() 197 if (pc->k >= buflen || X >= buflen - pc->k) { in pcapint_filter_with_aux_data() [all …]
|
| /freebsd-14.2/sys/dev/rtwn/ |
| H A D | if_rtwn_cam.c | 116 if (&vap->iv_nw_keys[0] <= k && in rtwn_key_alloc() 191 keyid = k->wk_keyix; in rtwn_key_set_cb0() 198 if (k->wk_keylen < 8) in rtwn_key_set_cb0() 218 k->wk_cipher->ic_cipher, algo, k->wk_flags, k->wk_keylen, in rtwn_key_set_cb0() 235 le32dec(&k->wk_macaddr[2])); in rtwn_key_set_cb0() 258 (void) rtwn_key_set_cb0(sc, k); in rtwn_key_set_cb() 271 if (k != NULL) { in rtwn_init_static_keys() 289 k->wk_keyix, k->wk_flags, ether_sprintf(k->wk_macaddr)); in rtwn_key_del_cb() 311 if (&vap->iv_nw_keys[0] <= k && in rtwn_process_key() 317 rvp->keys[k->wk_keyix] = (set ? k : NULL); in rtwn_process_key() [all …]
|
| /freebsd-14.2/usr.sbin/sa/tests/ |
| H A D | v1-i386-u.out | 1 0 0.000 cpu 264k mem 0 io accton 2 0 0.453 cpu 41k mem 0 io awk 3 0 0.000 cpu 0k mem 0 io time 4 0 4.984 cpu 41k mem 28 io egrep 5 0 0.000 cpu 140k mem 0 io time 7 0 0.000 cpu 0k mem 0 io time 9 0 0.000 cpu 0k mem 0 io time 10 0 0.016 cpu 25k mem 16 io dd 14 0 0.000 cpu 0k mem 0 io ln 17 0 0.000 cpu 0k mem 0 io ln [all …]
|
| H A D | v1-amd64-u.out | 1 0 0.000 cpu 0k mem 0 io accton 2 0 0.172 cpu 41k mem 0 io awk 3 0 0.000 cpu 140k mem 0 io time 4 0 3.031 cpu 45k mem 1 io egrep 5 0 0.000 cpu 0k mem 0 io time 7 0 0.000 cpu 0k mem 0 io time 8 0 0.000 cpu 0k mem 0 io sleep 10 0 0.016 cpu 31k mem 16 io dd 14 0 0.000 cpu 0k mem 0 io ln 17 0 0.000 cpu 0k mem 0 io ln [all …]
|
| H A D | v2-amd64-u.out | 1 0 0.002 cpu 68k mem 0 io accton 2 0 0.163 cpu 35k mem 0 io awk 3 0 0.003 cpu 0k mem 0 io time 4 0 3.247 cpu 29k mem 26 io egrep 5 0 0.003 cpu 93k mem 0 io time 7 0 0.003 cpu 0k mem 0 io time 8 0 0.002 cpu 0k mem 0 io sleep 10 0 0.076 cpu 18k mem 16 io dd 14 0 0.003 cpu 0k mem 0 io ln 17 0 0.002 cpu 0k mem 0 io ln [all …]
|
| H A D | v2-i386-u.out | 1 0 0.001 cpu 0k mem 0 io accton 2 0 0.448 cpu 112k mem 0 io awk 3 0 0.001 cpu 0k mem 0 io time 4 0 6.680 cpu 110k mem 0 io egrep 5 0 0.001 cpu 0k mem 0 io time 7 0 0.001 cpu 0k mem 0 io time 8 0 0.001 cpu 0k mem 0 io sleep 9 0 0.001 cpu 0k mem 0 io time 14 0 0.001 cpu 0k mem 0 io ln 17 0 0.001 cpu 0k mem 0 io ln [all …]
|
| /freebsd-14.2/contrib/ofed/opensm/opensm/ |
| H A D | osm_torus.c | 844 for (k = 0; k < t->z_sz; k++) in parse_torus() 887 for (k = 0; k < i; k++) in parse_port_order() 1291 for (k = 0; k < f->link_cnt; k++) { in diagnose_fabric() 1308 for (k = 0; k < f->switch_cnt; k++) in diagnose_fabric() 1394 (*sw)->k = k; in install_tswitch() 7370 for (k = 0; k < (int)t->z_sz; k++) in build_torus() 7381 for (k = 0; k < (int)t->z_sz; k++) in build_torus() 7522 for (k = 0; k < z_sz; k++) in dump_torus() 7575 for (k = 0; k < z_sz; k++) in report_torus_changes() 7680 for (k = 0; k < (int)t->z_sz; k++) in routable_torus() [all …]
|
| /freebsd-14.2/crypto/openssh/regress/ |
| H A D | hostkey-agent.sh | 21 for k in $SSH_KEYTYPES ; do 22 ${SSHKEYGEN} -qt $k -f $OBJ/agent-key.$k -N '' || fatal "ssh-keygen $k" 25 fatal "sign $k" 29 rm $OBJ/agent-key.$k || fatal "couldn't rm $OBJ/agent-key.$k" 35 for k in $SSH_KEYTYPES ; do 36 verbose "key type $k" 45 fail "keytype $k failed" 61 for k in $SSH_KEYTYPES ; do 64 test -f $OBJ/agent-key.${k}.pub || fatal "no $k key" 65 test -f $OBJ/agent-key.${k}-cert.pub || fatal "no $k cert" [all …]
|
| /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/ |
| H A D | jhash.h | 49 const u8 *k = key; in jhash() local 56 a += (k[0] +((u32)k[1]<<8) +((u32)k[2]<<16) +((u32)k[3]<<24)); in jhash() 57 b += (k[4] +((u32)k[5]<<8) +((u32)k[6]<<16) +((u32)k[7]<<24)); in jhash() 58 c += (k[8] +((u32)k[9]<<8) +((u32)k[10]<<16)+((u32)k[11]<<24)); in jhash() 62 k += 12; in jhash() 74 case 5 : b += k[4]; in jhash() 78 case 1 : a += k[0]; in jhash() 98 a += k[0]; in jhash2() 99 b += k[1]; in jhash2() 100 c += k[2]; in jhash2() [all …]
|
| /freebsd-14.2/sys/dev/cxgb/common/ |
| H A D | jhash.h | 42 const u8 *k = key; in jhash() local 49 a += (k[0] +((u32)k[1]<<8) +((u32)k[2]<<16) +((u32)k[3]<<24)); in jhash() 50 b += (k[4] +((u32)k[5]<<8) +((u32)k[6]<<16) +((u32)k[7]<<24)); in jhash() 51 c += (k[8] +((u32)k[9]<<8) +((u32)k[10]<<16)+((u32)k[11]<<24)); in jhash() 55 k += 12; in jhash() 67 case 5 : b += k[4]; in jhash() 71 case 1 : a += k[0]; in jhash() 91 a += k[0]; in jhash2() 92 b += k[1]; in jhash2() 93 c += k[2]; in jhash2() [all …]
|
| /freebsd-14.2/contrib/ldns/ |
| H A D | keys.c | 114 ldns_key *k; in ldns_key_new_frm_engine() local 130 *key = k; in ldns_key_new_frm_engine() 1105 if (!k) { in ldns_key_new_frm_algorithm() 1319 return k; in ldns_key_new_frm_algorithm() 1471 if (k) { in ldns_key_set_use() 1479 if (k) { in ldns_key_use() 1513 (void)k; in ldns_key_dsa_key() 1660 if (!k) { in ldns_key_rsa2bin() 1664 n = k->n; in ldns_key_rsa2bin() 1709 p = k->p; q = k->q; g = k->g; in ldns_key_dsa2bin() [all …]
|