/linux/drivers/input/keyboard/ |
A D | ep93xx_keypad.c | 74 int key1; member 87 int keycode, key1, key2; in ep93xx_keypad_irq_handler() local 92 key1 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler() 98 if (keypad->key1 && key1 != keypad->key1 && key2 != keypad->key1) in ep93xx_keypad_irq_handler() 104 input_report_key(input_dev, key1, 1); in ep93xx_keypad_irq_handler() 107 keypad->key1 = key1; in ep93xx_keypad_irq_handler() 111 if (keypad->key1 && key1 != keypad->key1) in ep93xx_keypad_irq_handler() 114 if (keypad->key2 && key1 != keypad->key2) in ep93xx_keypad_irq_handler() 117 input_report_key(input_dev, key1, 1); in ep93xx_keypad_irq_handler() 119 keypad->key1 = key1; in ep93xx_keypad_irq_handler() [all …]
|
/linux/fs/befs/ |
A D | btree.c | 712 befs_compare_strings(const void *key1, int keylen1, in befs_compare_strings() argument 716 int result = strncmp(key1, key2, len); in befs_compare_strings() 727 return *(int32_t *) key1 - *(int32_t *) key2; 731 btree_compare_uint32(cont void *key1, int keylen1, 734 if (*(u_int32_t *) key1 == *(u_int32_t *) key2) 744 if (*(int64_t *) key1 == *(int64_t *) key2) 746 else if (*(int64_t *) key1 > *(int64_t *) key2) 753 btree_compare_uint64(cont void *key1, int keylen1, 756 if (*(u_int64_t *) key1 == *(u_int64_t *) key2) 767 float result = *(float *) key1 - *(float *) key2; [all …]
|
/linux/arch/arm/crypto/ |
A D | aes-ce-core.S | 27 enc_round q0, \key1 32 dec_round q0, \key1 37 enc_round q0, \key1 43 dec_round q0, \key1 49 enc_round q0, \key1 50 enc_round q1, \key1 51 enc_round q2, \key1 52 enc_round q3, \key1 60 dec_round q0, \key1 61 dec_round q1, \key1 [all …]
|
A D | aes-ce-glue.c | 146 struct crypto_aes_ctx key1; member 160 ret = ce_aes_expandkey(&ctx->key1, in_key, key_len / 2); in xts_set_key() 448 int err, first, rounds = num_rounds(&ctx->key1); in xts_encrypt() 487 ctx->key1.key_enc, rounds, nbytes, walk.iv, in xts_encrypt() 509 ctx->key1.key_enc, rounds, walk.nbytes, walk.iv, in xts_encrypt() 520 int err, first, rounds = num_rounds(&ctx->key1); in xts_decrypt() 559 ctx->key1.key_dec, rounds, nbytes, walk.iv, in xts_decrypt() 581 ctx->key1.key_dec, rounds, walk.nbytes, walk.iv, in xts_decrypt()
|
/linux/fs/ubifs/ |
A D | key.h | 479 const union ubifs_key *key1, in keys_cmp() argument 482 if (key1->u32[0] < key2->u32[0]) in keys_cmp() 484 if (key1->u32[0] > key2->u32[0]) in keys_cmp() 486 if (key1->u32[1] < key2->u32[1]) in keys_cmp() 488 if (key1->u32[1] > key2->u32[1]) in keys_cmp() 504 const union ubifs_key *key1, in keys_eq() argument 507 if (key1->u32[0] != key2->u32[0]) in keys_eq() 509 if (key1->u32[1] != key2->u32[1]) in keys_eq()
|
A D | tnc_misc.c | 369 const union ubifs_key *key1, *key2; in read_znode() local 371 key1 = &znode->zbranch[i].key; in read_znode() 374 cmp = keys_cmp(c, key1, key2); in read_znode() 379 } else if (cmp == 0 && !is_hash_key(c, key1)) { in read_znode() 463 union ubifs_key key1, *key = &zbr->key; in ubifs_tnc_read_node() local 485 key_read(c, node + UBIFS_KEY_OFFSET, &key1); in ubifs_tnc_read_node() 486 if (!keys_eq(c, key, &key1)) { in ubifs_tnc_read_node() 490 dbg_tnck(&key1, "but found node's key "); in ubifs_tnc_read_node()
|
A D | tnc.c | 1692 union ubifs_key key1; in validate_data_node() local 1722 if (!keys_eq(c, &zbr->key, &key1)) { in validate_data_node() 1998 union ubifs_key *key, *key1; in correct_parent_keys() local 2006 while (keys_cmp(c, key, key1) < 0) { in correct_parent_keys() 2007 key_copy(c, key, key1); in correct_parent_keys() 2139 key1 = &znode->zbranch[0].key; in tnc_insert() 2142 key1 = &znode->zbranch[n].key; in tnc_insert() 2867 union ubifs_key key1, key2; in ubifs_tnc_remove_ino() local 2877 lowest_xent_key(c, &key1, inum); in ubifs_tnc_remove_ino() 2917 key_read(c, &xent->key, &key1); in ubifs_tnc_remove_ino() [all …]
|
/linux/drivers/crypto/vmx/ |
A D | aesp8-ppc.pl | 2501 lvx v30,$x10,$key1 2502 addi $key1,$key1,0x20 2503 lvx v31,$x00,$key1 2510 lvx v30,$x10,$key1 2511 addi $key1,$key1,0x20 2514 lvx v31,$x00,$key1 2519 lvx v26,$x10,$key1 2521 lvx v27,$x20,$key1 2524 lvx v28,$x30,$key1 3154 addi $key1,$key1,0x20 [all …]
|
A D | aesp8-ppc.h | 28 const struct aes_key *key1, const struct aes_key *key2, u8 *iv); 30 const struct aes_key *key1, const struct aes_key *key2, u8 *iv);
|
/linux/kernel/futex/ |
A D | requeue.c | 268 struct futex_hash_bucket *hb2, union futex_key *key1, in futex_proxy_trylock_atomic() argument 290 top_waiter = futex_top_waiter(hb1, key1); in futex_proxy_trylock_atomic() 367 union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT; in futex_requeue() local 427 ret = get_futex_key(uaddr1, flags & FLAGS_SHARED, &key1, FUTEX_READ); in futex_requeue() 439 if (requeue_pi && futex_match(&key1, &key2)) in futex_requeue() 442 hb1 = futex_hash(&key1); in futex_requeue() 484 ret = futex_proxy_trylock_atomic(uaddr2, hb1, hb2, &key1, in futex_requeue() 574 if (!futex_match(&this->key, &key1)) in futex_requeue()
|
A D | futex.h | 140 static inline int futex_match(union futex_key *key1, union futex_key *key2) in futex_match() argument 142 return (key1 && key2 in futex_match() 143 && key1->both.word == key2->both.word in futex_match() 144 && key1->both.ptr == key2->both.ptr in futex_match() 145 && key1->both.offset == key2->both.offset); in futex_match()
|
A D | waitwake.c | 241 union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT; in futex_wake_op() local 248 ret = get_futex_key(uaddr1, flags & FLAGS_SHARED, &key1, FUTEX_READ); in futex_wake_op() 255 hb1 = futex_hash(&key1); in futex_wake_op() 287 if (futex_match (&this->key, &key1)) { in futex_wake_op()
|
/linux/net/mptcp/ |
A D | crypto_test.c | 37 u64 key1, key2; in mptcp_crypto_test_basic() local 43 key1 = be64_to_cpu(*((__be64 *)&tests[i].key[0])); in mptcp_crypto_test_basic() 51 mptcp_crypto_hmac_sha(key1, key2, msg, 8, hmac); in mptcp_crypto_test_basic()
|
A D | crypto.c | 44 void mptcp_crypto_hmac_sha(u64 key1, u64 key2, u8 *msg, int len, void *hmac) in mptcp_crypto_hmac_sha() argument 54 put_unaligned_be64(key1, key1be); in mptcp_crypto_hmac_sha()
|
/linux/arch/arm64/crypto/ |
A D | aes-glue.c | 113 struct crypto_aes_ctx key1; member 118 struct crypto_aes_ctx key1; member 166 ret = aes_expandkey(&ctx->key1, in_key, key_len); in essiv_cbc_set_key() 407 int err, rounds = 6 + ctx->key1.key_length / 4; in essiv_cbc_encrypt() 417 ctx->key1.key_enc, rounds, blocks, in essiv_cbc_encrypt() 429 int err, rounds = 6 + ctx->key1.key_length / 4; in essiv_cbc_decrypt() 439 ctx->key1.key_dec, rounds, blocks, in essiv_cbc_decrypt() 531 ctx->key1.key_enc, rounds, nbytes, in xts_encrypt() 553 ctx->key1.key_enc, rounds, walk.nbytes, in xts_encrypt() 603 ctx->key1.key_dec, rounds, nbytes, in xts_decrypt() [all …]
|
/linux/security/selinux/ss/ |
A D | symtab.c | 26 static int symcmp(const void *key1, const void *key2) in symcmp() argument 30 keyp1 = key1; in symcmp()
|
/linux/crypto/ |
A D | xcbc.c | 58 u8 key1[XCBC_BLOCKSIZE]; in crypto_xcbc_digest_setkey() local 59 int bs = sizeof(key1); in crypto_xcbc_digest_setkey() 66 crypto_cipher_encrypt_one(ctx->child, key1, (u8 *)ks); in crypto_xcbc_digest_setkey() 68 return crypto_cipher_setkey(ctx->child, key1, bs); in crypto_xcbc_digest_setkey()
|
/linux/drivers/infiniband/sw/rxe/ |
A D | rxe_verbs.h | 17 static inline int pkey_match(u16 key1, u16 key2) in pkey_match() argument 19 return (((key1 & 0x7fff) != 0) && in pkey_match() 20 ((key1 & 0x7fff) == (key2 & 0x7fff)) && in pkey_match() 21 ((key1 & 0x8000) || (key2 & 0x8000))) ? 1 : 0; in pkey_match()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | timer_mim.c | 11 int err, prog_fd, key1 = 1; in timer_mim() local 39 err = bpf_map_delete_elem(bpf_map__fd(timer_skel->maps.outer_arr), &key1); in timer_mim()
|
/linux/kernel/bpf/ |
A D | local_storage.c | 42 const struct bpf_cgroup_storage_key *key1 = _key1; in bpf_cgroup_storage_key_cmp() local 45 if (key1->cgroup_inode_id < key2->cgroup_inode_id) in bpf_cgroup_storage_key_cmp() 47 else if (key1->cgroup_inode_id > key2->cgroup_inode_id) in bpf_cgroup_storage_key_cmp() 49 else if (key1->attach_type < key2->attach_type) in bpf_cgroup_storage_key_cmp() 51 else if (key1->attach_type > key2->attach_type) in bpf_cgroup_storage_key_cmp()
|
/linux/tools/lib/bpf/ |
A D | strset.c | 30 static bool strset_equal_fn(const void *key1, const void *key2, void *ctx) in strset_equal_fn() argument 33 const char *str1 = s->strs_data + (long)key1; in strset_equal_fn()
|
/linux/fs/hfs/ |
A D | catalog.c | 171 int hfs_cat_keycmp(const btree_key *key1, const btree_key *key2) in hfs_cat_keycmp() argument 175 k1p = key1->cat.ParID; in hfs_cat_keycmp() 181 return hfs_strcmp(key1->cat.CName.name, key1->cat.CName.len, in hfs_cat_keycmp()
|
A D | extent.c | 50 int hfs_ext_keycmp(const btree_key *key1, const btree_key *key2) in hfs_ext_keycmp() argument 55 fnum1 = key1->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() 62 block1 = key1->ext.FABN; in hfs_ext_keycmp()
|
/linux/drivers/net/wireless/ath/ |
A D | key.c | 134 u32 key0, key1, key2, key3, key4; in ath_hw_set_keycache_entry() local 185 key1 = get_unaligned_le16(k->kv_val + 4); in ath_hw_set_keycache_entry() 209 REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), ~key1); in ath_hw_set_keycache_entry() 312 REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1); in ath_hw_set_keycache_entry() 320 REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1); in ath_hw_set_keycache_entry()
|
/linux/tools/testing/selftests/wireguard/ |
A D | netns.sh | 80 key1="$(pp wg genkey)" 84 pub1="$(pp wg pubkey <<<"$key1")" 89 [[ -n $key1 && -n $key2 && -n $psk ]] 99 private-key <(echo "$key1") \ 245 n1 wg set wg0 private-key <(echo "$key1") peer "$pub2" preshared-key <(echo "$psk") allowed-ips 192… 258 n1 wg set wg0 private-key <(echo "$key1") peer "$pub2" preshared-key <(echo "$psk") allowed-ips fd0… 582 n0 wg set wg0 private-key <(echo "$key1") peer "$pub2" preshared-key <(echo "$psk") 583 [[ $(n0 wg show wg0 private-key) == "$key1" ]] 594 n0 wg set wg0 private-key <(echo "$key1")
|