Home
last modified time | relevance | path

Searched refs:k2 (Results 1 – 25 of 62) sorted by relevance

123

/Linux-v6.6/include/linux/
Dbtree-128.h22 static inline void *btree_lookup128(struct btree_head128 *head, u64 k1, u64 k2) in btree_lookup128() argument
24 u64 key[2] = {k1, k2}; in btree_lookup128()
29 u64 *k1, u64 *k2) in btree_get_prev128() argument
31 u64 key[2] = {*k1, *k2}; in btree_get_prev128()
37 *k2 = key[1]; in btree_get_prev128()
41 static inline int btree_insert128(struct btree_head128 *head, u64 k1, u64 k2, in btree_insert128() argument
44 u64 key[2] = {k1, k2}; in btree_insert128()
49 static inline int btree_update128(struct btree_head128 *head, u64 k1, u64 k2, in btree_update128() argument
52 u64 key[2] = {k1, k2}; in btree_update128()
57 static inline void *btree_remove128(struct btree_head128 *head, u64 k1, u64 k2) in btree_remove128() argument
[all …]
/Linux-v6.6/arch/arm/crypto/
Dsha1-ce-core.S18 k2 .req q2
69 vld1.32 {k2-k3}, [ip, :128]
100 add_update p, 1, k2, 9, 10, 11, 8
102 add_update m, 0, k2, 10, 11, 8, 9
103 add_update m, 1, k2, 11, 8, 9, 10
104 add_update m, 0, k2, 8, 9, 10, 11
105 add_update m, 1, k2, 9, 10, 11, 8
Dnh-neon-core.S49 .macro _nh_stride k0, k1, k2, k3
60 vadd.u32 T2, T3, \k2
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_dccg.c62 enum pixel_rate_div *k2) in dccg32_get_pixel_rate_div() argument
68 *k2 = PIXEL_RATE_DIV_NA; in dccg32_get_pixel_rate_div()
97 *k2 = (enum pixel_rate_div)val_k2; in dccg32_get_pixel_rate_div()
104 enum pixel_rate_div k2) in dccg32_set_pixel_rate_div() argument
112 if (k1 == PIXEL_RATE_DIV_NA || k2 == PIXEL_RATE_DIV_NA) { in dccg32_set_pixel_rate_div()
118 if (k1 == cur_k1 && k2 == cur_k2) in dccg32_set_pixel_rate_div()
125 OTG0_PIXEL_RATE_DIVK2, k2); in dccg32_set_pixel_rate_div()
130 OTG1_PIXEL_RATE_DIVK2, k2); in dccg32_set_pixel_rate_div()
135 OTG2_PIXEL_RATE_DIVK2, k2); in dccg32_set_pixel_rate_div()
140 OTG3_PIXEL_RATE_DIVK2, k2); in dccg32_set_pixel_rate_div()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn314/
Ddcn314_dccg.c62 enum pixel_rate_div *k2) in dccg314_get_pixel_rate_div() argument
68 *k2 = PIXEL_RATE_DIV_NA; in dccg314_get_pixel_rate_div()
97 *k2 = (enum pixel_rate_div)val_k2; in dccg314_get_pixel_rate_div()
104 enum pixel_rate_div k2) in dccg314_set_pixel_rate_div() argument
111 if (k1 == PIXEL_RATE_DIV_NA || k2 == PIXEL_RATE_DIV_NA) { in dccg314_set_pixel_rate_div()
117 if (k1 == cur_k1 && k2 == cur_k2) in dccg314_set_pixel_rate_div()
124 OTG0_PIXEL_RATE_DIVK2, k2); in dccg314_set_pixel_rate_div()
129 OTG1_PIXEL_RATE_DIVK2, k2); in dccg314_set_pixel_rate_div()
134 OTG2_PIXEL_RATE_DIVK2, k2); in dccg314_set_pixel_rate_div()
139 OTG3_PIXEL_RATE_DIVK2, k2); in dccg314_set_pixel_rate_div()
/Linux-v6.6/arch/arm64/crypto/
Dsha1-ce-core.S16 k2 .req v2
72 loadrc k2.4s, 0x8f1bbcdc, w6
105 add_update p, od, k2, 9, 10, 11, 8
107 add_update m, ev, k2, 10, 11, 8, 9
108 add_update m, od, k2, 11, 8, 9, 10
109 add_update m, ev, k2, 8, 9, 10, 11
110 add_update m, od, k2, 9, 10, 11, 8
Daes-ce.S86 .macro fin_round_Nx, de, k, k2, i0, i1, i2, i3, i4
98 eor \i0\().16b, \i0\().16b, \k2\().16b
100 eor \i1\().16b, \i1\().16b, \k2\().16b
102 eor \i2\().16b, \i2\().16b, \k2\().16b
103 eor \i3\().16b, \i3\().16b, \k2\().16b
105 eor \i4\().16b, \i4\().16b, \k2\().16b
Dnh-neon-core.S35 .macro _nh_stride k0, k1, k2, k3
46 add T2.4s, T3.4s, \k2\().4s
/Linux-v6.6/arch/sh/kernel/cpu/sh3/
Dentry.S69 #define k2 r2 macro
193 lds k2, pr ! restore pr
210 ! k2 returns original pr
240 mov.l @r15+, k2 ! original PR
253 lds k2, pr ! restore pr
256 mov k3, k2 ! original SR value
260 and k1, k2 ! Mask original SR value
270 6: or k0, k2 ! Set the IMASK-bits
271 ldc k2, ssr
304 ! k2 trashed
/Linux-v6.6/fs/xfs/libxfs/
Dxfs_alloc_btree.c263 const union xfs_btree_key *k2, in xfs_bnobt_diff_two_keys() argument
269 be32_to_cpu(k2->alloc.ar_startblock); in xfs_bnobt_diff_two_keys()
276 const union xfs_btree_key *k2, in xfs_cntbt_diff_two_keys() argument
285 be32_to_cpu(k2->alloc.ar_blockcount); in xfs_cntbt_diff_two_keys()
290 be32_to_cpu(k2->alloc.ar_startblock); in xfs_cntbt_diff_two_keys()
390 const union xfs_btree_key *k2) in xfs_bnobt_keys_inorder() argument
393 be32_to_cpu(k2->alloc.ar_startblock); in xfs_bnobt_keys_inorder()
411 const union xfs_btree_key *k2) in xfs_cntbt_keys_inorder() argument
414 be32_to_cpu(k2->alloc.ar_blockcount) || in xfs_cntbt_keys_inorder()
415 (k1->alloc.ar_blockcount == k2->alloc.ar_blockcount && in xfs_cntbt_keys_inorder()
[all …]
Dxfs_rmap_btree.c276 const union xfs_btree_key *k2, in xfs_rmapbt_diff_two_keys() argument
280 const struct xfs_rmap_key *kp2 = &k2->rmap; in xfs_rmapbt_diff_two_keys()
403 const union xfs_btree_key *k2) in xfs_rmapbt_keys_inorder() argument
411 y = be32_to_cpu(k2->rmap.rm_startblock); in xfs_rmapbt_keys_inorder()
417 b = be64_to_cpu(k2->rmap.rm_owner); in xfs_rmapbt_keys_inorder()
423 b = offset_keymask(be64_to_cpu(k2->rmap.rm_offset)); in xfs_rmapbt_keys_inorder()
Dxfs_refcount_btree.c199 const union xfs_btree_key *k2, in xfs_refcountbt_diff_two_keys() argument
205 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_diff_two_keys()
283 const union xfs_btree_key *k2) in xfs_refcountbt_keys_inorder() argument
286 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_keys_inorder()
/Linux-v6.6/crypto/
Dtea.c60 u32 k0, k1, k2, k3; in tea_encrypt() local
70 k2 = ctx->KEY[2]; in tea_encrypt()
78 z += ((y << 4) + k2) ^ (y + sum) ^ ((y >> 5) + k3); in tea_encrypt()
88 u32 k0, k1, k2, k3; in tea_decrypt() local
98 k2 = ctx->KEY[2]; in tea_decrypt()
106 z -= ((y << 4) + k2) ^ (y + sum) ^ ((y >> 5) + k3); in tea_decrypt()
Dvmac.c284 #define k2 (*(((u32 *)kh)+INDEX_LOW)) in poly_step_func() macro
293 p += MUL32(a0, k2); in poly_step_func()
299 p += MUL32(a1, k2); in poly_step_func()
307 q += MUL32(a2, k2); in poly_step_func()
317 q += MUL32(a3, k2); in poly_step_func()
330 #undef k2 in poly_step_func()
359 static u64 l3hash(u64 p1, u64 p2, u64 k1, u64 k2, u64 len) in l3hash() argument
382 p2 += k2; in l3hash()
383 p2 += (0 - (p2 < k2)) & 257; in l3hash()
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/flower/
Dconntrack.h18 char *k1, *m1, *k2, *m2; \
22 k2 = (char *)_match2.key; \
26 (k2[i] & m1[i] & m2[i])) { \
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dhashmap.c341 long k1 = 0, k2 = 1; in test_hashmap_multimap() local
366 err = hashmap__append(map, k2, 8); in test_hashmap_multimap()
369 err = hashmap__append(map, k2, 16); in test_hashmap_multimap()
372 err = hashmap__append(map, k2, 32); in test_hashmap_multimap()
400 hashmap__for_each_key_entry(map, entry, k2) { in test_hashmap_multimap()
/Linux-v6.6/arch/sparc/crypto/
Ddes_glue.c186 u64 k2[DES_EXPKEY_WORDS / 2]; in des3_ede_set_key() local
196 des_sparc64_key_expand((const u32 *)key, k2); in des3_ede_set_key()
201 encrypt_to_decrypt(&dctx->encrypt_expkey[DES_EXPKEY_WORDS / 2], &k2[0]); in des3_ede_set_key()
207 &k2[0], sizeof(k2)); in des3_ede_set_key()
/Linux-v6.6/drivers/clk/sprd/
Dpll.c105 u16 k1, k2; in _sprd_pll_recalc_rate() local
134 k2 = pll->k2; in _sprd_pll_recalc_rate()
137 k2 + refin * nint * CLK_PLL_1M; in _sprd_pll_recalc_rate()
Dpll.h57 u16 k2; member
74 .k2 = _k2, \
/Linux-v6.6/fs/hfsplus/
Dcatalog.c17 const hfsplus_btree_key *k2) in hfsplus_cat_case_cmp_key() argument
22 k2p = k2->cat.parent; in hfsplus_cat_case_cmp_key()
26 return hfsplus_strcasecmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_case_cmp_key()
30 const hfsplus_btree_key *k2) in hfsplus_cat_bin_cmp_key() argument
35 k2p = k2->cat.parent; in hfsplus_cat_bin_cmp_key()
39 return hfsplus_strcmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_bin_cmp_key()
Dattributes.c36 const hfsplus_btree_key *k2) in hfsplus_attr_bin_cmp_key() argument
41 k2_cnid = k2->attr.cnid; in hfsplus_attr_bin_cmp_key()
47 (const struct hfsplus_unistr *)&k2->attr.key_name); in hfsplus_attr_bin_cmp_key()
Dextents.c21 const hfsplus_btree_key *k2) in hfsplus_ext_cmp_key() argument
27 k2id = k2->ext.cnid; in hfsplus_ext_cmp_key()
31 if (k1->ext.fork_type != k2->ext.fork_type) in hfsplus_ext_cmp_key()
32 return k1->ext.fork_type < k2->ext.fork_type ? -1 : 1; in hfsplus_ext_cmp_key()
35 k2s = k2->ext.start_block; in hfsplus_ext_cmp_key()
Dhfsplus_fs.h366 const hfsplus_btree_key *k2);
437 const hfsplus_btree_key *k2);
439 const hfsplus_btree_key *k2);
459 const hfsplus_btree_key *k2);
/Linux-v6.6/arch/x86/crypto/
Dnh-sse2-x86_64.S34 .macro _nh_stride k0, k1, k2, k3, offset
47 paddd \k2, T2
Dnh-avx2-x86_64.S40 .macro _nh_2xstride k0, k1, k2, k3
45 vpaddd \k2, T3, T2

123