/kernel/linux/linux-5.10/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() 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 28 btree_get_prev128(struct btree_head128 *head, u64 *k1, u64 *k2) btree_get_prev128() argument 63 btree_last128(struct btree_head128 *head, u64 *k1, u64 *k2) btree_last128() argument [all...] |
/kernel/linux/linux-6.6/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() 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 28 btree_get_prev128(struct btree_head128 *head, u64 *k1, u64 *k2) btree_get_prev128() argument 63 btree_last128(struct btree_head128 *head, u64 *k1, u64 *k2) btree_last128() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn314/ |
H A D | dcn314_dccg.c | 62 enum pixel_rate_div *k2) in dccg314_get_pixel_rate_div() 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() 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() 58 dccg314_get_pixel_rate_div( struct dccg *dccg, uint32_t otg_inst, enum pixel_rate_div *k1, enum pixel_rate_div *k2) dccg314_get_pixel_rate_div() argument 100 dccg314_set_pixel_rate_div( struct dccg *dccg, uint32_t otg_inst, enum pixel_rate_div k1, enum pixel_rate_div k2) dccg314_set_pixel_rate_div() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_dccg.c | 62 enum pixel_rate_div *k2) in dccg32_get_pixel_rate_div() 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() 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() 58 dccg32_get_pixel_rate_div( struct dccg *dccg, uint32_t otg_inst, enum pixel_rate_div *k1, enum pixel_rate_div *k2) dccg32_get_pixel_rate_div() argument 100 dccg32_set_pixel_rate_div( struct dccg *dccg, uint32_t otg_inst, enum pixel_rate_div k1, enum pixel_rate_div k2) dccg32_set_pixel_rate_div() argument [all...] |
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_alloc_btree.c | 264 union xfs_btree_key *k2) in xfs_bnobt_diff_two_keys() 267 be32_to_cpu(k2->alloc.ar_startblock); in xfs_bnobt_diff_two_keys() 274 union xfs_btree_key *k2) in xfs_cntbt_diff_two_keys() 279 be32_to_cpu(k2->alloc.ar_blockcount); in xfs_cntbt_diff_two_keys() 284 be32_to_cpu(k2->alloc.ar_startblock); in xfs_cntbt_diff_two_keys() 384 union xfs_btree_key *k2) in xfs_bnobt_keys_inorder() 387 be32_to_cpu(k2->alloc.ar_startblock); in xfs_bnobt_keys_inorder() 405 union xfs_btree_key *k2) in xfs_cntbt_keys_inorder() 408 be32_to_cpu(k2->alloc.ar_blockcount) || in xfs_cntbt_keys_inorder() 409 (k1->alloc.ar_blockcount == k2 in xfs_cntbt_keys_inorder() 261 xfs_bnobt_diff_two_keys( struct xfs_btree_cur *cur, union xfs_btree_key *k1, union xfs_btree_key *k2) xfs_bnobt_diff_two_keys() argument 271 xfs_cntbt_diff_two_keys( struct xfs_btree_cur *cur, union xfs_btree_key *k1, union xfs_btree_key *k2) xfs_cntbt_diff_two_keys() argument 381 xfs_bnobt_keys_inorder( struct xfs_btree_cur *cur, union xfs_btree_key *k1, union xfs_btree_key *k2) xfs_bnobt_keys_inorder() argument 402 xfs_cntbt_keys_inorder( struct xfs_btree_cur *cur, union xfs_btree_key *k1, union xfs_btree_key *k2) xfs_cntbt_keys_inorder() argument [all...] |
H A D | xfs_rmap_btree.c | 259 union xfs_btree_key *k2) in xfs_rmapbt_diff_two_keys() 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() 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() 256 xfs_rmapbt_diff_two_keys( struct xfs_btree_cur *cur, union xfs_btree_key *k1, union xfs_btree_key *k2) xfs_rmapbt_diff_two_keys() argument 371 xfs_rmapbt_keys_inorder( struct xfs_btree_cur *cur, union xfs_btree_key *k1, union xfs_btree_key *k2) xfs_rmapbt_keys_inorder() argument
|
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh3/ |
H A D | entry.S | 70 #define k2 r2 define 84 * k2 scratch (Exception code) 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, ss [all...] |
/kernel/linux/linux-6.6/arch/sh/kernel/cpu/sh3/ |
H A D | entry.S | 69 #define k2 r2 define 83 * k2 scratch (Exception code) 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, ss [all...] |
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_alloc_btree.c | 263 const union xfs_btree_key *k2, in xfs_bnobt_diff_two_keys() 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() 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() 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() 414 be32_to_cpu(k2->alloc.ar_blockcount) || in xfs_cntbt_keys_inorder() 415 (k1->alloc.ar_blockcount == k2 in xfs_cntbt_keys_inorder() 260 xfs_bnobt_diff_two_keys( struct xfs_btree_cur *cur, const union xfs_btree_key *k1, const union xfs_btree_key *k2, const union xfs_btree_key *mask) xfs_bnobt_diff_two_keys() argument 273 xfs_cntbt_diff_two_keys( struct xfs_btree_cur *cur, const union xfs_btree_key *k1, const union xfs_btree_key *k2, const union xfs_btree_key *mask) xfs_cntbt_diff_two_keys() argument 387 xfs_bnobt_keys_inorder( struct xfs_btree_cur *cur, const union xfs_btree_key *k1, const union xfs_btree_key *k2) xfs_bnobt_keys_inorder() argument 408 xfs_cntbt_keys_inorder( struct xfs_btree_cur *cur, const union xfs_btree_key *k1, const union xfs_btree_key *k2) xfs_cntbt_keys_inorder() argument [all...] |
/kernel/linux/linux-5.10/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 | 283 #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() macro 358 static u64 l3hash(u64 p1, u64 p2, u64 k1, u64 k2, u64 len) in l3hash() argument 378 /* compute (p1+k1)%p64 and (p2+k2)%p64 */ in l3hash() 381 p2 += k2; in l3hash() 382 p2 += (0 - (p2 < k2)) in l3hash() [all...] |
/kernel/linux/linux-5.10/arch/arm64/crypto/ |
H A D | aes-ce.S | 86 .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
|
/kernel/linux/linux-6.6/arch/arm64/crypto/ |
H A D | aes-ce.S | 86 .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
|
/kernel/linux/linux-6.6/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() macro 359 static u64 l3hash(u64 p1, u64 p2, u64 k1, u64 k2, u64 len) in l3hash() argument 379 /* compute (p1+k1)%p64 and (p2+k2)%p64 */ in l3hash() 382 p2 += k2; in l3hash() 383 p2 += (0 - (p2 < k2)) in l3hash() [all...] |
/kernel/linux/linux-6.6/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])) { \
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | hashmap.c | 262 void *k1 = (void *)0, *k2 = (void *)1; in test_hashmap_multimap() local 288 err = hashmap__append(map, k2, (void *)8); in test_hashmap_multimap() 291 err = hashmap__append(map, k2, (void *)16); in test_hashmap_multimap() 294 err = hashmap__append(map, k2, (void *)32); in test_hashmap_multimap() 322 hashmap__for_each_key_entry(map, entry, k2) { in test_hashmap_multimap() 326 "invalid k2 values: %lx\n", found_msk)) in test_hashmap_multimap()
|
/kernel/linux/linux-5.10/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, \
|
/kernel/linux/linux-6.6/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, \
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/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() 404 "invalid k2 values: %lx\n", found_msk)) in test_hashmap_multimap()
|
/kernel/linux/linux-5.10/fs/hfsplus/ |
H A D | catalog.c | 17 const hfsplus_btree_key *k2) in hfsplus_cat_case_cmp_key() 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() 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() 16 hfsplus_cat_case_cmp_key(const hfsplus_btree_key *k1, const hfsplus_btree_key *k2) hfsplus_cat_case_cmp_key() argument 29 hfsplus_cat_bin_cmp_key(const hfsplus_btree_key *k1, const hfsplus_btree_key *k2) hfsplus_cat_bin_cmp_key() argument
|