Home
last modified time | relevance | path

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

123

/linux-6.1.9/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-6.1.9/drivers/gpu/drm/amd/display/dc/dcn314/
Ddcn314_dccg.c52 enum pixel_rate_div *k2) in dccg314_get_pixel_rate_div() argument
58 *k2 = PIXEL_RATE_DIV_NA; in dccg314_get_pixel_rate_div()
87 *k2 = (enum pixel_rate_div)val_k2; in dccg314_get_pixel_rate_div()
94 enum pixel_rate_div k2) in dccg314_set_pixel_rate_div() argument
101 if (k1 == PIXEL_RATE_DIV_NA || k2 == PIXEL_RATE_DIV_NA) { in dccg314_set_pixel_rate_div()
107 if (k1 == PIXEL_RATE_DIV_NA || k2 == PIXEL_RATE_DIV_NA || (k1 == cur_k1 && k2 == cur_k2)) in dccg314_set_pixel_rate_div()
114 OTG0_PIXEL_RATE_DIVK2, k2); in dccg314_set_pixel_rate_div()
119 OTG1_PIXEL_RATE_DIVK2, k2); in dccg314_set_pixel_rate_div()
124 OTG2_PIXEL_RATE_DIVK2, k2); in dccg314_set_pixel_rate_div()
129 OTG3_PIXEL_RATE_DIVK2, k2); in dccg314_set_pixel_rate_div()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_dccg.c49 enum pixel_rate_div *k2) in dccg32_get_pixel_rate_div() argument
55 *k2 = PIXEL_RATE_DIV_NA; in dccg32_get_pixel_rate_div()
84 *k2 = (enum pixel_rate_div)val_k2; in dccg32_get_pixel_rate_div()
91 enum pixel_rate_div k2) in dccg32_set_pixel_rate_div() argument
99 if (k1 == PIXEL_RATE_DIV_NA || k2 == PIXEL_RATE_DIV_NA) { in dccg32_set_pixel_rate_div()
105 if (k1 == cur_k1 && k2 == cur_k2) in dccg32_set_pixel_rate_div()
112 OTG0_PIXEL_RATE_DIVK2, k2); in dccg32_set_pixel_rate_div()
117 OTG1_PIXEL_RATE_DIVK2, k2); in dccg32_set_pixel_rate_div()
122 OTG2_PIXEL_RATE_DIVK2, k2); in dccg32_set_pixel_rate_div()
127 OTG3_PIXEL_RATE_DIVK2, k2); in dccg32_set_pixel_rate_div()
/linux-6.1.9/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-6.1.9/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.S34 .macro _nh_stride k0, k1, k2, k3
45 add T2.4s, T3.4s, \k2\().4s
/linux-6.1.9/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-6.1.9/fs/xfs/libxfs/
Dxfs_alloc_btree.c263 const union xfs_btree_key *k2) in xfs_bnobt_diff_two_keys() argument
266 be32_to_cpu(k2->alloc.ar_startblock); in xfs_bnobt_diff_two_keys()
273 const union xfs_btree_key *k2) in xfs_cntbt_diff_two_keys() argument
278 be32_to_cpu(k2->alloc.ar_blockcount); in xfs_cntbt_diff_two_keys()
283 be32_to_cpu(k2->alloc.ar_startblock); in xfs_cntbt_diff_two_keys()
383 const union xfs_btree_key *k2) in xfs_bnobt_keys_inorder() argument
386 be32_to_cpu(k2->alloc.ar_startblock); in xfs_bnobt_keys_inorder()
404 const union xfs_btree_key *k2) in xfs_cntbt_keys_inorder() argument
407 be32_to_cpu(k2->alloc.ar_blockcount) || in xfs_cntbt_keys_inorder()
408 (k1->alloc.ar_blockcount == k2->alloc.ar_blockcount && in xfs_cntbt_keys_inorder()
[all …]
Dxfs_rmap_btree.c256 const union xfs_btree_key *k2) in xfs_rmapbt_diff_two_keys() argument
259 const struct xfs_rmap_key *kp2 = &k2->rmap; in xfs_rmapbt_diff_two_keys()
371 const union xfs_btree_key *k2) in xfs_rmapbt_keys_inorder() argument
379 y = be32_to_cpu(k2->rmap.rm_startblock); in xfs_rmapbt_keys_inorder()
385 b = be64_to_cpu(k2->rmap.rm_owner); in xfs_rmapbt_keys_inorder()
391 b = XFS_RMAP_OFF(be64_to_cpu(k2->rmap.rm_offset)); in xfs_rmapbt_keys_inorder()
Dxfs_refcount_btree.c204 const union xfs_btree_key *k2) in xfs_refcountbt_diff_two_keys() argument
207 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_diff_two_keys()
285 const union xfs_btree_key *k2) in xfs_refcountbt_keys_inorder() argument
288 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_keys_inorder()
/linux-6.1.9/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-6.1.9/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-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dhashmap.c261 void *k1 = (void *)0, *k2 = (void *)1; in test_hashmap_multimap() local
286 err = hashmap__append(map, k2, (void *)8); in test_hashmap_multimap()
289 err = hashmap__append(map, k2, (void *)16); in test_hashmap_multimap()
292 err = hashmap__append(map, k2, (void *)32); in test_hashmap_multimap()
320 hashmap__for_each_key_entry(map, entry, k2) { in test_hashmap_multimap()
/linux-6.1.9/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-6.1.9/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-6.1.9/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()
/linux-6.1.9/arch/x86/crypto/
Dnh-sse2-x86_64.S33 .macro _nh_stride k0, k1, k2, k3, offset
46 paddd \k2, T2
Dnh-avx2-x86_64.S39 .macro _nh_2xstride k0, k1, k2, k3
44 vpaddd \k2, T3, T2
/linux-6.1.9/tools/perf/arch/arm64/entry/syscalls/
Dmksyscalltbl61 |sort -t' ' -k2 -nu \

123