Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/input/keyboard/
Dep93xx_keypad.c75 int key1; member
88 int keycode, key1, key2; in ep93xx_keypad_irq_handler() local
93 key1 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler()
99 if (keypad->key1 && key1 != keypad->key1 && key2 != keypad->key1) in ep93xx_keypad_irq_handler()
100 input_report_key(input_dev, keypad->key1, 0); in ep93xx_keypad_irq_handler()
102 if (keypad->key2 && key1 != keypad->key2 && key2 != keypad->key2) in ep93xx_keypad_irq_handler()
105 input_report_key(input_dev, key1, 1); in ep93xx_keypad_irq_handler()
108 keypad->key1 = key1; in ep93xx_keypad_irq_handler()
112 if (keypad->key1 && key1 != keypad->key1) in ep93xx_keypad_irq_handler()
113 input_report_key(input_dev, keypad->key1, 0); in ep93xx_keypad_irq_handler()
[all …]
/linux-2.6.39/fs/befs/
Dbtree.c116 static int befs_compare_strings(const void *key1, int keylen1,
715 befs_compare_strings(const void *key1, int keylen1, in befs_compare_strings() argument
719 int result = strncmp(key1, key2, len); in befs_compare_strings()
728 btree_compare_int32(cont void *key1, int keylen1, const void *key2, int keylen2)
730 return *(int32_t *) key1 - *(int32_t *) key2;
734 btree_compare_uint32(cont void *key1, int keylen1,
737 if (*(u_int32_t *) key1 == *(u_int32_t *) key2)
739 else if (*(u_int32_t *) key1 > *(u_int32_t *) key2)
745 btree_compare_int64(cont void *key1, int keylen1, const void *key2, int keylen2)
747 if (*(int64_t *) key1 == *(int64_t *) key2)
[all …]
/linux-2.6.39/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 DBGKEY(key), DBGKEY1(&key1)); in ubifs_tnc_read_node()
Dtnc.c1699 union ubifs_key key1; in validate_data_node() local
1722 key_read(c, buf + UBIFS_KEY_OFFSET, &key1); in validate_data_node()
1723 if (!keys_eq(c, &zbr->key, &key1)) { in validate_data_node()
1727 DBGKEY(&zbr->key), DBGKEY1(&key1)); in validate_data_node()
1894 union ubifs_key *key, *key1; in correct_parent_keys() local
1900 key1 = &znode->parent->zbranch[0].key; in correct_parent_keys()
1902 while (keys_cmp(c, key, key1) < 0) { in correct_parent_keys()
1903 key_copy(c, key, key1); in correct_parent_keys()
1908 key1 = &znode->parent->zbranch[0].key; in correct_parent_keys()
1980 union ubifs_key *key = &zbr->key, *key1; in tnc_insert() local
[all …]
Djournal.c1287 union ubifs_key xent_key, key1, key2; in ubifs_jnl_delete_xattr() local
1353 lowest_ino_key(c, &key1, inode->i_ino); in ubifs_jnl_delete_xattr()
1355 err = ubifs_tnc_remove_range(c, &key1, &key2); in ubifs_jnl_delete_xattr()
1363 ino_key_init(c, &key1, host->i_ino); in ubifs_jnl_delete_xattr()
1364 err = ubifs_tnc_add(c, &key1, lnum, xent_offs + len - hlen, hlen); in ubifs_jnl_delete_xattr()
/linux-2.6.39/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.c12 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2), in hashtab_create() argument
Dpolicydb.c191 const struct range_trans *key1 = k1, *key2 = k2; in rangetr_cmp() local
194 v = key1->source_type - key2->source_type; in rangetr_cmp()
198 v = key1->target_type - key2->target_type; in rangetr_cmp()
202 v = key1->target_class - key2->target_class; in rangetr_cmp()
/linux-2.6.39/kernel/
Dfutex.c166 static inline int match_futex(union futex_key *key1, union futex_key *key2) in match_futex() argument
168 return (key1 && key2 in match_futex()
169 && key1->both.word == key2->both.word in match_futex()
170 && key1->both.ptr == key2->both.ptr in match_futex()
171 && key1->both.offset == key2->both.offset); in match_futex()
982 union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT; in futex_wake_op() local
989 ret = get_futex_key(uaddr1, flags & FLAGS_SHARED, &key1); in futex_wake_op()
996 hb1 = hash_futex(&key1); in futex_wake_op()
1028 put_futex_key(&key1); in futex_wake_op()
1035 if (match_futex (&this->key, &key1)) { in futex_wake_op()
[all …]
Dlockdep.c305 #define iterate_chain_key(key1, key2) \ argument
306 (((key1) << MAX_LOCKDEP_KEYS_BITS) ^ \
307 ((key1) >> (64-MAX_LOCKDEP_KEYS_BITS)) ^ \
/linux-2.6.39/crypto/
Dxcbc.c68 u8 key1[bs]; in crypto_xcbc_digest_setkey() local
75 crypto_cipher_encrypt_one(ctx->child, key1, (u8 *)ks); in crypto_xcbc_digest_setkey()
77 return crypto_cipher_setkey(ctx->child, key1, bs); in crypto_xcbc_digest_setkey()
/linux-2.6.39/fs/hfs/
Dcatalog.c160 int hfs_cat_keycmp(const btree_key *key1, const btree_key *key2) in hfs_cat_keycmp() argument
164 retval = be32_to_cpu(key1->cat.ParID) - be32_to_cpu(key2->cat.ParID); in hfs_cat_keycmp()
166 retval = 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-2.6.39/drivers/net/wireless/ath/
Dkey.c118 u32 key0, key1, key2, key3, key4; in ath_hw_set_keycache_entry() local
168 key1 = get_unaligned_le16(k->kv_val + 4); in ath_hw_set_keycache_entry()
192 REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), ~key1); in ath_hw_set_keycache_entry()
285 REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1); in ath_hw_set_keycache_entry()
289 REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1); in ath_hw_set_keycache_entry()
/linux-2.6.39/include/linux/
Dbtree-128.h87 u64 key1, u64 key2, size_t index);
/linux-2.6.39/net/core/
Dflow.c189 static int flow_key_compare(const struct flowi *key1, const struct flowi *key2) in flow_key_compare() argument
196 k1 = (const flow_compare_t *) key1; in flow_key_compare()
/linux-2.6.39/Documentation/device-mapper/
Ddm-crypt.txt26 sector 1 uses key1 etc.). <keycount> must be a power of two.
/linux-2.6.39/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-2.6.39/drivers/net/
Drrunner.h615 u32 key1; member
/linux-2.6.39/fs/reiserfs/
Dstree.c135 inline int comp_short_le_keys(const struct reiserfs_key *key1, in comp_short_le_keys() argument
141 k1_u32 = (__u32 *) key1; in comp_short_le_keys()
/linux-2.6.39/fs/btrfs/
Drelocation.c1619 struct btrfs_disk_key key1; local
1621 btrfs_node_key(eb, &key1, slot);
1623 return memcmp(&key1, &key2, sizeof(key1));
/linux-2.6.39/sound/pci/asihpi/
Dhpi_internal.h688 u16 key1; member