Home
last modified time | relevance | path

Searched refs:key1 (Results 1 – 32 of 32) sorted by relevance

/linux-4.1.27/drivers/input/keyboard/
Dep93xx_keypad.c76 int key1; member
89 int keycode, key1, key2; in ep93xx_keypad_irq_handler() local
94 key1 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler()
100 if (keypad->key1 && key1 != keypad->key1 && key2 != keypad->key1) in ep93xx_keypad_irq_handler()
101 input_report_key(input_dev, keypad->key1, 0); in ep93xx_keypad_irq_handler()
103 if (keypad->key2 && key1 != keypad->key2 && key2 != keypad->key2) in ep93xx_keypad_irq_handler()
106 input_report_key(input_dev, key1, 1); in ep93xx_keypad_irq_handler()
109 keypad->key1 = key1; in ep93xx_keypad_irq_handler()
113 if (keypad->key1 && key1 != keypad->key1) in ep93xx_keypad_irq_handler()
114 input_report_key(input_dev, keypad->key1, 0); in ep93xx_keypad_irq_handler()
[all …]
/linux-4.1.27/fs/befs/
Dbtree.c119 static int befs_compare_strings(const void *key1, int keylen1,
721 befs_compare_strings(const void *key1, int keylen1, in befs_compare_strings() argument
725 int result = strncmp(key1, key2, len); in befs_compare_strings()
734 btree_compare_int32(cont void *key1, int keylen1, const void *key2, int keylen2)
736 return *(int32_t *) key1 - *(int32_t *) key2;
740 btree_compare_uint32(cont void *key1, int keylen1,
743 if (*(u_int32_t *) key1 == *(u_int32_t *) key2)
745 else if (*(u_int32_t *) key1 > *(u_int32_t *) key2)
751 btree_compare_int64(cont void *key1, int keylen1, const void *key2, int keylen2)
753 if (*(int64_t *) key1 == *(int64_t *) key2)
[all …]
/linux-4.1.27/arch/arm/crypto/
Daes-ce-core.S28 .macro enc_dround, key1, key2
29 enc_round q0, \key1
33 .macro dec_dround, key1, key2
34 dec_round q0, \key1
38 .macro enc_fround, key1, key2, key3
39 enc_round q0, \key1
44 .macro dec_fround, key1, key2, key3
45 dec_round q0, \key1
50 .macro enc_dround_3x, key1, key2
51 enc_round q0, \key1
[all …]
Daes-ce-glue.c145 struct crypto_aes_ctx key1; member
155 ret = ce_aes_expandkey(&ctx->key1, in_key, key_len / 2); in xts_set_key()
307 int err, first, rounds = num_rounds(&ctx->key1); in xts_encrypt()
318 (u8 *)ctx->key1.key_enc, rounds, blocks, in xts_encrypt()
332 int err, first, rounds = num_rounds(&ctx->key1); in xts_decrypt()
343 (u8 *)ctx->key1.key_dec, rounds, blocks, in xts_decrypt()
/linux-4.1.27/fs/ubifs/
Dkey.h484 const union ubifs_key *key1, in keys_cmp() argument
487 if (key1->u32[0] < key2->u32[0]) in keys_cmp()
489 if (key1->u32[0] > key2->u32[0]) in keys_cmp()
491 if (key1->u32[1] < key2->u32[1]) in keys_cmp()
493 if (key1->u32[1] > key2->u32[1]) in keys_cmp()
509 const union ubifs_key *key1, in keys_eq() argument
512 if (key1->u32[0] != key2->u32[0]) in keys_eq()
514 if (key1->u32[1] != key2->u32[1]) in keys_eq()
Dtnc_misc.c366 const union ubifs_key *key1, *key2; in read_znode() local
368 key1 = &znode->zbranch[i].key; in read_znode()
371 cmp = keys_cmp(c, key1, key2); in read_znode()
376 } else if (cmp == 0 && !is_hash_key(c, key1)) { in read_znode()
461 union ubifs_key key1, *key = &zbr->key; in ubifs_tnc_read_node() local
483 key_read(c, node + UBIFS_KEY_OFFSET, &key1); in ubifs_tnc_read_node()
484 if (!keys_eq(c, key, &key1)) { in ubifs_tnc_read_node()
488 dbg_tnck(&key1, "but found node's key "); in ubifs_tnc_read_node()
Dtnc.c1682 union ubifs_key key1; in validate_data_node() local
1705 key_read(c, buf + UBIFS_KEY_OFFSET, &key1); in validate_data_node()
1706 if (!keys_eq(c, &zbr->key, &key1)) { in validate_data_node()
1710 dbg_tnck(&key1, "found node's key "); in validate_data_node()
1877 union ubifs_key *key, *key1; in correct_parent_keys() local
1883 key1 = &znode->parent->zbranch[0].key; in correct_parent_keys()
1885 while (keys_cmp(c, key, key1) < 0) { in correct_parent_keys()
1886 key_copy(c, key, key1); in correct_parent_keys()
1891 key1 = &znode->parent->zbranch[0].key; in correct_parent_keys()
1963 union ubifs_key *key = &zbr->key, *key1; in tnc_insert() local
[all …]
Djournal.c1292 union ubifs_key xent_key, key1, key2; in ubifs_jnl_delete_xattr() local
1358 lowest_ino_key(c, &key1, inode->i_ino); in ubifs_jnl_delete_xattr()
1360 err = ubifs_tnc_remove_range(c, &key1, &key2); in ubifs_jnl_delete_xattr()
1368 ino_key_init(c, &key1, host->i_ino); in ubifs_jnl_delete_xattr()
1369 err = ubifs_tnc_add(c, &key1, lnum, xent_offs + len - hlen, hlen); in ubifs_jnl_delete_xattr()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dllite_nfs.c51 __u32 key0 = 0x12a3fe2d, key1 = 0x37abe8f9; in get_uuid2int() local
53 __u32 key = key1 + (key0 ^ (*name++ * 7152373)); in get_uuid2int()
57 key1 = key0; in get_uuid2int()
65 __u64 key = 0, key0 = 0x12a3fe2d, key1 = 0x37abe8f9; in get_uuid2fsid() local
68 key = key1 + (key0 ^ (*name++ * 7152373)); in get_uuid2fsid()
71 key1 = key0; in get_uuid2fsid()
/linux-4.1.27/kernel/
Dfutex.c320 static inline int match_futex(union futex_key *key1, union futex_key *key2) in match_futex() argument
322 return (key1 && key2 in match_futex()
323 && key1->both.word == key2->both.word in match_futex()
324 && key1->both.ptr == key2->both.ptr in match_futex()
325 && key1->both.offset == key2->both.offset); in match_futex()
1278 union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT; in futex_wake_op() local
1284 ret = get_futex_key(uaddr1, flags & FLAGS_SHARED, &key1, VERIFY_READ); in futex_wake_op()
1291 hb1 = hash_futex(&key1); in futex_wake_op()
1323 put_futex_key(&key1); in futex_wake_op()
1328 if (match_futex (&this->key, &key1)) { in futex_wake_op()
[all …]
/linux-4.1.27/security/selinux/ss/
Dsymtab.c25 static int symcmp(struct hashtab *h, const void *key1, const void *key2) in symcmp() argument
29 keyp1 = key1; in symcmp()
Dhashtab.h27 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2);
43 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2),
Dhashtab.c13 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2), in hashtab_create() argument
Dpolicydb.c248 const struct range_trans *key1 = k1, *key2 = k2; in rangetr_cmp() local
251 v = key1->source_type - key2->source_type; in rangetr_cmp()
255 v = key1->target_type - key2->target_type; in rangetr_cmp()
259 v = key1->target_class - key2->target_class; in rangetr_cmp()
/linux-4.1.27/arch/arm64/crypto/
Daes-glue.c78 struct crypto_aes_ctx key1; member
88 ret = aes_expandkey(&ctx->key1, in_key, key_len / 2); in xts_set_key()
239 int err, first, rounds = 6 + ctx->key1.key_length / 4; in xts_encrypt()
250 (u8 *)ctx->key1.key_enc, rounds, blocks, in xts_encrypt()
263 int err, first, rounds = 6 + ctx->key1.key_length / 4; in xts_decrypt()
274 (u8 *)ctx->key1.key_dec, rounds, blocks, in xts_decrypt()
/linux-4.1.27/crypto/
Dxcbc.c69 u8 key1[bs]; in crypto_xcbc_digest_setkey() local
76 crypto_cipher_encrypt_one(ctx->child, key1, (u8 *)ks); in crypto_xcbc_digest_setkey()
78 return crypto_cipher_setkey(ctx->child, key1, bs); in crypto_xcbc_digest_setkey()
/linux-4.1.27/fs/hfs/
Dcatalog.c163 int hfs_cat_keycmp(const btree_key *key1, const btree_key *key2) in hfs_cat_keycmp() argument
167 k1p = key1->cat.ParID; in hfs_cat_keycmp()
173 return hfs_strcmp(key1->cat.CName.name, key1->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
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-4.1.27/drivers/net/wireless/ath/
Dkey.c134 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-4.1.27/include/linux/
Dbtree-128.h87 u64 key1, u64 key2, size_t index);
/linux-4.1.27/arch/c6x/platforms/
Ddscr.c163 u32 lock1, u32 key1) in dscr_write_locked2() argument
166 soc_writel(key1, dscr.base + lock1); in dscr_write_locked2()
/linux-4.1.27/net/core/
Dflow.c173 static int flow_key_compare(const struct flowi *key1, const struct flowi *key2, in flow_key_compare() argument
178 k1 = (const flow_compare_t *) key1; in flow_key_compare()
/linux-4.1.27/arch/arm/boot/dts/
Dea3250.dts173 key1 {
/linux-4.1.27/Documentation/device-mapper/
Ddm-crypt.txt34 sector 1 uses key1 etc.). <keycount> must be a power of two.
/linux-4.1.27/net/openvswitch/
Dflow_table.c436 static bool cmp_key(const struct sw_flow_key *key1, in cmp_key() argument
440 const long *cp1 = (const long *)((const u8 *)key1 + key_start); in cmp_key()
/linux-4.1.27/security/keys/
Dtrusted.c258 const unsigned char *key1, in TSS_checkhmac2() argument
332 ret = TSS_rawhmac(testhmac1, key1, keylen1, SHA1_DIGEST_SIZE, in TSS_checkhmac2()
/linux-4.1.27/drivers/net/hippi/
Drrunner.h615 u32 key1; member
/linux-4.1.27/drivers/pinctrl/bcm/
Dpinctrl-cygnus-mux.c504 CYGNUS_PIN_GROUP(key1, 0x4, 4, 1),
/linux-4.1.27/fs/reiserfs/
Dstree.c97 inline int comp_short_le_keys(const struct reiserfs_key *key1, in comp_short_le_keys() argument
103 k1_u32 = (__u32 *) key1; in comp_short_le_keys()
/linux-4.1.27/kernel/locking/
Dlockdep.c314 #define iterate_chain_key(key1, key2) \ argument
315 (((key1) << MAX_LOCKDEP_KEYS_BITS) ^ \
316 ((key1) >> (64-MAX_LOCKDEP_KEYS_BITS)) ^ \
/linux-4.1.27/fs/btrfs/
Drelocation.c1744 struct btrfs_disk_key key1; local
1746 btrfs_node_key(eb, &key1, slot);
1748 return memcmp(&key1, &key2, sizeof(key1));
/linux-4.1.27/sound/pci/asihpi/
Dhpi_internal.h681 u16 key1; member