arch/arm/crypto/aes-ce-glue.c
144
struct crypto_aes_ctx key1;
arch/arm/crypto/aes-ce-glue.c
158
ret = ce_aes_expandkey(&ctx->key1, in_key, key_len / 2);
arch/arm/crypto/aes-ce-glue.c
423
int err, first, rounds = num_rounds(&ctx->key1);
arch/arm/crypto/aes-ce-glue.c
462
ctx->key1.key_enc, rounds, nbytes, walk.iv,
arch/arm/crypto/aes-ce-glue.c
484
ctx->key1.key_enc, rounds, walk.nbytes, walk.iv,
arch/arm/crypto/aes-ce-glue.c
495
int err, first, rounds = num_rounds(&ctx->key1);
arch/arm/crypto/aes-ce-glue.c
534
ctx->key1.key_dec, rounds, nbytes, walk.iv,
arch/arm/crypto/aes-ce-glue.c
556
ctx->key1.key_dec, rounds, walk.nbytes, walk.iv,
arch/arm64/crypto/aes-glue.c
117
struct crypto_aes_ctx key1;
arch/arm64/crypto/aes-glue.c
122
struct crypto_aes_ctx key1;
arch/arm64/crypto/aes-glue.c
153
ret = aes_expandkey(&ctx->key1, in_key, key_len / 2);
arch/arm64/crypto/aes-glue.c
168
ret = aes_expandkey(&ctx->key1, in_key, key_len);
arch/arm64/crypto/aes-glue.c
387
int err, rounds = 6 + ctx->key1.key_length / 4;
arch/arm64/crypto/aes-glue.c
398
ctx->key1.key_enc, rounds, blocks,
arch/arm64/crypto/aes-glue.c
409
int err, rounds = 6 + ctx->key1.key_length / 4;
arch/arm64/crypto/aes-glue.c
420
ctx->key1.key_dec, rounds, blocks,
arch/arm64/crypto/aes-glue.c
519
int err, first, rounds = 6 + ctx->key1.key_length / 4;
arch/arm64/crypto/aes-glue.c
558
ctx->key1.key_enc, rounds, nbytes,
arch/arm64/crypto/aes-glue.c
578
ctx->key1.key_enc, rounds, walk.nbytes,
arch/arm64/crypto/aes-glue.c
588
int err, first, rounds = 6 + ctx->key1.key_length / 4;
arch/arm64/crypto/aes-glue.c
627
ctx->key1.key_dec, rounds, nbytes,
arch/arm64/crypto/aes-glue.c
647
ctx->key1.key_dec, rounds, walk.nbytes,
arch/arm64/crypto/sm4-ce-glue.c
355
sm4_ce_xts_enc(ctx->key1.rkey_enc, walk.dst.virt.addr,
arch/arm64/crypto/sm4-ce-glue.c
359
sm4_ce_xts_dec(ctx->key1.rkey_dec, walk.dst.virt.addr,
arch/arm64/crypto/sm4-ce-glue.c
387
sm4_ce_xts_enc(ctx->key1.rkey_enc, walk.dst.virt.addr,
arch/arm64/crypto/sm4-ce-glue.c
391
sm4_ce_xts_dec(ctx->key1.rkey_dec, walk.dst.virt.addr,
arch/arm64/crypto/sm4-ce-glue.c
56
struct sm4_ctx key1;
arch/arm64/crypto/sm4-ce-glue.c
97
sm4_ce_expand_key(key, ctx->key1.rkey_enc,
arch/arm64/crypto/sm4-ce-glue.c
98
ctx->key1.rkey_dec, crypto_sm4_fk, crypto_sm4_ck);
crypto/xcbc.c
44
u8 key1[XCBC_BLOCKSIZE];
crypto/xcbc.c
45
int bs = sizeof(key1);
crypto/xcbc.c
52
crypto_cipher_encrypt_one(ctx->child, key1, (u8 *)ks);
crypto/xcbc.c
54
return crypto_cipher_setkey(ctx->child, key1, bs);
drivers/crypto/cavium/cpt/cptvf_algs.c
237
const u8 *key1 = key;
drivers/crypto/cavium/cpt/cptvf_algs.c
244
memcpy(ctx->enc_key, key1, keylen / 2);
drivers/crypto/cavium/nitrox/nitrox_req.h
132
u8 key1[AES_MAX_KEY_SIZE];
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c
399
const u8 *key1 = key;
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c
406
memcpy(ctx->enc_key, key1, keylen / 2);
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c
418
const u8 *key1 = key;
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c
426
memcpy(ctx->enc_key, key1, keylen / 2);
drivers/crypto/tegra/tegra-se-aes.c
297
ret = tegra_key_submit_reserved_aes(ctx->se, ctx->key1,
drivers/crypto/tegra/tegra-se-aes.c
32
u8 key1[AES_MAX_KEY_SIZE];
drivers/crypto/tegra/tegra-se-aes.c
396
memcpy(ctx->key1, key, keylen);
drivers/crypto/tegra/tegra-se-aes.c
419
memcpy(ctx->key1, key, len);
drivers/infiniband/hw/mlx5/mr.c
635
static int cache_ent_key_cmp(struct mlx5r_cache_rb_key key1,
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
18
return (((key1 & 0x7fff) != 0) &&
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
101
input_report_key(input_dev, key1, 1);
drivers/input/keyboard/ep93xx_keypad.c
104
keypad->key1 = key1;
drivers/input/keyboard/ep93xx_keypad.c
108
if (keypad->key1 && key1 != keypad->key1)
drivers/input/keyboard/ep93xx_keypad.c
109
input_report_key(input_dev, keypad->key1, 0);
drivers/input/keyboard/ep93xx_keypad.c
111
if (keypad->key2 && key1 != keypad->key2)
drivers/input/keyboard/ep93xx_keypad.c
114
input_report_key(input_dev, key1, 1);
drivers/input/keyboard/ep93xx_keypad.c
116
keypad->key1 = key1;
drivers/input/keyboard/ep93xx_keypad.c
120
input_report_key(input_dev, keypad->key1, 0);
drivers/input/keyboard/ep93xx_keypad.c
123
keypad->key1 = keypad->key2 = 0;
drivers/input/keyboard/ep93xx_keypad.c
71
int key1;
drivers/input/keyboard/ep93xx_keypad.c
84
int keycode, key1, key2;
drivers/input/keyboard/ep93xx_keypad.c
89
key1 = 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
96
input_report_key(input_dev, keypad->key1, 0);
drivers/input/keyboard/ep93xx_keypad.c
98
if (keypad->key2 && key1 != keypad->key2 && key2 != keypad->key2)
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
61
u32 key1;
drivers/net/wireless/ath/key.c
134
u32 key0, key1, key2, key3, key4;
drivers/net/wireless/ath/key.c
185
key1 = get_unaligned_le16(k->kv_val + 4);
drivers/net/wireless/ath/key.c
209
REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), ~key1);
drivers/net/wireless/ath/key.c
312
REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1);
drivers/net/wireless/ath/key.c
320
REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1);
drivers/pci/switch/switchtec.c
779
set_fw_info_part(info, &fi->key1);
drivers/pinctrl/bcm/pinctrl-cygnus-mux.c
501
CYGNUS_PIN_GROUP(key1, 0x4, 4, 1),
fs/befs/btree.c
119
static int befs_compare_strings(const void *key1, int keylen1,
fs/befs/btree.c
711
befs_compare_strings(const void *key1, int keylen1,
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
730
btree_compare_uint32(cont void *key1, int keylen1,
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
752
btree_compare_uint64(cont void *key1, int keylen1,
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
774
btree_compare_double(cont void *key1, int keylen1,
fs/befs/btree.c
777
double result = *(double *) key1 - *(double *) key2;
fs/btrfs/relocation.c
991
struct btrfs_disk_key key1;
fs/btrfs/relocation.c
993
btrfs_node_key(eb, &key1, slot);
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
175
k1p = key1->cat.ParID;
fs/hfs/catalog.c
181
return hfs_strcmp(key1->cat.CName.name, key1->cat.CName.len,
fs/hfs/extent.c
50
int hfs_ext_keycmp(const btree_key *key1, const btree_key *key2)
fs/hfs/extent.c
55
fnum1 = key1->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
62
block1 = key1->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
126
const __le32 *k1 = key1;
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
58
return ntfs_cmp_names_cpu(key1, s2, sbi->upcase, both_case);
fs/ntfs3/index.c
61
f1 = key1;
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
72
const u32 *k1 = key1;
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
91
const struct SECURITY_KEY *k1 = key1;
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
484
const char *guid1, const char *key1)
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
1935
lowest_ino_key(c, &key1, inode->i_ino);
fs/ubifs/journal.c
1937
err = ubifs_tnc_remove_range(c, &key1, &key2);
fs/ubifs/journal.c
1945
ino_key_init(c, &key1, host->i_ino);
fs/ubifs/journal.c
1946
err = ubifs_tnc_add(c, &key1, lnum, xent_offs + len - hlen, hlen, hash);
fs/ubifs/key.h
479
const union ubifs_key *key1,
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
504
const union ubifs_key *key1,
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
1729
union ubifs_key key1;
fs/ubifs/tnc.c
1758
key_read(c, buf + UBIFS_KEY_OFFSET, &key1);
fs/ubifs/tnc.c
1759
if (!keys_eq(c, &zbr->key, &key1)) {
fs/ubifs/tnc.c
1763
dbg_tnck(&key1, "found node's key ");
fs/ubifs/tnc.c
2035
union ubifs_key *key, *key1;
fs/ubifs/tnc.c
2041
key1 = &znode->parent->zbranch[0].key;
fs/ubifs/tnc.c
2043
while (keys_cmp(c, key, key1) < 0) {
fs/ubifs/tnc.c
2044
key_copy(c, key, key1);
fs/ubifs/tnc.c
2049
key1 = &znode->parent->zbranch[0].key;
fs/ubifs/tnc.c
2122
union ubifs_key *key = &zbr->key, *key1;
fs/ubifs/tnc.c
2165
key1 = &znode->zbranch[n - 1].key;
fs/ubifs/tnc.c
2166
if (key_inum(c, key1) == key_inum(c, key) &&
fs/ubifs/tnc.c
2167
key_type(c, key1) == UBIFS_DATA_KEY)
fs/ubifs/tnc.c
2176
key1 = &znode->zbranch[0].key;
fs/ubifs/tnc.c
2177
if (key_inum(c, key1) == key_inum(c, key) &&
fs/ubifs/tnc.c
2178
key_type(c, key1) == UBIFS_DATA_KEY) {
fs/ubifs/tnc.c
2179
key1 = &znode->zbranch[n].key;
fs/ubifs/tnc.c
2180
if (key_inum(c, key1) != key_inum(c, key) ||
fs/ubifs/tnc.c
2181
key_type(c, key1) != UBIFS_DATA_KEY) {
fs/ubifs/tnc.c
2904
union ubifs_key key1, key2;
fs/ubifs/tnc.c
2914
lowest_xent_key(c, &key1, inum);
fs/ubifs/tnc.c
2919
xent = ubifs_tnc_next_ent(c, &key1, &nm);
fs/ubifs/tnc.c
2934
err = ubifs_tnc_remove_nm(c, &key1, &nm);
fs/ubifs/tnc.c
2941
lowest_ino_key(c, &key1, xattr_inum);
fs/ubifs/tnc.c
2943
err = ubifs_tnc_remove_range(c, &key1, &key2);
fs/ubifs/tnc.c
2952
key_read(c, &xent->key, &key1);
fs/ubifs/tnc.c
2956
lowest_ino_key(c, &key1, 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
388
key1 = &znode->zbranch[i].key;
fs/ubifs/tnc_misc.c
391
cmp = keys_cmp(c, key1, key2);
fs/ubifs/tnc_misc.c
395
} else if (cmp == 0 && !is_hash_key(c, key1)) {
fs/ubifs/tnc_misc.c
478
union ubifs_key key1, *key = &zbr->key;
fs/ubifs/tnc_misc.c
500
key_read(c, node + UBIFS_KEY_OFFSET, &key1);
fs/ubifs/tnc_misc.c
501
if (!keys_eq(c, key, &key1)) {
fs/ubifs/tnc_misc.c
505
dbg_tnck(&key1, "but found node's key ");
fs/xfs/libxfs/xfs_alloc_btree.c
401
const union xfs_btree_key *key1,
fs/xfs/libxfs/xfs_alloc_btree.c
407
return xbtree_key_contig(be32_to_cpu(key1->alloc.ar_startblock),
fs/xfs/libxfs/xfs_bmap_btree.c
497
const union xfs_btree_key *key1,
fs/xfs/libxfs/xfs_bmap_btree.c
503
return xbtree_key_contig(be64_to_cpu(key1->bmbt.br_startoff),
fs/xfs/libxfs/xfs_btree.h
188
const union xfs_btree_key *key1,
fs/xfs/libxfs/xfs_btree.h
216
const union xfs_btree_key *key1,
fs/xfs/libxfs/xfs_btree.h
533
const union xfs_btree_key *key1,
fs/xfs/libxfs/xfs_btree.h
549
const union xfs_btree_key *key1,
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
558
const union xfs_btree_key *key1,
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
567
const union xfs_btree_key *key1,
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
576
const union xfs_btree_key *key1,
fs/xfs/libxfs/xfs_btree.h
579
return !xfs_btree_keycmp_gt(cur, key1, key2);
fs/xfs/libxfs/xfs_btree.h
585
const union xfs_btree_key *key1,
fs/xfs/libxfs/xfs_btree.h
588
return !xfs_btree_keycmp_lt(cur, key1, key2);
fs/xfs/libxfs/xfs_btree.h
594
const union xfs_btree_key *key1,
fs/xfs/libxfs/xfs_btree.h
597
return !xfs_btree_keycmp_eq(cur, key1, key2);
fs/xfs/libxfs/xfs_btree.h
604
const union xfs_btree_key *key1,
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
614
const union xfs_btree_key *key1,
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
624
const union xfs_btree_key *key1,
fs/xfs/libxfs/xfs_btree.h
628
return !xfs_btree_masked_keycmp_lt(cur, key1, key2, mask);
fs/xfs/libxfs/xfs_ialloc_btree.c
401
const union xfs_btree_key *key1,
fs/xfs/libxfs/xfs_ialloc_btree.c
407
return xbtree_key_contig(be32_to_cpu(key1->inobt.ir_startino),
fs/xfs/libxfs/xfs_refcount_btree.c
310
const union xfs_btree_key *key1,
fs/xfs/libxfs/xfs_refcount_btree.c
316
return xbtree_key_contig(be32_to_cpu(key1->refc.rc_startblock),
fs/xfs/libxfs/xfs_rmap_btree.c
456
const union xfs_btree_key *key1,
fs/xfs/libxfs/xfs_rmap_btree.c
469
return xbtree_key_contig(be32_to_cpu(key1->rmap.rm_startblock),
fs/xfs/libxfs/xfs_rtrefcount_btree.c
276
const union xfs_btree_key *key1,
fs/xfs/libxfs/xfs_rtrefcount_btree.c
282
return xbtree_key_contig(be32_to_cpu(key1->refc.rc_startblock),
fs/xfs/libxfs/xfs_rtrmap_btree.c
370
const union xfs_btree_key *key1,
fs/xfs/libxfs/xfs_rtrmap_btree.c
383
return xbtree_key_contig(be32_to_cpu(key1->rmap.rm_startblock),
include/crypto/aes.h
200
const struct p8_aes_key *key1,
include/crypto/aes.h
203
const struct p8_aes_key *key1,
include/linux/btree-128.h
88
u64 key1, u64 key2, size_t index);
include/linux/mlx5/mlx5_ifc.h
12997
u8 key1[0x8][0x20];
include/linux/switchtec.h
255
struct partition_info key1;
kernel/bpf/local_storage.c
43
const struct bpf_cgroup_storage_key *key1 = _key1;
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/requeue.c
282
struct futex_hash_bucket *hb2, union futex_key *key1,
kernel/futex/requeue.c
304
top_waiter = futex_top_waiter(hb1, key1);
kernel/futex/requeue.c
383
union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT;
kernel/futex/requeue.c
442
ret = get_futex_key(uaddr1, flags1, &key1, FUTEX_READ);
kernel/futex/requeue.c
454
if (requeue_pi && futex_match(&key1, &key2))
kernel/futex/requeue.c
459
CLASS(hb, hb1)(&key1);
kernel/futex/requeue.c
500
ret = futex_proxy_trylock_atomic(uaddr2, hb1, hb2, &key1,
kernel/futex/requeue.c
590
if (!futex_match(&this->key, &key1))
kernel/futex/waitwake.c
254
union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT;
kernel/futex/waitwake.c
260
ret = get_futex_key(uaddr1, flags, &key1, FUTEX_READ);
kernel/futex/waitwake.c
269
CLASS(hb, hb1)(&key1);
kernel/futex/waitwake.c
300
if (futex_match(&this->key, &key1)) {
lib/crypto/tests/polyval_kunit.c
103
KUNIT_ASSERT_MEMEQ(test, key1, key2, sizeof(*key1));
lib/crypto/tests/polyval_kunit.c
108
polyval(key1, data, len, hash1);
lib/crypto/tests/polyval_kunit.c
119
struct polyval_key key1, key2;
lib/crypto/tests/polyval_kunit.c
121
(struct polyval_key *)&test_buf[TEST_BUF_LEN - sizeof(key1)];
lib/crypto/tests/polyval_kunit.c
125
polyval_preparekey(&key1, raw_key);
lib/crypto/tests/polyval_kunit.c
130
check_key_consistency(test, &key1, &key2);
lib/crypto/tests/polyval_kunit.c
134
check_key_consistency(test, &key1, guarded_key);
lib/crypto/tests/polyval_kunit.c
95
const struct polyval_key *key1,
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
43
key1 = be64_to_cpu(*((__be64 *)&tests[i].key[0]));
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
663
static bool cmp_key(const struct sw_flow_key *key1,
net/openvswitch/flow_table.c
667
const long *cp1 = (const long *)((const u8 *)key1 + key_start);
security/keys/trusted-keys/trusted_tpm1.c
237
const unsigned char *key1,
security/keys/trusted-keys/trusted_tpm1.c
293
ret = TSS_rawhmac(testhmac1, key1, keylen1, 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
32
mix(key1);
security/selinux/ss/avtab.c
65
static int avtab_node_cmp(const struct avtab_key *key1,
security/selinux/ss/avtab.c
68
u16 specified = key1->specified & ~(AVTAB_ENABLED | AVTAB_ENABLED_OLD);
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
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
32
keyp1 = key1;
sound/pci/asihpi/hpi_internal.h
670
u16 key1;
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
33
const char *str1 = s->strs_data + key1;
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
145
return ((union hwmon_pmu_event_key)key1).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
298
uint64_t *key1 = (uint64_t *) __key1;
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
349
static int conf_get_by_keys(snd_config_t *root, const char *key1,
tools/testing/selftests/alsa/conf.c
354
if (key1) {
tools/testing/selftests/alsa/conf.c
355
ret = snd_config_search(root, key1, &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/prog_tests/timer_mim.c
10
int err, prog_fd, key1 = 1;
tools/testing/selftests/bpf/prog_tests/timer_mim.c
38
err = bpf_map__delete_elem(timer_skel->maps.outer_arr, &key1, sizeof(key1), 0);
tools/testing/selftests/bpf/progs/rbtree_search.c
14
int key1;
tools/testing/selftests/bpf/progs/rbtree_search.c
48
return node_a->key1 < node_b->key1;
tools/testing/selftests/bpf/progs/rbtree_search.c
68
m->key1 = i;
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;