Home
last modified time | relevance | path

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

12

/Linux-v5.4/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-v5.4/arch/arm/crypto/
Dsha1-ce-core.S17 k2 .req q2
68 vld1.32 {k2-k3}, [ip, :128]
99 add_update p, 1, k2, 9, 10, 11, 8
101 add_update m, 0, k2, 10, 11, 8, 9
102 add_update m, 1, k2, 11, 8, 9, 10
103 add_update m, 0, k2, 8, 9, 10, 11
104 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-v5.4/arch/arm64/crypto/
Dsha1-ce-core.S16 k2 .req v2
78 loadrc k2.4s, 0x8f1bbcdc, w6
111 add_update p, od, k2, 9, 10, 11, 8
113 add_update m, ev, k2, 10, 11, 8, 9
114 add_update m, od, k2, 11, 8, 9, 10
115 add_update m, ev, k2, 8, 9, 10, 11
116 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-v5.4/arch/sh/kernel/cpu/sh3/
Dentry.S70 #define k2 r2 macro
194 lds k2, pr ! restore pr
211 ! k2 returns original pr
241 mov.l @r15+, k2 ! original PR
254 lds k2, pr ! restore pr
257 mov k3, k2 ! original SR value
261 and k1, k2 ! Mask original SR value
271 6: or k0, k2 ! Set the IMASK-bits
272 ldc k2, ssr
305 ! k2 trashed
/Linux-v5.4/fs/xfs/libxfs/
Dxfs_alloc_btree.c267 union xfs_btree_key *k2) in xfs_bnobt_diff_two_keys() argument
270 be32_to_cpu(k2->alloc.ar_startblock); in xfs_bnobt_diff_two_keys()
277 union xfs_btree_key *k2) in xfs_cntbt_diff_two_keys() argument
282 be32_to_cpu(k2->alloc.ar_blockcount); in xfs_cntbt_diff_two_keys()
287 be32_to_cpu(k2->alloc.ar_startblock); in xfs_cntbt_diff_two_keys()
387 union xfs_btree_key *k2) in xfs_bnobt_keys_inorder() argument
390 be32_to_cpu(k2->alloc.ar_startblock); in xfs_bnobt_keys_inorder()
408 union xfs_btree_key *k2) in xfs_cntbt_keys_inorder() argument
411 be32_to_cpu(k2->alloc.ar_blockcount) || in xfs_cntbt_keys_inorder()
412 (k1->alloc.ar_blockcount == k2->alloc.ar_blockcount && in xfs_cntbt_keys_inorder()
[all …]
Dxfs_rmap_btree.c259 union xfs_btree_key *k2) in xfs_rmapbt_diff_two_keys() argument
262 struct xfs_rmap_key *kp2 = &k2->rmap; in xfs_rmapbt_diff_two_keys()
374 union xfs_btree_key *k2) in xfs_rmapbt_keys_inorder() argument
382 y = be32_to_cpu(k2->rmap.rm_startblock); in xfs_rmapbt_keys_inorder()
388 b = be64_to_cpu(k2->rmap.rm_owner); in xfs_rmapbt_keys_inorder()
394 b = XFS_RMAP_OFF(be64_to_cpu(k2->rmap.rm_offset)); in xfs_rmapbt_keys_inorder()
Dxfs_refcount_btree.c194 union xfs_btree_key *k2) in xfs_refcountbt_diff_two_keys() argument
197 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_diff_two_keys()
275 union xfs_btree_key *k2) in xfs_refcountbt_keys_inorder() argument
278 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_keys_inorder()
Dxfs_ialloc_btree.c246 union xfs_btree_key *k2) in xfs_inobt_diff_two_keys() argument
249 be32_to_cpu(k2->inobt.ir_startino); in xfs_inobt_diff_two_keys()
344 union xfs_btree_key *k2) in xfs_inobt_keys_inorder() argument
347 be32_to_cpu(k2->inobt.ir_startino); in xfs_inobt_keys_inorder()
/Linux-v5.4/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.c283 #define k2 (*(((u32 *)kh)+INDEX_LOW)) in poly_step_func() macro
292 p += MUL32(a0, k2); in poly_step_func()
298 p += MUL32(a1, k2); in poly_step_func()
306 q += MUL32(a2, k2); in poly_step_func()
316 q += MUL32(a3, k2); in poly_step_func()
329 #undef k2 in poly_step_func()
358 static u64 l3hash(u64 p1, u64 p2, u64 k1, u64 k2, u64 len) in l3hash() argument
381 p2 += k2; in l3hash()
382 p2 += (0 - (p2 < k2)) & 257; in l3hash()
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_hashmap.c259 void *k1 = (void *)0, *k2 = (void *)1; in test_hashmap_multimap() local
287 err = hashmap__append(map, k2, (void *)8); in test_hashmap_multimap()
290 err = hashmap__append(map, k2, (void *)16); in test_hashmap_multimap()
293 err = hashmap__append(map, k2, (void *)32); in test_hashmap_multimap()
321 hashmap__for_each_key_entry(map, entry, k2) { in test_hashmap_multimap()
/Linux-v5.4/drivers/clk/sprd/
Dpll.h57 u16 k2; member
73 .k2 = _k2, \
Dpll.c104 u16 k1, k2; in _sprd_pll_recalc_rate() local
133 k2 = pll->k2; in _sprd_pll_recalc_rate()
136 k2 + refin * nint * CLK_PLL_1M; in _sprd_pll_recalc_rate()
/Linux-v5.4/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()
Dhfsplus_fs.h375 const hfsplus_btree_key *k2);
446 const hfsplus_btree_key *k2);
448 const hfsplus_btree_key *k2);
468 const hfsplus_btree_key *k2);
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-v5.4/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-v5.4/arch/sparc/crypto/
Ddes_glue.c202 u64 k2[DES_EXPKEY_WORDS / 2]; in des3_ede_set_key() local
212 des_sparc64_key_expand((const u32 *)key, k2); in des3_ede_set_key()
217 encrypt_to_decrypt(&dctx->encrypt_expkey[DES_EXPKEY_WORDS / 2], &k2[0]); in des3_ede_set_key()
223 &k2[0], sizeof(k2)); in des3_ede_set_key()
/Linux-v5.4/tools/perf/arch/arm64/entry/syscalls/
Dmksyscalltbl61 |sort -t' ' -k2 -nu \
/Linux-v5.4/drivers/media/usb/gspca/
Dsonixj.c1802 u8 k2; in setbrightness() local
1804 k2 = (brightness - 0x80) >> 2; in setbrightness()
1807 if (k2 > 0x1f) in setbrightness()
1808 k2 = 0; /* only positive Y offset */ in setbrightness()
1841 reg_w1(gspca_dev, 0x96, k2); /* color matrix Y offset */ in setbrightness()
1847 u8 k2; in setcontrast() local
1850 k2 = sd->contrast->val * 37 / (CONTRAST_MAX + 1) in setcontrast()
1852 contrast[0] = (k2 + 1) / 2; /* red */ in setcontrast()
1854 contrast[2] = k2; /* green */ in setcontrast()
1856 contrast[4] = k2 / 5; /* blue */ in setcontrast()

12