Home
last modified time | relevance | path

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

12

/Linux-v4.19/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-v4.19/arch/arm/crypto/
Dsha1-ce-core.S20 k2 .req q2
71 vld1.32 {k2-k3}, [ip, :128]
102 add_update p, 1, k2, 9, 10, 11, 8
104 add_update m, 0, k2, 10, 11, 8, 9
105 add_update m, 1, k2, 11, 8, 9, 10
106 add_update m, 0, k2, 8, 9, 10, 11
107 add_update m, 1, k2, 9, 10, 11, 8
/Linux-v4.19/arch/arm64/crypto/
Dsha1-ce-core.S19 k2 .req v2
81 loadrc k2.4s, 0x8f1bbcdc, w6
114 add_update p, od, k2, 9, 10, 11, 8
116 add_update m, ev, k2, 10, 11, 8, 9
117 add_update m, od, k2, 11, 8, 9, 10
118 add_update m, ev, k2, 8, 9, 10, 11
119 add_update m, od, k2, 9, 10, 11, 8
Daes-ce.S75 .macro fin_round_Nx, de, k, k2, i0, i1, i2, i3
84 eor \i0\().16b, \i0\().16b, \k2\().16b
86 eor \i1\().16b, \i1\().16b, \k2\().16b
88 eor \i2\().16b, \i2\().16b, \k2\().16b
89 eor \i3\().16b, \i3\().16b, \k2\().16b
/Linux-v4.19/arch/sh/kernel/cpu/sh3/
Dentry.S73 #define k2 r2 macro
197 lds k2, pr ! restore pr
214 ! k2 returns original pr
244 mov.l @r15+, k2 ! original PR
257 lds k2, pr ! restore pr
260 mov k3, k2 ! original SR value
264 and k1, k2 ! Mask original SR value
274 6: or k0, k2 ! Set the IMASK-bits
275 ldc k2, ssr
308 ! k2 trashed
Dswsusp.S18 #define k2 r2 macro
69 lds k2, pr
/Linux-v4.19/fs/xfs/libxfs/
Dxfs_alloc_btree.c268 union xfs_btree_key *k2) in xfs_bnobt_diff_two_keys() argument
271 be32_to_cpu(k2->alloc.ar_startblock); in xfs_bnobt_diff_two_keys()
278 union xfs_btree_key *k2) in xfs_cntbt_diff_two_keys() argument
283 be32_to_cpu(k2->alloc.ar_blockcount); in xfs_cntbt_diff_two_keys()
288 be32_to_cpu(k2->alloc.ar_startblock); in xfs_cntbt_diff_two_keys()
392 union xfs_btree_key *k2) in xfs_bnobt_keys_inorder() argument
395 be32_to_cpu(k2->alloc.ar_startblock); in xfs_bnobt_keys_inorder()
413 union xfs_btree_key *k2) in xfs_cntbt_keys_inorder() argument
416 be32_to_cpu(k2->alloc.ar_blockcount) || in xfs_cntbt_keys_inorder()
417 (k1->alloc.ar_blockcount == k2->alloc.ar_blockcount && in xfs_cntbt_keys_inorder()
[all …]
Dxfs_rmap_btree.c263 union xfs_btree_key *k2) in xfs_rmapbt_diff_two_keys() argument
266 struct xfs_rmap_key *kp2 = &k2->rmap; in xfs_rmapbt_diff_two_keys()
377 union xfs_btree_key *k2) in xfs_rmapbt_keys_inorder() argument
385 y = be32_to_cpu(k2->rmap.rm_startblock); in xfs_rmapbt_keys_inorder()
391 b = be64_to_cpu(k2->rmap.rm_owner); in xfs_rmapbt_keys_inorder()
397 b = XFS_RMAP_OFF(be64_to_cpu(k2->rmap.rm_offset)); in xfs_rmapbt_keys_inorder()
Dxfs_refcount_btree.c198 union xfs_btree_key *k2) in xfs_refcountbt_diff_two_keys() argument
201 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_diff_two_keys()
278 union xfs_btree_key *k2) in xfs_refcountbt_keys_inorder() argument
281 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_keys_inorder()
Dxfs_ialloc_btree.c251 union xfs_btree_key *k2) in xfs_inobt_diff_two_keys() argument
254 be32_to_cpu(k2->inobt.ir_startino); in xfs_inobt_diff_two_keys()
343 union xfs_btree_key *k2) in xfs_inobt_keys_inorder() argument
346 be32_to_cpu(k2->inobt.ir_startino); in xfs_inobt_keys_inorder()
Dxfs_bmap_btree.c404 union xfs_btree_key *k2) in xfs_bmbt_diff_two_keys() argument
407 be64_to_cpu(k2->bmbt.br_startoff); in xfs_bmbt_diff_two_keys()
494 union xfs_btree_key *k2) in xfs_bmbt_keys_inorder() argument
497 be64_to_cpu(k2->bmbt.br_startoff); in xfs_bmbt_keys_inorder()
/Linux-v4.19/crypto/
Dtea.c65 u32 k0, k1, k2, k3; in tea_encrypt() local
75 k2 = ctx->KEY[2]; in tea_encrypt()
83 z += ((y << 4) + k2) ^ (y + sum) ^ ((y >> 5) + k3); in tea_encrypt()
93 u32 k0, k1, k2, k3; in tea_decrypt() local
103 k2 = ctx->KEY[2]; in tea_decrypt()
111 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-v4.19/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-v4.19/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.h374 const hfsplus_btree_key *k2);
444 const hfsplus_btree_key *k2);
446 const hfsplus_btree_key *k2);
466 const hfsplus_btree_key *k2);
/Linux-v4.19/tools/perf/arch/powerpc/entry/syscalls/
Dmksyscalltbl36 |sort -t' ' -k2 -nu \
/Linux-v4.19/arch/sparc/crypto/
Ddes_glue.c207 u64 k2[DES_EXPKEY_WORDS / 2]; in des3_ede_set_key() local
219 des_sparc64_key_expand((const u32 *)key, k2); in des3_ede_set_key()
224 encrypt_to_decrypt(&dctx->encrypt_expkey[DES_EXPKEY_WORDS / 2], &k2[0]); in des3_ede_set_key()
230 &k2[0], sizeof(k2)); in des3_ede_set_key()
/Linux-v4.19/tools/perf/arch/arm64/entry/syscalls/
Dmksyscalltbl61 |sort -t' ' -k2 -nu \
/Linux-v4.19/drivers/media/usb/gspca/
Dsonixj.c1806 u8 k2; in setbrightness() local
1808 k2 = (brightness - 0x80) >> 2; in setbrightness()
1811 if (k2 > 0x1f) in setbrightness()
1812 k2 = 0; /* only positive Y offset */ in setbrightness()
1845 reg_w1(gspca_dev, 0x96, k2); /* color matrix Y offset */ in setbrightness()
1851 u8 k2; in setcontrast() local
1854 k2 = sd->contrast->val * 37 / (CONTRAST_MAX + 1) in setcontrast()
1856 contrast[0] = (k2 + 1) / 2; /* red */ in setcontrast()
1858 contrast[2] = k2; /* green */ in setcontrast()
1860 contrast[4] = k2 / 5; /* blue */ in setcontrast()
/Linux-v4.19/tools/perf/trace/beauty/
Darch_errno_names.sh63 |sort -t, -k2 -nu \
/Linux-v4.19/drivers/crypto/ccp/
Dccp-crypto-aes-cmac.c320 gk = (__be64 *)ctx->u.aes.k2; in ccp_aes_cmac_setkey()
327 sg_init_one(&ctx->u.aes.k2_sg, ctx->u.aes.k2, sizeof(ctx->u.aes.k2)); in ccp_aes_cmac_setkey()

12