arch/arm/crypto/aes-ce-glue.c
145
struct crypto_aes_ctx __aligned(8) key2;
arch/arm/crypto/aes-ce-glue.c
160
ret = ce_aes_expandkey(&ctx->key2, &in_key[key_len / 2],
arch/arm/crypto/aes-ce-glue.c
463
ctx->key2.key_enc, first);
arch/arm/crypto/aes-ce-glue.c
485
ctx->key2.key_enc, first);
arch/arm/crypto/aes-ce-glue.c
535
ctx->key2.key_enc, first);
arch/arm/crypto/aes-ce-glue.c
557
ctx->key2.key_enc, first);
arch/arm64/crypto/aes-glue.c
118
struct crypto_aes_ctx __aligned(8) key2;
arch/arm64/crypto/aes-glue.c
123
struct crypto_aes_ctx __aligned(8) key2;
arch/arm64/crypto/aes-glue.c
155
ret = aes_expandkey(&ctx->key2, &in_key[key_len / 2],
arch/arm64/crypto/aes-glue.c
174
return aes_expandkey(&ctx->key2, digest, sizeof(digest));
arch/arm64/crypto/aes-glue.c
399
req->iv, ctx->key2.key_enc);
arch/arm64/crypto/aes-glue.c
421
req->iv, ctx->key2.key_enc);
arch/arm64/crypto/aes-glue.c
559
ctx->key2.key_enc, walk.iv, first);
arch/arm64/crypto/aes-glue.c
579
ctx->key2.key_enc, walk.iv, first);
arch/arm64/crypto/aes-glue.c
628
ctx->key2.key_enc, walk.iv, first);
arch/arm64/crypto/aes-glue.c
648
ctx->key2.key_enc, walk.iv, first);
arch/arm64/crypto/sm4-ce-glue.c
100
ctx->key2.rkey_dec, crypto_sm4_fk, crypto_sm4_ck);
arch/arm64/crypto/sm4-ce-glue.c
315
const u32 *rkey2_enc = ctx->key2.rkey_enc;
arch/arm64/crypto/sm4-ce-glue.c
542
u8 __aligned(8) key2[SM4_BLOCK_SIZE];
arch/arm64/crypto/sm4-ce-glue.c
556
sm4_ce_crypt_block(ctx->key.rkey_enc, key2, ks[0]);
arch/arm64/crypto/sm4-ce-glue.c
559
sm4_ce_expand_key(key2, ctx->key.rkey_enc, ctx->key.rkey_dec,
arch/arm64/crypto/sm4-ce-glue.c
57
struct sm4_ctx key2;
arch/arm64/crypto/sm4-ce-glue.c
99
sm4_ce_expand_key(&key[SM4_KEY_SIZE], ctx->key2.rkey_enc,
drivers/crypto/atmel-aes.c
133
u32 key2[AES_KEYSIZE_256 / sizeof(u32)];
drivers/crypto/atmel-aes.c
1638
ctx->key2, ctx->base.keylen);
drivers/crypto/atmel-aes.c
1695
memcpy(ctx->key2, key + keylen/2, keylen/2);
drivers/crypto/cavium/cpt/cptvf_algs.c
238
const u8 *key2 = key + (keylen / 2);
drivers/crypto/cavium/cpt/cptvf_algs.c
245
memcpy(ctx->enc_key + KEY2_OFFSET, key2, keylen / 2);
drivers/crypto/cavium/nitrox/nitrox_req.h
145
u8 key2[64];
drivers/crypto/cavium/nitrox/nitrox_skcipher.c
356
memcpy(fctx->auth.u.key2, (key + keylen), keylen);
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c
398
const u8 *key2 = key + (keylen / 2);
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c
407
memcpy(ctx->enc_key + KEY2_OFFSET, key2, keylen / 2);
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c
417
const u8 *key2 = key + (keylen / 2);
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c
427
memcpy(ctx->enc_key + KEY2_OFFSET, key2, keylen / 2);
drivers/crypto/tegra/tegra-se-aes.c
307
ret = tegra_key_submit_reserved_xts(ctx->se, ctx->key2,
drivers/crypto/tegra/tegra-se-aes.c
33
u8 key2[AES_MAX_KEY_SIZE];
drivers/crypto/tegra/tegra-se-aes.c
426
memcpy(ctx->key2, key + len, len);
drivers/infiniband/hw/mlx5/mr.c
636
struct mlx5r_cache_rb_key key2)
drivers/infiniband/hw/mlx5/mr.c
640
res = key1.ats - key2.ats;
drivers/infiniband/hw/mlx5/mr.c
644
res = key1.access_mode - key2.access_mode;
drivers/infiniband/hw/mlx5/mr.c
648
res = key1.access_flags - key2.access_flags;
drivers/infiniband/hw/mlx5/mr.c
652
res = key1.st_index - key2.st_index;
drivers/infiniband/hw/mlx5/mr.c
656
res = key1.ph - key2.ph;
drivers/infiniband/hw/mlx5/mr.c
665
return key1.ndescs - key2.ndescs;
drivers/infiniband/sw/rxe/rxe_verbs.h
16
static inline int pkey_match(u16 key1, u16 key2)
drivers/infiniband/sw/rxe/rxe_verbs.h
19
((key1 & 0x7fff) == (key2 & 0x7fff)) &&
drivers/infiniband/sw/rxe/rxe_verbs.h
20
((key1 & 0x8000) || (key2 & 0x8000))) ? 1 : 0;
drivers/input/keyboard/ep93xx_keypad.c
102
input_report_key(input_dev, key2, 1);
drivers/input/keyboard/ep93xx_keypad.c
105
keypad->key2 = key2;
drivers/input/keyboard/ep93xx_keypad.c
111
if (keypad->key2 && key1 != keypad->key2)
drivers/input/keyboard/ep93xx_keypad.c
112
input_report_key(input_dev, keypad->key2, 0);
drivers/input/keyboard/ep93xx_keypad.c
117
keypad->key2 = 0;
drivers/input/keyboard/ep93xx_keypad.c
121
input_report_key(input_dev, keypad->key2, 0);
drivers/input/keyboard/ep93xx_keypad.c
123
keypad->key1 = keypad->key2 = 0;
drivers/input/keyboard/ep93xx_keypad.c
72
int key2;
drivers/input/keyboard/ep93xx_keypad.c
84
int keycode, key1, key2;
drivers/input/keyboard/ep93xx_keypad.c
92
key2 = keypad->keycodes[keycode];
drivers/input/keyboard/ep93xx_keypad.c
95
if (keypad->key1 && key1 != keypad->key1 && key2 != keypad->key1)
drivers/input/keyboard/ep93xx_keypad.c
98
if (keypad->key2 && key1 != keypad->key2 && key2 != keypad->key2)
drivers/input/keyboard/ep93xx_keypad.c
99
input_report_key(input_dev, keypad->key2, 0);
drivers/md/dm-vdo/indexer/radix-sort.c
66
static inline int compare(sort_key_t key1, sort_key_t key2, u16 offset, u16 length)
drivers/md/dm-vdo/indexer/radix-sort.c
68
return memcmp(&key1[offset], &key2[offset], length);
drivers/media/platform/st/sti/bdisp/bdisp-reg.h
62
u32 key2;
drivers/net/ethernet/intel/ice/ice_ddp.h
365
struct ice_boost_key_value key2;
drivers/net/wireless/ath/key.c
134
u32 key0, key1, key2, key3, key4;
drivers/net/wireless/ath/key.c
186
key2 = get_unaligned_le32(k->kv_val + 6);
drivers/net/wireless/ath/key.c
212
REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2);
drivers/net/wireless/ath/key.c
323
REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2);
drivers/pinctrl/bcm/pinctrl-cygnus-mux.c
502
CYGNUS_PIN_GROUP(key2, 0x4, 8, 1),
fs/befs/btree.c
120
const void *key2, int keylen2);
fs/befs/btree.c
712
const void *key2, int keylen2)
fs/befs/btree.c
715
int result = strncmp(key1, key2, len);
fs/befs/btree.c
724
btree_compare_int32(cont void *key1, int keylen1, const void *key2, int keylen2)
fs/befs/btree.c
726
return *(int32_t *) key1 - *(int32_t *) key2;
fs/befs/btree.c
731
const void *key2, int keylen2)
fs/befs/btree.c
733
if (*(u_int32_t *) key1 == *(u_int32_t *) key2)
fs/befs/btree.c
735
else if (*(u_int32_t *) key1 > *(u_int32_t *) key2)
fs/befs/btree.c
741
btree_compare_int64(cont void *key1, int keylen1, const void *key2, int keylen2)
fs/befs/btree.c
743
if (*(int64_t *) key1 == *(int64_t *) key2)
fs/befs/btree.c
745
else if (*(int64_t *) key1 > *(int64_t *) key2)
fs/befs/btree.c
753
const void *key2, int keylen2)
fs/befs/btree.c
755
if (*(u_int64_t *) key1 == *(u_int64_t *) key2)
fs/befs/btree.c
757
else if (*(u_int64_t *) key1 > *(u_int64_t *) key2)
fs/befs/btree.c
764
btree_compare_float(cont void *key1, int keylen1, const void *key2, int keylen2)
fs/befs/btree.c
766
float result = *(float *) key1 - *(float *) key2;
fs/befs/btree.c
775
const void *key2, int keylen2)
fs/befs/btree.c
777
double result = *(double *) key1 - *(double *) key2;
fs/btrfs/relocation.c
992
struct btrfs_disk_key key2;
fs/btrfs/relocation.c
994
btrfs_node_key(path->nodes[level], &key2, path->slots[level]);
fs/btrfs/relocation.c
995
return memcmp(&key1, &key2, sizeof(key1));
fs/hfs/catalog.c
171
int hfs_cat_keycmp(const btree_key *key1, const btree_key *key2)
fs/hfs/catalog.c
176
k2p = key2->cat.ParID;
fs/hfs/catalog.c
182
key2->cat.CName.name, key2->cat.CName.len);
fs/hfs/extent.c
50
int hfs_ext_keycmp(const btree_key *key1, const btree_key *key2)
fs/hfs/extent.c
56
fnum2 = key2->ext.FNum;
fs/hfs/extent.c
59
if (key1->ext.FkType != key2->ext.FkType)
fs/hfs/extent.c
60
return key1->ext.FkType < key2->ext.FkType ? -1 : 1;
fs/hfs/extent.c
63
block2 = key2->ext.FABN;
fs/hfs/hfs_fs.h
146
extern int hfs_cat_keycmp(const btree_key *key1, const btree_key *key2);
fs/hfs/hfs_fs.h
165
extern int hfs_ext_keycmp(const btree_key *key1, const btree_key *key2);
fs/ntfs3/index.c
123
static int cmp_uints(const void *key1, size_t l1, const void *key2, size_t l2,
fs/ntfs3/index.c
127
const __le32 *k2 = key2;
fs/ntfs3/index.c
34
static int cmp_fnames(const void *key1, size_t l1, const void *key2, size_t l2,
fs/ntfs3/index.c
37
const struct ATTR_FILE_NAME *f2 = key2;
fs/ntfs3/index.c
69
static int cmp_uint(const void *key1, size_t l1, const void *key2, size_t l2,
fs/ntfs3/index.c
73
const u32 *k2 = key2;
fs/ntfs3/index.c
88
static int cmp_sdh(const void *key1, size_t l1, const void *key2, size_t l2,
fs/ntfs3/index.c
92
const struct SECURITY_KEY *k2 = key2;
fs/ntfs3/ntfs_fs.h
178
typedef int (*NTFS_CMP_FUNC)(const void *key1, size_t len1, const void *key2,
fs/smb/server/oplock.c
486
const char *guid2, *key2;
fs/smb/server/oplock.c
489
key2 = opinfo->o_lease->lease_key;
fs/smb/server/oplock.c
491
!memcmp(key1, key2, SMB2_LEASE_KEY_SIZE))
fs/ubifs/journal.c
1864
union ubifs_key xent_key, key1, key2;
fs/ubifs/journal.c
1936
highest_ino_key(c, &key2, inode->i_ino);
fs/ubifs/journal.c
1937
err = ubifs_tnc_remove_range(c, &key1, &key2);
fs/ubifs/key.h
480
const union ubifs_key *key2)
fs/ubifs/key.h
482
if (key1->u32[0] < key2->u32[0])
fs/ubifs/key.h
484
if (key1->u32[0] > key2->u32[0])
fs/ubifs/key.h
486
if (key1->u32[1] < key2->u32[1])
fs/ubifs/key.h
488
if (key1->u32[1] > key2->u32[1])
fs/ubifs/key.h
505
const union ubifs_key *key2)
fs/ubifs/key.h
507
if (key1->u32[0] != key2->u32[0])
fs/ubifs/key.h
509
if (key1->u32[1] != key2->u32[1])
fs/ubifs/tnc.c
2904
union ubifs_key key1, key2;
fs/ubifs/tnc.c
2942
highest_ino_key(c, &key2, xattr_inum);
fs/ubifs/tnc.c
2943
err = ubifs_tnc_remove_range(c, &key1, &key2);
fs/ubifs/tnc.c
2957
highest_ino_key(c, &key2, inum);
fs/ubifs/tnc.c
2959
return ubifs_tnc_remove_range(c, &key1, &key2);
fs/ubifs/tnc_misc.c
386
const union ubifs_key *key1, *key2;
fs/ubifs/tnc_misc.c
389
key2 = &znode->zbranch[i + 1].key;
fs/ubifs/tnc_misc.c
391
cmp = keys_cmp(c, key1, key2);
fs/xfs/libxfs/xfs_alloc_btree.c
402
const union xfs_btree_key *key2,
fs/xfs/libxfs/xfs_alloc_btree.c
408
be32_to_cpu(key2->alloc.ar_startblock));
fs/xfs/libxfs/xfs_bmap_btree.c
498
const union xfs_btree_key *key2,
fs/xfs/libxfs/xfs_bmap_btree.c
504
be64_to_cpu(key2->bmbt.br_startoff));
fs/xfs/libxfs/xfs_btree.h
189
const union xfs_btree_key *key2,
fs/xfs/libxfs/xfs_btree.h
217
const union xfs_btree_key *key2,
fs/xfs/libxfs/xfs_btree.h
534
const union xfs_btree_key *key2);
fs/xfs/libxfs/xfs_btree.h
550
const union xfs_btree_key *key2)
fs/xfs/libxfs/xfs_btree.h
552
return cur->bc_ops->cmp_two_keys(cur, key1, key2, NULL) < 0;
fs/xfs/libxfs/xfs_btree.h
559
const union xfs_btree_key *key2)
fs/xfs/libxfs/xfs_btree.h
561
return cur->bc_ops->cmp_two_keys(cur, key1, key2, NULL) > 0;
fs/xfs/libxfs/xfs_btree.h
568
const union xfs_btree_key *key2)
fs/xfs/libxfs/xfs_btree.h
570
return cur->bc_ops->cmp_two_keys(cur, key1, key2, NULL) == 0;
fs/xfs/libxfs/xfs_btree.h
577
const union xfs_btree_key *key2)
fs/xfs/libxfs/xfs_btree.h
579
return !xfs_btree_keycmp_gt(cur, key1, key2);
fs/xfs/libxfs/xfs_btree.h
586
const union xfs_btree_key *key2)
fs/xfs/libxfs/xfs_btree.h
588
return !xfs_btree_keycmp_lt(cur, key1, key2);
fs/xfs/libxfs/xfs_btree.h
595
const union xfs_btree_key *key2)
fs/xfs/libxfs/xfs_btree.h
597
return !xfs_btree_keycmp_eq(cur, key1, key2);
fs/xfs/libxfs/xfs_btree.h
605
const union xfs_btree_key *key2,
fs/xfs/libxfs/xfs_btree.h
608
return cur->bc_ops->cmp_two_keys(cur, key1, key2, mask) < 0;
fs/xfs/libxfs/xfs_btree.h
615
const union xfs_btree_key *key2,
fs/xfs/libxfs/xfs_btree.h
618
return cur->bc_ops->cmp_two_keys(cur, key1, key2, mask) > 0;
fs/xfs/libxfs/xfs_btree.h
625
const union xfs_btree_key *key2,
fs/xfs/libxfs/xfs_btree.h
628
return !xfs_btree_masked_keycmp_lt(cur, key1, key2, mask);
fs/xfs/libxfs/xfs_ialloc_btree.c
402
const union xfs_btree_key *key2,
fs/xfs/libxfs/xfs_ialloc_btree.c
408
be32_to_cpu(key2->inobt.ir_startino));
fs/xfs/libxfs/xfs_refcount_btree.c
311
const union xfs_btree_key *key2,
fs/xfs/libxfs/xfs_refcount_btree.c
317
be32_to_cpu(key2->refc.rc_startblock));
fs/xfs/libxfs/xfs_rmap_btree.c
457
const union xfs_btree_key *key2,
fs/xfs/libxfs/xfs_rmap_btree.c
470
be32_to_cpu(key2->rmap.rm_startblock));
fs/xfs/libxfs/xfs_rtrefcount_btree.c
277
const union xfs_btree_key *key2,
fs/xfs/libxfs/xfs_rtrefcount_btree.c
283
be32_to_cpu(key2->refc.rc_startblock));
fs/xfs/libxfs/xfs_rtrmap_btree.c
371
const union xfs_btree_key *key2,
fs/xfs/libxfs/xfs_rtrmap_btree.c
384
be32_to_cpu(key2->rmap.rm_startblock));
include/crypto/aes.h
201
const struct p8_aes_key *key2, u8 *iv);
include/crypto/aes.h
204
const struct p8_aes_key *key2, u8 *iv);
include/linux/btree-128.h
88
u64 key1, u64 key2, size_t index);
include/linux/mlx5/mlx5_ifc.h
12999
u8 key2[0x8][0x20];
kernel/bpf/local_storage.c
44
const struct bpf_cgroup_storage_key *key2 = _key2;
kernel/bpf/local_storage.c
46
if (key1->cgroup_inode_id < key2->cgroup_inode_id)
kernel/bpf/local_storage.c
48
else if (key1->cgroup_inode_id > key2->cgroup_inode_id)
kernel/bpf/local_storage.c
50
else if (key1->attach_type < key2->attach_type)
kernel/bpf/local_storage.c
52
else if (key1->attach_type > key2->attach_type)
kernel/futex/futex.h
255
static inline int futex_match(union futex_key *key1, union futex_key *key2)
kernel/futex/futex.h
257
return (key1 && key2
kernel/futex/futex.h
258
&& key1->both.word == key2->both.word
kernel/futex/futex.h
259
&& key1->both.ptr == key2->both.ptr
kernel/futex/futex.h
260
&& key1->both.offset == key2->both.offset);
kernel/futex/futex.h
264
struct futex_q *q, union futex_key *key2,
kernel/futex/requeue.c
283
union futex_key *key2, struct futex_pi_state **ps,
kernel/futex/requeue.c
318
if (!futex_match(top_waiter->requeue_pi_key, key2))
kernel/futex/requeue.c
333
ret = futex_lock_pi_atomic(pifutex, hb2, key2, ps, top_waiter->task,
kernel/futex/requeue.c
342
requeue_pi_wake_futex(top_waiter, key2, hb2);
kernel/futex/requeue.c
383
union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT;
kernel/futex/requeue.c
445
ret = get_futex_key(uaddr2, flags2, &key2,
kernel/futex/requeue.c
454
if (requeue_pi && futex_match(&key1, &key2))
kernel/futex/requeue.c
460
CLASS(hb, hb2)(&key2);
kernel/futex/requeue.c
501
&key2, &pi_state,
kernel/futex/requeue.c
612
requeue_futex(this, hb1, hb2, &key2);
kernel/futex/requeue.c
617
if (!futex_match(this->requeue_pi_key, &key2)) {
kernel/futex/requeue.c
656
requeue_pi_wake_futex(this, &key2, hb2);
kernel/futex/requeue.c
660
requeue_futex(this, hb1, hb2, &key2);
kernel/futex/requeue.c
77
struct futex_hash_bucket *hb2, union futex_key *key2)
kernel/futex/requeue.c
785
union futex_key key2 = FUTEX_KEY_INIT;
kernel/futex/requeue.c
808
ret = get_futex_key(uaddr2, flags, &key2, FUTEX_WRITE);
kernel/futex/requeue.c
814
q.requeue_pi_key = &key2;
kernel/futex/requeue.c
820
ret = futex_wait_setup(uaddr, val, flags, &q, &key2, current);
kernel/futex/requeue.c
96
q->key = *key2;
kernel/futex/waitwake.c
254
union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT;
kernel/futex/waitwake.c
263
ret = get_futex_key(uaddr2, flags, &key2, FUTEX_WRITE);
kernel/futex/waitwake.c
270
CLASS(hb, hb2)(&key2);
kernel/futex/waitwake.c
314
if (futex_match(&this->key, &key2)) {
kernel/futex/waitwake.c
592
struct futex_q *q, union futex_key *key2,
kernel/futex/waitwake.c
647
if (key2 && futex_match(&q->key, key2)) {
lib/crypto/tests/polyval_kunit.c
103
KUNIT_ASSERT_MEMEQ(test, key1, key2, sizeof(*key1));
lib/crypto/tests/polyval_kunit.c
109
polyval(key2, data, len, hash2);
lib/crypto/tests/polyval_kunit.c
119
struct polyval_key key1, key2;
lib/crypto/tests/polyval_kunit.c
129
polyval_preparekey(&key2, guarded_raw_key);
lib/crypto/tests/polyval_kunit.c
130
check_key_consistency(test, &key1, &key2);
lib/crypto/tests/polyval_kunit.c
96
const struct polyval_key *key2)
net/mptcp/crypto.c
43
void mptcp_crypto_hmac_sha(u64 key1, u64 key2, u8 *msg, int len, void *hmac)
net/mptcp/crypto.c
45
__be64 key[2] = { cpu_to_be64(key1), cpu_to_be64(key2) };
net/mptcp/crypto_test.c
37
u64 key1, key2;
net/mptcp/crypto_test.c
44
key2 = be64_to_cpu(*((__be64 *)&tests[i].key[8]));
net/mptcp/crypto_test.c
51
mptcp_crypto_hmac_sha(key1, key2, msg, 8, hmac);
net/mptcp/options.c
627
static u64 add_addr_generate_hmac(u64 key1, u64 key2,
net/mptcp/options.c
649
mptcp_crypto_hmac_sha(key1, key2, msg, i, hmac);
net/mptcp/protocol.h
1051
void mptcp_crypto_hmac_sha(u64 key1, u64 key2, u8 *msg, int len, void *hmac);
net/mptcp/subflow.c
50
static void subflow_generate_hmac(u64 key1, u64 key2, u32 nonce1, u32 nonce2,
net/mptcp/subflow.c
58
mptcp_crypto_hmac_sha(key1, key2, msg, 8, hmac);
net/openvswitch/flow_table.c
664
const struct sw_flow_key *key2,
net/openvswitch/flow_table.c
668
const long *cp2 = (const long *)((const u8 *)key2 + key_start);
scripts/kconfig/lxdialog/util.c
522
int key2;
scripts/kconfig/lxdialog/util.c
528
key2 = wgetch(win);
scripts/kconfig/lxdialog/util.c
534
if (key == KEY_ESC && key2 == ERR)
scripts/kconfig/lxdialog/util.c
536
else if (key != ERR && key != KEY_ESC && key2 == ERR)
security/keys/trusted-keys/trusted_tpm1.c
239
const unsigned char *key2,
security/keys/trusted-keys/trusted_tpm1.c
300
ret = TSS_rawhmac(testhmac2, key2, keylen2, SHA1_DIGEST_SIZE,
security/selinux/include/hash.h
10
static inline u32 av_hash(u32 key1, u32 key2, u32 key3, u32 mask)
security/selinux/include/hash.h
33
mix(key2);
security/selinux/ss/avtab.c
66
const struct avtab_key *key2)
security/selinux/ss/avtab.c
70
if (key1->source_type == key2->source_type &&
security/selinux/ss/avtab.c
71
key1->target_type == key2->target_type &&
security/selinux/ss/avtab.c
72
key1->target_class == key2->target_class &&
security/selinux/ss/avtab.c
73
(specified & key2->specified))
security/selinux/ss/avtab.c
75
if (key1->source_type < key2->source_type)
security/selinux/ss/avtab.c
77
if (key1->source_type == key2->source_type &&
security/selinux/ss/avtab.c
78
key1->target_type < key2->target_type)
security/selinux/ss/avtab.c
80
if (key1->source_type == key2->source_type &&
security/selinux/ss/avtab.c
81
key1->target_type == key2->target_type &&
security/selinux/ss/avtab.c
82
key1->target_class < key2->target_class)
security/selinux/ss/hashtab.h
23
int (*cmp)(const void *key1, const void *key2); /* comparison func */
security/selinux/ss/policydb.c
464
const struct range_trans *key1 = k1, *key2 = k2;
security/selinux/ss/policydb.c
467
v = key1->source_type - key2->source_type;
security/selinux/ss/policydb.c
471
v = key1->target_type - key2->target_type;
security/selinux/ss/policydb.c
475
v = key1->target_class - key2->target_class;
security/selinux/ss/policydb.c
501
const struct role_trans_key *key1 = k1, *key2 = k2;
security/selinux/ss/policydb.c
504
v = key1->role - key2->role;
security/selinux/ss/policydb.c
508
v = key1->type - key2->type;
security/selinux/ss/policydb.c
512
return key1->tclass - key2->tclass;
security/selinux/ss/symtab.c
28
static int symcmp(const void *key1, const void *key2)
security/selinux/ss/symtab.c
33
keyp2 = key2;
sound/pci/asihpi/hpi_internal.h
671
u16 key2;
tools/lib/bpf/hashmap.h
44
typedef bool (*hashmap_equal_fn)(long key1, long key2, void *ctx);
tools/lib/bpf/strset.c
30
static bool strset_equal_fn(long key1, long key2, void *ctx)
tools/lib/bpf/strset.c
34
const char *str2 = s->strs_data + key2;
tools/lib/bpf/usdt.c
906
static bool specs_equal_fn(long key1, long key2, void *ctx)
tools/lib/bpf/usdt.c
908
return strcmp((char *)key1, (char *)key2) == 0;
tools/perf/builtin-trace.c
1561
static bool syscall_id_equal(long key1, long key2, void *ctx __maybe_unused)
tools/perf/builtin-trace.c
1563
return key1 == key2;
tools/perf/ui/browsers/annotate.c
54
static bool type_equal(long key1, long key2, void *ctx __maybe_unused)
tools/perf/ui/browsers/annotate.c
56
return key1 == key2;
tools/perf/util/annotate.c
101
return key1 == key2;
tools/perf/util/annotate.c
99
static bool sym_hist_equal(long key1, long key2, void *ctx __maybe_unused)
tools/perf/util/bpf-trace-summary.c
137
static bool sc_node_equal(long key1, long key2, void *ctx __maybe_unused)
tools/perf/util/bpf-trace-summary.c
139
return key1 == key2;
tools/perf/util/bpf_lock_contention.c
32
static bool slab_cache_equal(long key1, long key2, void *ctx __maybe_unused)
tools/perf/util/bpf_lock_contention.c
34
return key1 == key2;
tools/perf/util/expr.c
61
static bool key_equal(long key1, long key2, void *ctx __maybe_unused)
tools/perf/util/expr.c
63
return !strcmp((const char *)key1, (const char *)key2);
tools/perf/util/fncache.c
18
static bool fncache__equal(long key1, long key2, void *ctx __maybe_unused)
tools/perf/util/fncache.c
20
return strcmp((const char *)key1, (const char *)key2) == 0;
tools/perf/util/hashmap.h
44
typedef bool (*hashmap_equal_fn)(long key1, long key2, void *ctx);
tools/perf/util/hwmon_pmu.c
143
static bool hwmon_pmu__event_hashmap_equal(long key1, long key2, void *ctx __maybe_unused)
tools/perf/util/hwmon_pmu.c
146
((union hwmon_pmu_event_key)key2).type_and_num;
tools/perf/util/pmu.c
1177
static bool aliases__equal(long key1, long key2, void *ctx __maybe_unused)
tools/perf/util/pmu.c
1179
return strcasecmp((const char *)key1, (const char *)key2) == 0;
tools/perf/util/s390-sample-raw.c
167
static bool get_counter_name_hashmap_equal_fn(long key1, long key2, void *ctx __maybe_unused)
tools/perf/util/s390-sample-raw.c
169
return key1 == key2;
tools/perf/util/stat.c
299
uint64_t *key2 = (uint64_t *) __key2;
tools/perf/util/stat.c
301
return *key1 == *key2;
tools/perf/util/threads.c
18
static bool key_equal(long key1, long key2, void *ctx __maybe_unused)
tools/perf/util/threads.c
20
return key1 == key2;
tools/testing/selftests/alsa/alsa-local.h
19
snd_config_t *conf_get_subtree(snd_config_t *root, const char *key1, const char *key2);
tools/testing/selftests/alsa/alsa-local.h
20
int conf_get_count(snd_config_t *root, const char *key1, const char *key2);
tools/testing/selftests/alsa/alsa-local.h
21
const char *conf_get_string(snd_config_t *root, const char *key1, const char *key2, const char *def);
tools/testing/selftests/alsa/alsa-local.h
22
long conf_get_long(snd_config_t *root, const char *key1, const char *key2, long def);
tools/testing/selftests/alsa/alsa-local.h
23
int conf_get_bool(snd_config_t *root, const char *key1, const char *key2, int def);
tools/testing/selftests/alsa/alsa-local.h
24
void conf_get_string_array(snd_config_t *root, const char *key1, const char *key2,
tools/testing/selftests/alsa/conf.c
350
const char *key2, snd_config_t **result)
tools/testing/selftests/alsa/conf.c
359
if (key2)
tools/testing/selftests/alsa/conf.c
360
ret = snd_config_search(root, key2, &root);
tools/testing/selftests/alsa/conf.c
366
snd_config_t *conf_get_subtree(snd_config_t *root, const char *key1, const char *key2)
tools/testing/selftests/alsa/conf.c
372
ret = conf_get_by_keys(root, key1, key2, &root);
tools/testing/selftests/alsa/conf.c
376
ksft_exit_fail_msg("key '%s'.'%s' search error: %s\n", key1, key2, snd_strerror(ret));
tools/testing/selftests/alsa/conf.c
380
int conf_get_count(snd_config_t *root, const char *key1, const char *key2)
tools/testing/selftests/alsa/conf.c
388
ret = conf_get_by_keys(root, key1, key2, &cfg);
tools/testing/selftests/alsa/conf.c
392
ksft_exit_fail_msg("key '%s'.'%s' search error: %s\n", key1, key2, snd_strerror(ret));
tools/testing/selftests/alsa/conf.c
394
ksft_exit_fail_msg("key '%s'.'%s' is not a compound\n", key1, key2);
tools/testing/selftests/alsa/conf.c
401
const char *conf_get_string(snd_config_t *root, const char *key1, const char *key2, const char *def)
tools/testing/selftests/alsa/conf.c
409
ret = conf_get_by_keys(root, key1, key2, &cfg);
tools/testing/selftests/alsa/conf.c
413
ksft_exit_fail_msg("key '%s'.'%s' search error: %s\n", key1, key2, snd_strerror(ret));
tools/testing/selftests/alsa/conf.c
415
ksft_exit_fail_msg("key '%s'.'%s' is not a string\n", key1, key2);
tools/testing/selftests/alsa/conf.c
419
long conf_get_long(snd_config_t *root, const char *key1, const char *key2, long def)
tools/testing/selftests/alsa/conf.c
427
ret = conf_get_by_keys(root, key1, key2, &cfg);
tools/testing/selftests/alsa/conf.c
431
ksft_exit_fail_msg("key '%s'.'%s' search error: %s\n", key1, key2, snd_strerror(ret));
tools/testing/selftests/alsa/conf.c
433
ksft_exit_fail_msg("key '%s'.'%s' is not an integer\n", key1, key2);
tools/testing/selftests/alsa/conf.c
437
int conf_get_bool(snd_config_t *root, const char *key1, const char *key2, int def)
tools/testing/selftests/alsa/conf.c
444
ret = conf_get_by_keys(root, key1, key2, &cfg);
tools/testing/selftests/alsa/conf.c
448
ksft_exit_fail_msg("key '%s'.'%s' search error: %s\n", key1, key2, snd_strerror(ret));
tools/testing/selftests/alsa/conf.c
451
ksft_exit_fail_msg("key '%s'.'%s' is not a bool\n", key1, key2);
tools/testing/selftests/alsa/conf.c
455
void conf_get_string_array(snd_config_t *root, const char *key1, const char *key2,
tools/testing/selftests/alsa/conf.c
462
ret = conf_get_by_keys(root, key1, key2, &cfg);
tools/testing/selftests/alsa/conf.c
466
ksft_exit_fail_msg("key '%s'.'%s' search error: %s\n", key1, key2, snd_strerror(ret));
tools/testing/selftests/bpf/progs/verifier_array_access.c
566
__u32 __attribute__((aligned(8))) key2 = 0;
tools/testing/selftests/bpf/progs/verifier_array_access.c
572
val2 = bpf_map_lookup_elem(&map_array, &key2);
tools/testing/selftests/bpf/trace_helpers.c
526
static bool symbol_equal(long key1, long key2, void *ctx __maybe_unused)
tools/testing/selftests/bpf/trace_helpers.c
528
return strcmp((const char *) key1, (const char *) key2) == 0;
tools/testing/selftests/net/tcp_ao/lib/aolib.h
417
struct tcp_ao_getsockopt key2 = {};
tools/testing/selftests/net/tcp_ao/lib/aolib.h
420
err = test_get_one_ao(sk, &key2, &key->addr, sizeof(key->addr),
tools/testing/selftests/net/tcp_ao/lib/aolib.h
425
return test_cmp_getsockopt_setsockopt(key, &key2);