Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/input/keyboard/
Dep93xx_keypad.c76 int key2; member
88 int keycode, key1, key2; in ep93xx_keypad_irq_handler() local
96 key2 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler()
99 if (keypad->key1 && key1 != keypad->key1 && key2 != keypad->key1) in ep93xx_keypad_irq_handler()
102 if (keypad->key2 && key1 != keypad->key2 && key2 != keypad->key2) in ep93xx_keypad_irq_handler()
103 input_report_key(input_dev, keypad->key2, 0); in ep93xx_keypad_irq_handler()
106 input_report_key(input_dev, key2, 1); in ep93xx_keypad_irq_handler()
109 keypad->key2 = key2; in ep93xx_keypad_irq_handler()
115 if (keypad->key2 && key1 != keypad->key2) in ep93xx_keypad_irq_handler()
116 input_report_key(input_dev, keypad->key2, 0); in ep93xx_keypad_irq_handler()
[all …]
/linux-2.6.39/fs/befs/
Dbtree.c117 const void *key2, int keylen2);
716 const void *key2, int keylen2) 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;
735 const void *key2, int keylen2)
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/cifs/
Dsmbdes.c327 unsigned char key2[8]; in smbhash() local
336 str_to_key(key, key2); in smbhash()
340 keyb[i] = (key2[i / 8] & (1 << (7 - (i % 8)))) ? 1 : 0; in smbhash()
402 static unsigned char key2[8];
405 key2[0] = key[7];
406 smbhash(out, buf, key2, 1);
412 static unsigned char key2[8];
415 key2[0] = key[7];
416 smbhash(out + 8, in + 8, key2, forw);
/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
992 ret = get_futex_key(uaddr2, flags & FLAGS_SHARED, &key2); in futex_wake_op()
997 hb2 = hash_futex(&key2); in futex_wake_op()
1027 put_futex_key(&key2); in futex_wake_op()
1047 if (match_futex (&this->key, &key2)) { in futex_wake_op()
[all …]
Dlockdep.c305 #define iterate_chain_key(key1, key2) \ argument
308 (key2))
/linux-2.6.39/fs/ubifs/
Dkey.h485 const union ubifs_key *key2) 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()
510 const union ubifs_key *key2) 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
369 key2 = &znode->zbranch[i + 1].key; in read_znode()
371 cmp = keys_cmp(c, key1, key2); in read_znode()
Djournal.c1287 union ubifs_key xent_key, key1, key2; in ubifs_jnl_delete_xattr() local
1354 highest_ino_key(c, &key2, inode->i_ino); in ubifs_jnl_delete_xattr()
1355 err = ubifs_tnc_remove_range(c, &key1, &key2); in ubifs_jnl_delete_xattr()
Dtnc.c2690 union ubifs_key key1, key2; in ubifs_tnc_remove_ino() local
2726 highest_ino_key(c, &key2, xattr_inum); in ubifs_tnc_remove_ino()
2727 err = ubifs_tnc_remove_range(c, &key1, &key2); in ubifs_tnc_remove_ino()
2740 highest_ino_key(c, &key2, inum); in ubifs_tnc_remove_ino()
2742 return ubifs_tnc_remove_range(c, &key1, &key2); in ubifs_tnc_remove_ino()
/linux-2.6.39/security/selinux/ss/
Dsymtab.c25 static int symcmp(struct hashtab *h, const void *key1, const void *key2) in symcmp() argument
30 keyp2 = key2; 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/tools/perf/Documentation/
Dperf-kmem.txt34 -s <key[,key2...]>::
35 --sort=<key[,key2...]>::
/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()
167 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-2.6.39/drivers/net/wireless/ath/
Dkey.c118 u32 key0, key1, key2, key3, key4; in ath_hw_set_keycache_entry() local
169 key2 = get_unaligned_le32(k->kv_val + 6); in ath_hw_set_keycache_entry()
195 REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2); in ath_hw_set_keycache_entry()
292 REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2); in ath_hw_set_keycache_entry()
/linux-2.6.39/scripts/kconfig/lxdialog/
Dutil.c507 int key2; in on_key_esc() local
513 key2 = wgetch(win); in on_key_esc()
519 if (key == KEY_ESC && key2 == ERR) in on_key_esc()
521 else if (key != ERR && key != KEY_ESC && key2 == ERR) in on_key_esc()
/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
199 k2 = (const flow_compare_t *) key2; in flow_key_compare()
/linux-2.6.39/security/keys/
Dtrusted.c260 const unsigned char *key2, in TSS_checkhmac2() argument
341 ret = TSS_rawhmac(testhmac2, key2, keylen2, SHA1_DIGEST_SIZE, in TSS_checkhmac2()
/linux-2.6.39/drivers/net/
Drrunner.h616 u32 key2; member
/linux-2.6.39/fs/reiserfs/
Dstree.c136 const struct reiserfs_key *key2) in comp_short_le_keys() argument
142 k2_u32 = (__u32 *) key2; in comp_short_le_keys()
/linux-2.6.39/sound/pci/asihpi/
Dhpi_internal.h689 u16 key2; member
/linux-2.6.39/fs/btrfs/
Drelocation.c1620 struct btrfs_disk_key key2; local
1622 btrfs_node_key(path->nodes[level], &key2, path->slots[level]);
1623 return memcmp(&key1, &key2, sizeof(key1));