Home
last modified time | relevance | path

Searched refs:key2 (Results 1 – 25 of 41) sorted by relevance

12

/Linux-v4.19/drivers/input/keyboard/
Dep93xx_keypad.c77 int key2; member
89 int keycode, key1, key2; in ep93xx_keypad_irq_handler() local
97 key2 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler()
100 if (keypad->key1 && key1 != keypad->key1 && key2 != keypad->key1) in ep93xx_keypad_irq_handler()
103 if (keypad->key2 && key1 != keypad->key2 && key2 != keypad->key2) in ep93xx_keypad_irq_handler()
104 input_report_key(input_dev, keypad->key2, 0); in ep93xx_keypad_irq_handler()
107 input_report_key(input_dev, key2, 1); in ep93xx_keypad_irq_handler()
110 keypad->key2 = key2; in ep93xx_keypad_irq_handler()
116 if (keypad->key2 && key1 != keypad->key2) in ep93xx_keypad_irq_handler()
117 input_report_key(input_dev, keypad->key2, 0); in ep93xx_keypad_irq_handler()
[all …]
/Linux-v4.19/fs/befs/
Dbtree.c120 const void *key2, int keylen2);
713 const void *key2, int keylen2) in befs_compare_strings() argument
716 int result = strncmp(key1, key2, len); in befs_compare_strings()
725 btree_compare_int32(cont void *key1, int keylen1, const void *key2, int keylen2)
727 return *(int32_t *) key1 - *(int32_t *) key2;
732 const void *key2, int keylen2)
734 if (*(u_int32_t *) key1 == *(u_int32_t *) key2)
736 else if (*(u_int32_t *) key1 > *(u_int32_t *) key2)
742 btree_compare_int64(cont void *key1, int keylen1, const void *key2, int keylen2)
744 if (*(int64_t *) key1 == *(int64_t *) key2)
[all …]
/Linux-v4.19/arch/arm/crypto/
Daes-ce-core.S28 .macro enc_dround, key1, key2
30 enc_round q0, \key2
33 .macro dec_dround, key1, key2
35 dec_round q0, \key2
38 .macro enc_fround, key1, key2, key3
40 aese.8 q0, \key2
44 .macro dec_fround, key1, key2, key3
46 aesd.8 q0, \key2
50 .macro enc_dround_3x, key1, key2
54 enc_round q0, \key2
[all …]
Daes-ce-glue.c153 struct crypto_aes_ctx __aligned(8) key2;
168 ret = ce_aes_expandkey(&ctx->key2, &in_key[key_len / 2], in xts_set_key()
310 walk.iv, (u8 *)ctx->key2.key_enc, first); in xts_encrypt()
332 walk.iv, (u8 *)ctx->key2.key_enc, first); in xts_decrypt()
/Linux-v4.19/kernel/
Dfutex.c409 static inline int match_futex(union futex_key *key1, union futex_key *key2) in match_futex() argument
411 return (key1 && key2 in match_futex()
412 && key1->both.word == key2->both.word in match_futex()
413 && key1->both.ptr == key2->both.ptr in match_futex()
414 && key1->both.offset == key2->both.offset); in match_futex()
1618 union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT; in futex_wake_op() local
1628 ret = get_futex_key(uaddr2, flags & FLAGS_SHARED, &key2, VERIFY_WRITE); in futex_wake_op()
1633 hb2 = hash_futex(&key2); in futex_wake_op()
1663 put_futex_key(&key2); in futex_wake_op()
1683 if (match_futex (&this->key, &key2)) { in futex_wake_op()
[all …]
/Linux-v4.19/fs/ubifs/
Dkey.h493 const union ubifs_key *key2) in keys_cmp() argument
495 if (key1->u32[0] < key2->u32[0]) in keys_cmp()
497 if (key1->u32[0] > key2->u32[0]) in keys_cmp()
499 if (key1->u32[1] < key2->u32[1]) in keys_cmp()
501 if (key1->u32[1] > key2->u32[1]) in keys_cmp()
518 const union ubifs_key *key2) in keys_eq() argument
520 if (key1->u32[0] != key2->u32[0]) in keys_eq()
522 if (key1->u32[1] != key2->u32[1]) in keys_eq()
Dtnc_misc.c372 const union ubifs_key *key1, *key2; in read_znode() local
375 key2 = &znode->zbranch[i + 1].key; in read_znode()
377 cmp = keys_cmp(c, key1, key2); in read_znode()
/Linux-v4.19/security/selinux/ss/
Dsymtab.c26 static int symcmp(struct hashtab *h, const void *key1, const void *key2) in symcmp() argument
31 keyp2 = key2; in symcmp()
Dhashtab.h28 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2);
44 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2),
Dhashtab.c16 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2), in hashtab_create() argument
/Linux-v4.19/drivers/crypto/vmx/
Daesp8-ppc.h24 const struct aes_key *key1, const struct aes_key *key2, u8 *iv);
26 const struct aes_key *key1, const struct aes_key *key2, u8 *iv);
Daesp8-ppc.pl1948 my ($inp,$out,$len,$key1,$key2,$ivp,$rounds,$idx) = map("r$_",(3..10));
1952 my $taillen = $key2;
1986 ${UCMP}i $key2,0 # key2==NULL?
1989 ?lvsl $keyperm,0,$key2 # prepare for unaligned key
1990 lwz $rounds,240($key2)
1995 lvx $rndkey0,0,$key2
1996 lvx $rndkey1,$idx,$key2
2000 lvx $rndkey0,$idx,$key2
2007 lvx $rndkey1,$idx,$key2
2011 lvx $rndkey0,$idx,$key2
[all …]
/Linux-v4.19/fs/cifs/
Dsmbencrypt.c72 unsigned char key2[8]; in smbhash() local
75 str_to_key(key, key2); in smbhash()
83 crypto_cipher_setkey(tfm_des, key2, 8); in smbhash()
/Linux-v4.19/kernel/bpf/
Dlocal_storage.c33 const struct bpf_cgroup_storage_key *key2) in bpf_cgroup_storage_key_cmp() argument
35 if (key1->cgroup_inode_id < key2->cgroup_inode_id) in bpf_cgroup_storage_key_cmp()
37 else if (key1->cgroup_inode_id > key2->cgroup_inode_id) in bpf_cgroup_storage_key_cmp()
39 else if (key1->attach_type < key2->attach_type) in bpf_cgroup_storage_key_cmp()
41 else if (key1->attach_type > key2->attach_type) in bpf_cgroup_storage_key_cmp()
/Linux-v4.19/fs/hfs/
Dcatalog.c163 int hfs_cat_keycmp(const btree_key *key1, const btree_key *key2) in hfs_cat_keycmp() argument
168 k2p = key2->cat.ParID; in hfs_cat_keycmp()
174 key2->cat.CName.name, key2->cat.CName.len); in hfs_cat_keycmp()
Dextent.c50 int hfs_ext_keycmp(const btree_key *key1, const btree_key *key2) in hfs_ext_keycmp() argument
56 fnum2 = key2->ext.FNum; in hfs_ext_keycmp()
59 if (key1->ext.FkType != key2->ext.FkType) in hfs_ext_keycmp()
60 return key1->ext.FkType < key2->ext.FkType ? -1 : 1; in hfs_ext_keycmp()
63 block2 = key2->ext.FABN; in hfs_ext_keycmp()
/Linux-v4.19/tools/perf/Documentation/
Dperf-kmem.txt42 -s <key[,key2...]>::
43 --sort=<key[,key2...]>::
/Linux-v4.19/drivers/infiniband/sw/rxe/
Drxe_verbs.h44 static inline int pkey_match(u16 key1, u16 key2) in pkey_match() argument
47 ((key1 & 0x7fff) == (key2 & 0x7fff)) && in pkey_match()
48 ((key1 & 0x8000) || (key2 & 0x8000))) ? 1 : 0; in pkey_match()
/Linux-v4.19/drivers/net/wireless/ath/
Dkey.c134 u32 key0, key1, key2, key3, key4; in ath_hw_set_keycache_entry() local
186 key2 = get_unaligned_le32(k->kv_val + 6); in ath_hw_set_keycache_entry()
212 REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2); in ath_hw_set_keycache_entry()
323 REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2); in ath_hw_set_keycache_entry()
/Linux-v4.19/scripts/kconfig/lxdialog/
Dutil.c563 int key2; in on_key_esc() local
569 key2 = wgetch(win); in on_key_esc()
575 if (key == KEY_ESC && key2 == ERR) in on_key_esc()
577 else if (key != ERR && key != KEY_ESC && key2 == ERR) in on_key_esc()
/Linux-v4.19/arch/arm64/crypto/
Daes-glue.c92 struct crypto_aes_ctx __aligned(8) key2;
123 ret = aes_expandkey(&ctx->key2, &in_key[key_len / 2], in xts_set_key()
276 (u8 *)ctx->key2.key_enc, walk.iv, first); in xts_encrypt()
298 (u8 *)ctx->key2.key_enc, walk.iv, first); in xts_decrypt()
/Linux-v4.19/include/linux/
Dbtree-128.h88 u64 key1, u64 key2, size_t index);
/Linux-v4.19/drivers/media/platform/sti/bdisp/
Dbdisp-reg.h62 u32 key2; member
/Linux-v4.19/drivers/crypto/cavium/cpt/
Dcptvf_algs.c242 const u8 *key2 = key + (keylen / 2); in cvm_xts_setkey() local
249 memcpy(ctx->enc_key + KEY2_OFFSET, key2, keylen / 2); in cvm_xts_setkey()
/Linux-v4.19/drivers/crypto/cavium/nitrox/
Dnitrox_req.h134 u8 key2[64]; member

12