/linux/include/linux/ |
H A D | btree-128.h | 22 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/arch/arm/crypto/ |
H A D | sha1-ce-core.S | 18 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
|
H A D | nh-neon-core.S | 49 .macro _nh_stride k0, k1, k2, k3 60 vadd.u32 T2, T3, \k2
|
/linux/drivers/gpu/drm/amd/display/dc/dccg/dcn32/ |
H A D | dcn32_dccg.c | 62 uint32_t *k2) in dccg32_get_pixel_rate_div() argument 68 *k2 = PIXEL_RATE_DIV_NA; in dccg32_get_pixel_rate_div() 97 *k2 = 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/drivers/gpu/drm/amd/display/dc/dccg/dcn314/ |
H A D | dcn314_dccg.c | 62 uint32_t *k2) in dccg314_get_pixel_rate_div() argument 68 *k2 = PIXEL_RATE_DIV_NA; in dccg314_get_pixel_rate_div() 97 *k2 = val_k2; in dccg314_get_pixel_rate_div() 104 enum pixel_rate_div k2) in dccg314_set_pixel_rate_div() argument 112 if (k1 == PIXEL_RATE_DIV_NA || k2 == PIXEL_RATE_DIV_NA) { in dccg314_set_pixel_rate_div() 118 if (k1 == cur_k1 && k2 == cur_k2) in dccg314_set_pixel_rate_div() 125 OTG0_PIXEL_RATE_DIVK2, k2); in dccg314_set_pixel_rate_div() 130 OTG1_PIXEL_RATE_DIVK2, k2); in dccg314_set_pixel_rate_div() 135 OTG2_PIXEL_RATE_DIVK2, k2); in dccg314_set_pixel_rate_div() 140 OTG3_PIXEL_RATE_DIVK2, k2); in dccg314_set_pixel_rate_div()
|
/linux/arch/arm64/crypto/ |
H A D | sha1-ce-core.S | 16 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
|
H A D | aes-ce.S | 81 .macro fin_round_Nx, de, k, k2, i0, i1, i2, i3, i4 93 eor \i0\().16b, \i0\().16b, \k2\().16b 95 eor \i1\().16b, \i1\().16b, \k2\().16b 97 eor \i2\().16b, \i2\().16b, \k2\().16b 98 eor \i3\().16b, \i3\().16b, \k2\().16b 100 eor \i4\().16b, \i4\().16b, \k2\().16b
|
H A D | nh-neon-core.S | 35 .macro _nh_stride k0, k1, k2, k3 46 add T2.4s, T3.4s, \k2\().4s
|
/linux/fs/bcachefs/ |
H A D | sb-clean.c | 103 struct bkey_i *k1, *k2; in bch2_verify_superblock_clean() local 107 k2 = btree_root_find(c, NULL, j, i, &l2); in bch2_verify_superblock_clean() 109 if (!k1 && !k2) in bch2_verify_superblock_clean() 120 if (k2) in bch2_verify_superblock_clean() 121 bch2_bkey_val_to_text(&buf2, c, bkey_i_to_s_c(k2)); in bch2_verify_superblock_clean() 125 mustfix_fsck_err_on(!k1 || !k2 || in bch2_verify_superblock_clean() 127 IS_ERR(k2) || in bch2_verify_superblock_clean() 128 k1->k.u64s != k2->k.u64s || in bch2_verify_superblock_clean() 129 memcmp(k1, k2, bkey_bytes(&k1->k)) || in bch2_verify_superblock_clean()
|
/linux/arch/sh/kernel/cpu/sh3/ |
H A D | entry.S | 69 #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/sound/soc/intel/boards/ |
H A D | sof_board_helpers.h | 66 #define SOF_LINK_ORDER(k1, k2, k3, k4, k5, k6, k7) \ argument 68 (((k2) & SOF_LINK_ORDER_MASK) << (SOF_LINK_ORDER_SHIFT * 1)) | \ 78 #define SOF_LINK_IDS(k1, k2, k3, k4, k5, k6, k7) \ argument 80 (((k2) & SOF_LINK_IDS_MASK) << (SOF_LINK_IDS_SHIFT * 1)) | \
|
/linux/fs/xfs/libxfs/ |
H A D | xfs_alloc_btree.c | 220 const union xfs_btree_key *k2, in xfs_bnobt_diff_two_keys() argument 226 be32_to_cpu(k2->alloc.ar_startblock); in xfs_bnobt_diff_two_keys() 233 const union xfs_btree_key *k2, in xfs_cntbt_diff_two_keys() argument 242 be32_to_cpu(k2->alloc.ar_blockcount); in xfs_cntbt_diff_two_keys() 247 be32_to_cpu(k2->alloc.ar_startblock); in xfs_cntbt_diff_two_keys() 363 const union xfs_btree_key *k2) in xfs_bnobt_keys_inorder() argument 366 be32_to_cpu(k2->alloc.ar_startblock); in xfs_bnobt_keys_inorder() 384 const union xfs_btree_key *k2) in xfs_cntbt_keys_inorder() argument 387 be32_to_cpu(k2->alloc.ar_blockcount) || in xfs_cntbt_keys_inorder() 388 (k1->alloc.ar_blockcount == k2->alloc.ar_blockcount && in xfs_cntbt_keys_inorder() [all …]
|
H A D | xfs_rmap_btree.c | 280 const union xfs_btree_key *k2, in xfs_rmapbt_diff_two_keys() argument 284 const struct xfs_rmap_key *kp2 = &k2->rmap; in xfs_rmapbt_diff_two_keys() 418 const union xfs_btree_key *k2) in xfs_rmapbt_keys_inorder() argument 426 y = be32_to_cpu(k2->rmap.rm_startblock); in xfs_rmapbt_keys_inorder() 432 b = be64_to_cpu(k2->rmap.rm_owner); in xfs_rmapbt_keys_inorder() 438 b = offset_keymask(be64_to_cpu(k2->rmap.rm_offset)); in xfs_rmapbt_keys_inorder()
|
H A D | xfs_refcount_btree.c | 195 const 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() 290 const union xfs_btree_key *k2) in xfs_refcountbt_keys_inorder() argument 293 be32_to_cpu(k2->refc.rc_startblock); in xfs_refcountbt_keys_inorder()
|
/linux/crypto/ |
H A D | tea.c | 60 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()
|
H A D | vmac.c | 284 #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/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | conntrack.h | 18 char *k1, *m1, *k2, *m2; \ 22 k2 = (char *)_match2.key; \ 26 (k2[i] & m1[i] & m2[i])) { \
|
/linux/fs/xfs/scrub/ |
H A D | rcbag_btree.c | 75 const union xfs_btree_key *k2, in rcbagbt_diff_two_keys() argument 79 const struct rcbag_key *kp2 = (const struct rcbag_key *)k2; in rcbagbt_diff_two_keys() 100 const union xfs_btree_key *k2) in rcbagbt_keys_inorder() argument 103 const struct rcbag_key *kp2 = (const struct rcbag_key *)k2; in rcbagbt_keys_inorder()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | hashmap.c | 341 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/arch/sparc/crypto/ |
H A D | des_glue.c | 186 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/fs/btrfs/ |
H A D | ctree.h | 529 int __pure btrfs_comp_cpu_keys(const struct btrfs_key *k1, const struct btrfs_key *k2); 538 const struct btrfs_key *k2) in btrfs_comp_keys() argument 542 return btrfs_comp_cpu_keys(k1, k2); in btrfs_comp_keys() 549 const struct btrfs_key *k2) in btrfs_comp_keys() argument 555 return btrfs_comp_cpu_keys(&k1, k2); in btrfs_comp_keys()
|
/linux/drivers/clk/sprd/ |
H A D | pll.c | 105 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()
|
H A D | pll.h | 57 u16 k2; member 74 .k2 = _k2, \
|
/linux/fs/hfsplus/ |
H A D | catalog.c | 17 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()
|
/linux/arch/x86/crypto/ |
H A D | nh-sse2-x86_64.S | 34 .macro _nh_stride k0, k1, k2, k3, offset 47 paddd \k2, T2
|