Home
last modified time | relevance | path

Searched full:k (Results 1 – 25 of 4267) sorted by relevance

12345678910>>...171

/freebsd/share/doc/papers/sysperf/
H A Dappendix.ms44 'ds +K
45 'ds -K
50 'ds +K \f3
51 'ds -K \fP
133 \h'|11n'\*(+Kchar\*(-K \fI*\fPargv[];
134 \*(+K{\*(-K
135 \h'|11n'\*(+Kregister\*(-K \*(+Kint\*(-K ncalls;
137 \h'|11n'\*(+Kif\*(-K (argc < 2) \*(+K{\*(-K
140 \h'|11n'\*(+K}\*(-K
142 \h'|11n'\*(+Kwhile\*(-K (ncalls\*-\*- > 0)
[all …]
/freebsd/tools/regression/ccd/layout/
H A Dccd0.sh16 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/sys/contrib/dpdk_rte_lpm/
H A Drte_jhash.h39 #define rot(x, k) (((x) << (k)) | ((x) >> (32-(k)))) argument
65 #define BIT_SHIFT(x, y, k) (((x) >> (k)) | ((uint64_t)(y) << (32-(k)))) argument
67 #define BIT_SHIFT(x, y, k) (((uint64_t)(x) << (k)) | ((y) >> (32-(k))))
89 const uint32_t *k = (const uint32_t *)key; in __rte_jhash_2hashes() local
92 const uint32_t *k = (uint32_t *)((uintptr_t)key & (uintptr_t)~3); in __rte_jhash_2hashes() local
97 a += k[0]; in __rte_jhash_2hashes()
98 b += k[1]; in __rte_jhash_2hashes()
99 c += k[2]; in __rte_jhash_2hashes()
103 k += 3; in __rte_jhash_2hashes()
109 c += k[2]; b += k[1]; a += k[0]; break; in __rte_jhash_2hashes()
[all …]
/freebsd/bin/ps/
H A Dprint.c94 arguments(KINFO *k, VARENT *ve) in arguments() argument
98 if ((vis_args = malloc(strlen(k->ki_args) * 4 + 1)) == NULL) in arguments()
100 strvis(vis_args, k->ki_args, VIS_TAB | VIS_NL | VIS_NOSLASH); in arguments()
109 command(KINFO *k, VARENT *ve) in command() argument
117 k->ki_d.prefix ? k->ki_d.prefix : "", in command()
118 k->ki_p->ki_comm, in command()
119 (showthreads && k->ki_p->ki_numthreads > 1) ? "/" : "", in command()
120 (showthreads && k->ki_p->ki_numthreads > 1) ? k->ki_p->ki_tdname : "", in command()
121 (showthreads && k->ki_p->ki_numthreads > 1) ? k->ki_p->ki_moretdname : ""); in command()
123 str = strdup(k->ki_p->ki_comm); in command()
[all …]
/freebsd/crypto/openssl/crypto/camellia/
H A Dcamellia.c286 int Camellia_Ekeygen(int keyBitLength, const u8 *rawKey, KEY_TABLE_TYPE k) in Camellia_Ekeygen() argument
290 k[0] = s0 = GETU32(rawKey); in Camellia_Ekeygen()
291 k[1] = s1 = GETU32(rawKey + 4); in Camellia_Ekeygen()
292 k[2] = s2 = GETU32(rawKey + 8); in Camellia_Ekeygen()
293 k[3] = s3 = GETU32(rawKey + 12); in Camellia_Ekeygen()
296 k[8] = s0 = GETU32(rawKey + 16); in Camellia_Ekeygen()
297 k[9] = s1 = GETU32(rawKey + 20); in Camellia_Ekeygen()
299 k[10] = s2 = ~s0; in Camellia_Ekeygen()
300 k[11] = s3 = ~s1; in Camellia_Ekeygen()
302 k[10] = s2 = GETU32(rawKey + 24); in Camellia_Ekeygen()
[all …]
/freebsd/share/doc/papers/kernmalloc/
H A Dappendix.ms44 'ds +K
45 'ds -K
50 'ds +K \f3
51 'ds -K \fP
123 \*(+K#define\*(-K MINBUCKET\h'|31n'4\h'|51n'\fI\h'\w' 'u-\w'/'u'/\fP\fI*\fP\c\c
129 \*(+K#define\*(-K MAXALLOCSAVE\h'|31n'(2 \fI*\fP CLBYTES)
140 \*(+K#define\*(-K MAXKMEM\h'|31n'(1024 \fI*\fP PAGESIZE)
150 \*(+Kextern\*(-K \*(+Kchar\*(-K kmembase[MAXKMEM];
159 \*(+Kstruct\*(-K kmemsizes \*(+K{\*(-K
160 \h'|11n'\*(+Kshort\*(-K\h'|21n'ks\*_indx;\h'|41n'\fI\h'\w' 'u-\w'/'u'/\fP\fI*\fP\c\c
[all …]
/freebsd/sys/libkern/
H A Djenkins_hash.c44 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) argument
67 Some k values for my "a-=c; a^=rot(c,k); c+=b;" arrangement that
150 const uint32_t *k, /* the key, an array of uint32_t values */ in jenkins_hash32() argument
162 a += k[0]; in jenkins_hash32()
163 b += k[1]; in jenkins_hash32()
164 c += k[2]; in jenkins_hash32()
167 k += 3; in jenkins_hash32()
173 case 3 : c+=k[2]; in jenkins_hash32()
174 case 2 : b+=k[1]; in jenkins_hash32()
175 case 1 : a+=k[0]; in jenkins_hash32()
[all …]
/freebsd/crypto/openssh/openbsd-compat/
H A Dmemmem.c38 twobyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) in twobyte_memmem() argument
41 for (h+=2, k-=2; k; k--, hw = hw<<8 | *h++) in twobyte_memmem()
47 threebyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) in threebyte_memmem() argument
51 for (h+=3, k-=3; k; k--, hw = (hw|*h++)<<8) in threebyte_memmem()
57 fourbyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) in fourbyte_memmem() argument
61 for (h+=4, k-=4; k; k--, hw = hw<<8 | *h++) in fourbyte_memmem()
83 size_t i, ip, jp, k, p, ms, p0, mem, mem0; in twoway_memmem() local
92 ip = -1; jp = 0; k = p = 1; in twoway_memmem()
93 while (jp+k<l) { in twoway_memmem()
94 if (n[ip+k] == n[jp+k]) { in twoway_memmem()
[all …]
/freebsd/lib/libc/string/
H A Dmemmem.c29 twobyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) in twobyte_memmem() argument
32 for (h += 2, k -= 2; k; k--, hw = hw << 8 | *h++) in twobyte_memmem()
39 threebyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) in threebyte_memmem() argument
43 for (h += 3, k -= 3; k; k--, hw = (hw | *h++) << 8) in threebyte_memmem()
50 fourbyte_memmem(const unsigned char *h, size_t k, const unsigned char *n) in fourbyte_memmem() argument
54 for (h += 4, k -= 4; k; k--, hw = hw << 8 | *h++) in fourbyte_memmem()
79 size_t i, ip, jp, k, p, ms, p0, mem, mem0; in twoway_memmem() local
90 k = p = 1; in twoway_memmem()
91 while (jp + k < l) { in twoway_memmem()
92 if (n[ip + k] == n[jp + k]) { in twoway_memmem()
[all …]
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_torus.c200 int i, j, k; member
787 unsigned i, j, k, cnt; in parse_torus() local
819 * Set things up so that t->sw[i][j][k] can point to the i,j,k switch. in parse_torus()
844 for (k = 0; k < t->z_sz; k++) in parse_torus()
845 t->sw[i][j][k] = NULL; in parse_torus()
867 unsigned i, j, k, n; in parse_port_order() local
887 for (k = 0; k < i; k++) in parse_port_order()
888 if (t->port_order[k] == j) in parse_port_order()
890 if (k >= i) in parse_port_order()
1286 unsigned k, p; in diagnose_fabric() local
[all …]
/freebsd/usr.sbin/sa/tests/
H A Dv1-amd64-u.out1 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
6 0 0.250 cpu 42k mem 1087 io find
7 0 0.000 cpu 0k mem 0 io time
8 0 0.000 cpu 0k mem 0 io sleep
9 0 0.000 cpu 57k mem 0 io time
10 0 0.016 cpu 31k mem 16 io dd
[all …]
H A Dv1-i386-u.out1 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
6 0 0.266 cpu 36k mem 3921 io find
7 0 0.000 cpu 0k mem 0 io time
8 0 0.000 cpu 0k mem 0 io sleep
9 0 0.000 cpu 0k mem 0 io time
10 0 0.016 cpu 25k mem 16 io dd
[all …]
H A Dv2-amd64-u.out1 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
6 0 0.822 cpu 19k mem 4472 io find
7 0 0.003 cpu 0k mem 0 io time
8 0 0.002 cpu 0k mem 0 io sleep
9 0 0.004 cpu 88k mem 0 io time
10 0 0.076 cpu 18k mem 16 io dd
[all …]
H A Dv2-i386-u.out1 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
6 0 0.248 cpu 108k mem 0 io find
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
10 0 0.025 cpu 103k mem 16 io dd
[all …]
/freebsd/crypto/openssl/crypto/modes/asm/
H A Daes-gcm-armv8_64.pl27 # | CTR block 4k+8 | AES block 4k+4 | GHASH block 4k+0 |
30 # | CTR block 4k+9 | AES block 4k+5 | GHASH block 4k+1 |
33 # | CTR block 4k+10| AES block 4k+6 | GHASH block 4k+2 |
36 # | CTR block 4k+11| AES block 4k+7 | GHASH block 4k+3 |
43 # Ensure previous generated intermediate hash is aligned and merged with result for GHASH 4k+0
45 # EOR res_curr (4k+0), res_curr (4k+0), low_acc
521 ldp $input_l3, $input_h3, [$input_ptr, #48] @ AES block 4k+3 - load plaintext
526 rev64 $res0b, $res0b @ GHASH block 4k (only t0 is free)
527 rev64 $res2b, $res2b @ GHASH block 4k+2 (t0, t1, and t2 free)
529 aese $ctr2b, $rk0 \n aesmc $ctr2b, $ctr2b @ AES block 4k+6 - round 0
[all …]
/freebsd/sys/crypto/openssl/aarch64/
H A Daes-gcm-armv8_64.S308 ldp x23, x24, [x0, #48] //AES block 4k+3 - load plaintext
313 rev64 v4.16b, v4.16b //GHASH block 4k (only t0 is free)
314 rev64 v6.16b, v6.16b //GHASH block 4k+2 (t0, t1, and t2 free)
317 aesmc v2.16b, v2.16b //AES block 4k+6 - round 0
318 fmov d3, x10 //CTR block 4k+3
321 rev64 v5.16b, v5.16b //GHASH block 4k+1 (t0 and t1 free)
324 aesmc v1.16b, v1.16b //AES block 4k+5 - round 0
325 add w12, w12, #1 //CTR block 4k+3
326 fmov v3.d[1], x9 //CTR block 4k+3
329 aesmc v0.16b, v0.16b //AES block 4k+4 - round 0
[all …]
/freebsd/contrib/unbound/util/storage/
H A Dlookup3.c118 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) argument
150 Some k values for my "a-=c; a^=rot(c,k); c+=b;" arrangement that
233 const uint32_t *k, /* the key, an array of uint32_t values */ in hashword() argument
245 a += k[0]; in hashword()
246 b += k[1]; in hashword()
247 c += k[2]; in hashword()
250 k += 3; in hashword()
256 case 3 : c+=k[2]; in hashword()
259 case 2 : b+=k[1]; in hashword()
262 case 1 : a+=k[0]; in hashword()
[all …]
/freebsd/sys/net/
H A Dbpf_filter.c72 #define MINDEX(m, k) \ argument
76 while (k >= len) { \
77 k -= len; \
85 static u_int16_t m_xhalf(struct mbuf *m, bpf_u_int32 k, int *err);
86 static u_int32_t m_xword(struct mbuf *m, bpf_u_int32 k, int *err);
89 m_xword(struct mbuf *m, bpf_u_int32 k, int *err) in m_xword() argument
96 while (k >= len) { in m_xword()
97 k -= len; in m_xword()
103 cp = mtod(m, u_char *) + k; in m_xword()
104 if (len - k >= 4) { in m_xword()
[all …]
/freebsd/contrib/bearssl/src/ec/
H A Dec_c25519_m64.c134 unsigned char k; in f255_add()
136 k = _addcarry_u64(0, a[0], b[0], &t0); in f255_add()
137 k = _addcarry_u64(k, a[1], b[1], &t1); in f255_add()
138 k = _addcarry_u64(k, a[2], b[2], &t2); in f255_add()
139 k = _addcarry_u64(k, a[3], b[3], &t3); in f255_add()
140 cc = (k << 1) + (t3 >> 63); in f255_add()
151 k = _addcarry_u64(0, t0, 19 * cc, &d[0]); in f255_add()
152 k = _addcarry_u64(k, t1, 0, &d[1]); in f255_add()
153 k = _addcarry_u64(k, t2, 0, &d[2]); in f255_add()
154 (void)_addcarry_u64(k, t3, 0, &d[3]); in f255_add()
[all …]
/freebsd/crypto/openssh/regress/
H A Dhostkey-agent.sh21 for k in $SSH_KEYTYPES ; do
22 ${SSHKEYGEN} -qt $k -f $OBJ/agent-key.$k -N '' || fatal "ssh-keygen $k"
24 -I localhost-with-alias $OBJ/agent-key.$k.pub || \
25 fatal "sign $k"
26 ${SSHADD} -k $OBJ/agent-key.$k >/dev/null 2>&1 || \
27 fatal "couldn't load key $OBJ/agent-key.$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"
38 echo "HostKeyAlgorithms $k" >> $OBJ/sshd_proxy
[all …]
/freebsd/sys/contrib/openzfs/module/icp/asm-x86_64/aes/
H A Daeskey.c81 #define ke4(k, i) \ argument
82 { k[4 * (i) + 4] = ss[0] ^= ls_box(ss[3], 3) ^ t_use(r, c)[i]; \
83 k[4 * (i) + 5] = ss[1] ^= ss[0]; \
84 k[4 * (i) + 6] = ss[2] ^= ss[1]; \
85 k[4 * (i) + 7] = ss[3] ^= ss[2]; \
115 #define kef6(k, i) \ argument
116 { k[6 * (i) + 6] = ss[0] ^= ls_box(ss[5], 3) ^ t_use(r, c)[i]; \
117 k[6 * (i) + 7] = ss[1] ^= ss[0]; \
118 k[6 * (i) + 8] = ss[2] ^= ss[1]; \
119 k[6 * (i) + 9] = ss[3] ^= ss[2]; \
[all …]
/freebsd/contrib/ldns/
H A Dkeys.c105 ldns_key_new_frm_fp(ldns_key **k, FILE *fp) in ldns_key_new_frm_fp() argument
107 return ldns_key_new_frm_fp_l(k, fp, NULL); in ldns_key_new_frm_fp()
114 ldns_key *k; in ldns_key_new_frm_engine() local
116 k = ldns_key_new(); in ldns_key_new_frm_engine()
117 if(!k) return LDNS_STATUS_MEM_ERR; in ldns_key_new_frm_engine()
119 k->_key.key = ENGINE_load_private_key(e, key_id, UI_OpenSSL(), NULL); in ldns_key_new_frm_engine()
120 if(!k->_key.key) { in ldns_key_new_frm_engine()
121 ldns_key_free(k); in ldns_key_new_frm_engine()
124 ldns_key_set_algorithm(k, (ldns_signing_algorithm) alg); in ldns_key_new_frm_engine()
125 if (!k->_key.key) { in ldns_key_new_frm_engine()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Dsend-cpL_varied_recsize.ksh35 # | 128k | | 128k | 128k | 128k | 128k |
36 # | 128k | -c | Fails | Fails | 128k | 128k |
37 # | 128k | -p | 128k | 128k | 128k | 128k |
38 # | 128k | -L | 128k | 128k | 128k | 128k |
39 # | 128k | -cp | Fails | Fails | 128k | 128k |
40 # | 128k | -cL | Fails | Fails | 128k | 128k |
41 # | 128k | -pL | 128k | 128k | 128k | 128k |
42 # | 128k | -cpL | Fails | Fails | 128k | 128k |
43 # | 1m | | Fails | Fails | 128k | 128k |
44 # | 1m | -c | Fails | Fails | 128k | 128k |
[all …]
/freebsd/sbin/ipf/ipf/
H A Dbpf_filter.c112 m_xword(mb_t *m, int k, int *err) in m_xword() argument
118 MINDEX(len, m, k); in m_xword()
119 cp = MTOD(m, u_char *) + k; in m_xword()
120 if (len - k >= 4) { in m_xword()
125 if (m0 == NULL || M_LEN(m0) + len - k < 4) in m_xword()
129 switch (len - k) { in m_xword()
146 m_xhalf(mb_t *m, int k, int *err) in m_xhalf() argument
152 MINDEX(len, m, k); in m_xhalf()
153 cp = MTOD(m, u_char *) + k; in m_xhalf()
154 if (len - k >= 2) { in m_xhalf()
[all …]
/freebsd/contrib/libpcap/
H A Dbpf_filter.c96 register bpf_u_int32 k; in pcapint_filter_with_aux_data() local
114 return (u_int)pc->k; in pcapint_filter_with_aux_data()
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()
124 A = EXTRACT_LONG(&p[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()
132 A = EXTRACT_SHORT(&p[k]); in pcapint_filter_with_aux_data()
143 switch (pc->k) { in pcapint_filter_with_aux_data()
159 k = pc->k; in pcapint_filter_with_aux_data()
[all …]

12345678910>>...171