/linux-4.1.27/drivers/input/keyboard/ |
H A D | ep93xx_keypad.c | 76 int key1; member in struct:ep93xx_keypad 89 int keycode, key1, key2; ep93xx_keypad_irq_handler() local 94 key1 = keypad->keycodes[keycode]; ep93xx_keypad_irq_handler() 100 if (keypad->key1 && key1 != keypad->key1 && key2 != keypad->key1) ep93xx_keypad_irq_handler() 101 input_report_key(input_dev, keypad->key1, 0); ep93xx_keypad_irq_handler() 103 if (keypad->key2 && key1 != keypad->key2 && key2 != keypad->key2) ep93xx_keypad_irq_handler() 106 input_report_key(input_dev, key1, 1); ep93xx_keypad_irq_handler() 109 keypad->key1 = key1; ep93xx_keypad_irq_handler() 113 if (keypad->key1 && key1 != keypad->key1) ep93xx_keypad_irq_handler() 114 input_report_key(input_dev, keypad->key1, 0); ep93xx_keypad_irq_handler() 116 if (keypad->key2 && key1 != keypad->key2) ep93xx_keypad_irq_handler() 119 input_report_key(input_dev, key1, 1); ep93xx_keypad_irq_handler() 121 keypad->key1 = key1; ep93xx_keypad_irq_handler() 125 input_report_key(input_dev, keypad->key1, 0); ep93xx_keypad_irq_handler() 128 keypad->key1 = keypad->key2 = 0; ep93xx_keypad_irq_handler()
|
/linux-4.1.27/security/selinux/ss/ |
H A D | symtab.c | 25 static int symcmp(struct hashtab *h, const void *key1, const void *key2) symcmp() argument 29 keyp1 = key1; symcmp()
|
H A D | hashtab.h | 27 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2); 43 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2),
|
H A D | hashtab.c | 13 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2), hashtab_create() 12 hashtab_create(u32 (hash_value)struct hashtab *h, const void *key), int (*keycmp)(struct hashtab *h, const void *key1, const void *key2), u32 size) hashtab_create() argument
|
H A D | policydb.c | 248 const struct range_trans *key1 = k1, *key2 = k2; rangetr_cmp() local 251 v = key1->source_type - key2->source_type; rangetr_cmp() 255 v = key1->target_type - key2->target_type; rangetr_cmp() 259 v = key1->target_class - key2->target_class; rangetr_cmp()
|
/linux-4.1.27/arch/arm/crypto/ |
H A D | aes-ce-core.S | 28 .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 52 enc_round q1, \key1 53 enc_round q2, \key1 59 .macro dec_dround_3x, key1, key2 60 dec_round q0, \key1 61 dec_round q1, \key1 62 dec_round q2, \key1 68 .macro enc_fround_3x, key1, key2, key3 69 enc_round q0, \key1 70 enc_round q1, \key1 71 enc_round q2, \key1 80 .macro dec_fround_3x, key1, key2, key3 81 dec_round q0, \key1 82 dec_round q1, \key1 83 dec_round q2, \key1
|
H A D | aes-ce-glue.c | 145 struct crypto_aes_ctx key1; member in struct:crypto_aes_xts_ctx 155 ret = ce_aes_expandkey(&ctx->key1, in_key, key_len / 2); xts_set_key() 307 int err, first, rounds = num_rounds(&ctx->key1); xts_encrypt() 318 (u8 *)ctx->key1.key_enc, rounds, blocks, xts_encrypt() 332 int err, first, rounds = num_rounds(&ctx->key1); xts_decrypt() 343 (u8 *)ctx->key1.key_dec, rounds, blocks, xts_decrypt()
|
H A D | bsaes-armv7.pl | 1588 # const AES_KEY *key1, const AES_KEY *key2,
|
/linux-4.1.27/fs/ubifs/ |
H A D | key.h | 477 * @key1: the first key to compare 480 * This function compares 2 keys and returns %-1 if @key1 is less than 481 * @key2, %0 if the keys are equivalent and %1 if @key1 is greater than @key2. 484 const union ubifs_key *key1, keys_cmp() 487 if (key1->u32[0] < key2->u32[0]) keys_cmp() 489 if (key1->u32[0] > key2->u32[0]) keys_cmp() 491 if (key1->u32[1] < key2->u32[1]) keys_cmp() 493 if (key1->u32[1] > key2->u32[1]) keys_cmp() 502 * @key1: the first key to compare 505 * This function compares 2 keys and returns %1 if @key1 is equal to @key2 and 509 const union ubifs_key *key1, keys_eq() 512 if (key1->u32[0] != key2->u32[0]) keys_eq() 514 if (key1->u32[1] != key2->u32[1]) keys_eq() 483 keys_cmp(const struct ubifs_info *c, const union ubifs_key *key1, const union ubifs_key *key2) keys_cmp() argument 508 keys_eq(const struct ubifs_info *c, const union ubifs_key *key1, const union ubifs_key *key2) keys_eq() argument
|
H A D | tnc_misc.c | 366 const union ubifs_key *key1, *key2; read_znode() local 368 key1 = &znode->zbranch[i].key; read_znode() 371 cmp = keys_cmp(c, key1, key2); read_znode() 376 } else if (cmp == 0 && !is_hash_key(c, key1)) { read_znode() 461 union ubifs_key key1, *key = &zbr->key; ubifs_tnc_read_node() local 483 key_read(c, node + UBIFS_KEY_OFFSET, &key1); ubifs_tnc_read_node() 484 if (!keys_eq(c, key, &key1)) { ubifs_tnc_read_node() 488 dbg_tnck(&key1, "but found node's key "); ubifs_tnc_read_node()
|
H A D | tnc.c | 1682 union ubifs_key key1; validate_data_node() local 1705 key_read(c, buf + UBIFS_KEY_OFFSET, &key1); validate_data_node() 1706 if (!keys_eq(c, &zbr->key, &key1)) { validate_data_node() 1710 dbg_tnck(&key1, "found node's key "); validate_data_node() 1877 union ubifs_key *key, *key1; correct_parent_keys() local 1883 key1 = &znode->parent->zbranch[0].key; correct_parent_keys() 1885 while (keys_cmp(c, key, key1) < 0) { correct_parent_keys() 1886 key_copy(c, key, key1); correct_parent_keys() 1891 key1 = &znode->parent->zbranch[0].key; correct_parent_keys() 1963 union ubifs_key *key = &zbr->key, *key1; tnc_insert() local 2006 key1 = &znode->zbranch[n - 1].key; tnc_insert() 2007 if (key_inum(c, key1) == key_inum(c, key) && tnc_insert() 2008 key_type(c, key1) == UBIFS_DATA_KEY) tnc_insert() 2017 key1 = &znode->zbranch[0].key; tnc_insert() 2018 if (key_inum(c, key1) == key_inum(c, key) && tnc_insert() 2019 key_type(c, key1) == UBIFS_DATA_KEY) { tnc_insert() 2020 key1 = &znode->zbranch[n].key; tnc_insert() 2021 if (key_inum(c, key1) != key_inum(c, key) || tnc_insert() 2022 key_type(c, key1) != UBIFS_DATA_KEY) { tnc_insert() 2671 union ubifs_key key1, key2; ubifs_tnc_remove_ino() local 2681 lowest_xent_key(c, &key1, inum); ubifs_tnc_remove_ino() 2686 xent = ubifs_tnc_next_ent(c, &key1, &nm); ubifs_tnc_remove_ino() 2700 err = ubifs_tnc_remove_nm(c, &key1, &nm); ubifs_tnc_remove_ino() 2706 lowest_ino_key(c, &key1, xattr_inum); ubifs_tnc_remove_ino() 2708 err = ubifs_tnc_remove_range(c, &key1, &key2); ubifs_tnc_remove_ino() 2716 key_read(c, &xent->key, &key1); ubifs_tnc_remove_ino() 2720 lowest_ino_key(c, &key1, inum); ubifs_tnc_remove_ino() 2723 return ubifs_tnc_remove_range(c, &key1, &key2); ubifs_tnc_remove_ino()
|
H A D | journal.c | 1292 union ubifs_key xent_key, key1, key2; ubifs_jnl_delete_xattr() local 1358 lowest_ino_key(c, &key1, inode->i_ino); ubifs_jnl_delete_xattr() 1360 err = ubifs_tnc_remove_range(c, &key1, &key2); ubifs_jnl_delete_xattr() 1368 ino_key_init(c, &key1, host->i_ino); ubifs_jnl_delete_xattr() 1369 err = ubifs_tnc_add(c, &key1, lnum, xent_offs + len - hlen, hlen); ubifs_jnl_delete_xattr()
|
/linux-4.1.27/fs/hfs/ |
H A D | catalog.c | 152 * struct hfs_cat_key *key1: pointer to the first key to compare 157 * int: negative if key1<key2, positive if key1>key2, and 0 if key1==key2 159 * key1 and key2 point to "valid" (struct hfs_cat_key)s. 163 int hfs_cat_keycmp(const btree_key *key1, const btree_key *key2) hfs_cat_keycmp() argument 167 k1p = key1->cat.ParID; hfs_cat_keycmp() 173 return hfs_strcmp(key1->cat.CName.name, key1->cat.CName.len, hfs_cat_keycmp()
|
H A D | extent.c | 40 * struct hfs_ext_key *key1: pointer to the first key to compare 45 * int: negative if key1<key2, positive if key1>key2, and 0 if key1==key2 47 * key1 and key2 point to "valid" (struct hfs_ext_key)s. 50 int hfs_ext_keycmp(const btree_key *key1, const btree_key *key2) hfs_ext_keycmp() argument 55 fnum1 = key1->ext.FNum; hfs_ext_keycmp() 59 if (key1->ext.FkType != key2->ext.FkType) hfs_ext_keycmp() 60 return key1->ext.FkType < key2->ext.FkType ? -1 : 1; hfs_ext_keycmp() 62 block1 = key1->ext.FABN; hfs_ext_keycmp()
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
H A D | llite_nfs.c | 51 __u32 key0 = 0x12a3fe2d, key1 = 0x37abe8f9; get_uuid2int() local 53 __u32 key = key1 + (key0 ^ (*name++ * 7152373)); get_uuid2int() 57 key1 = key0; get_uuid2int() 65 __u64 key = 0, key0 = 0x12a3fe2d, key1 = 0x37abe8f9; get_uuid2fsid() local 68 key = key1 + (key0 ^ (*name++ * 7152373)); get_uuid2fsid() 71 key1 = key0; get_uuid2fsid()
|
/linux-4.1.27/fs/befs/ |
H A D | btree.c | 119 static int befs_compare_strings(const void *key1, int keylen1, 711 * @key1: pointer to the first key to be compared 712 * @keylen1: length in bytes of key1 716 * Returns 0 if @key1 and @key2 are equal. 717 * Returns >0 if @key1 is greater. 721 befs_compare_strings(const void *key1, int keylen1, befs_compare_strings() argument 725 int result = strncmp(key1, key2, len); 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) 755 else if (*(int64_t *) key1 > *(int64_t *) key2) 762 btree_compare_uint64(cont void *key1, int keylen1, 765 if (*(u_int64_t *) key1 == *(u_int64_t *) key2) 767 else if (*(u_int64_t *) key1 > *(u_int64_t *) key2) 774 btree_compare_float(cont void *key1, int keylen1, const void *key2, int keylen2) 776 float result = *(float *) key1 - *(float *) key2; 784 btree_compare_double(cont void *key1, int keylen1, 787 double result = *(double *) key1 - *(double *) key2;
|
/linux-4.1.27/drivers/net/wireless/ath/ |
H A D | key.c | 134 u32 key0, key1, key2, key3, key4; ath_hw_set_keycache_entry() local 185 key1 = get_unaligned_le16(k->kv_val + 4); ath_hw_set_keycache_entry() 209 REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), ~key1); ath_hw_set_keycache_entry() 228 * key1 [15:0] = TX key [31:16] ath_hw_set_keycache_entry() 229 * key1 [31:16] = reserved ath_hw_set_keycache_entry() 268 * key1 [31:0] = reserved ath_hw_set_keycache_entry() 312 REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1); ath_hw_set_keycache_entry() 320 REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1); ath_hw_set_keycache_entry()
|
/linux-4.1.27/arch/arm64/crypto/ |
H A D | aes-glue.c | 78 struct crypto_aes_ctx key1; member in struct:crypto_aes_xts_ctx 88 ret = aes_expandkey(&ctx->key1, in_key, key_len / 2); xts_set_key() 239 int err, first, rounds = 6 + ctx->key1.key_length / 4; xts_encrypt() 250 (u8 *)ctx->key1.key_enc, rounds, blocks, xts_encrypt() 263 int err, first, rounds = 6 + ctx->key1.key_length / 4; xts_decrypt() 274 (u8 *)ctx->key1.key_dec, rounds, blocks, xts_decrypt()
|
/linux-4.1.27/include/linux/ |
H A D | btree-128.h | 87 u64 key1, u64 key2, size_t index);
|
H A D | btree.h | 21 * [key1, key2, ..., keyN] [val1, val2, ..., valN]
|
/linux-4.1.27/crypto/ |
H A D | xcbc.c | 69 u8 key1[bs]; crypto_xcbc_digest_setkey() local 76 crypto_cipher_encrypt_one(ctx->child, key1, (u8 *)ks); crypto_xcbc_digest_setkey() 78 return crypto_cipher_setkey(ctx->child, key1, bs); crypto_xcbc_digest_setkey()
|
/linux-4.1.27/kernel/ |
H A D | futex.c | 320 static inline int match_futex(union futex_key *key1, union futex_key *key2) match_futex() argument 322 return (key1 && key2 match_futex() 323 && key1->both.word == key2->both.word match_futex() 324 && key1->both.ptr == key2->both.ptr match_futex() 325 && key1->both.offset == key2->both.offset); match_futex() 1278 union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT; futex_wake_op() local 1284 ret = get_futex_key(uaddr1, flags & FLAGS_SHARED, &key1, VERIFY_READ); futex_wake_op() 1291 hb1 = hash_futex(&key1); futex_wake_op() 1323 put_futex_key(&key1); futex_wake_op() 1328 if (match_futex (&this->key, &key1)) { futex_wake_op() 1360 put_futex_key(&key1); futex_wake_op() 1378 * If key1 and key2 hash to the same bucket, no need to requeue_futex() 1428 * @key1: the from futex key 1446 union futex_key *key1, union futex_key *key2, futex_proxy_trylock_atomic() 1464 top_waiter = futex_top_waiter(hb1, key1); futex_proxy_trylock_atomic() 1511 union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT; futex_requeue() local 1546 ret = get_futex_key(uaddr1, flags & FLAGS_SHARED, &key1, VERIFY_READ); futex_requeue() 1558 if (requeue_pi && match_futex(&key1, &key2)) { futex_requeue() 1563 hb1 = hash_futex(&key1); futex_requeue() 1587 put_futex_key(&key1); futex_requeue() 1603 ret = futex_proxy_trylock_atomic(uaddr2, hb1, hb2, &key1, futex_requeue() 1640 put_futex_key(&key1); futex_requeue() 1657 put_futex_key(&key1); futex_requeue() 1669 if (!match_futex(&this->key, &key1)) futex_requeue() 1736 * the requeue we moved futex_q's from the hash bucket at key1 to the futex_requeue() 1738 * hold the references to key1. futex_requeue() 1741 drop_futex_key_refs(&key1); futex_requeue() 1746 put_futex_key(&key1); futex_requeue() 2610 * Prepare to wait on uaddr. On success, increments q.key (key1) ref futex_wait_requeue_pi() 2641 * futex_requeue dropped our key1 reference and incremented our key2 futex_wait_requeue_pi() 1443 futex_proxy_trylock_atomic(u32 __user *pifutex, struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2, union futex_key *key1, union futex_key *key2, struct futex_pi_state **ps, int set_waiters) futex_proxy_trylock_atomic() argument
|
/linux-4.1.27/net/core/ |
H A D | flow.c | 173 static int flow_key_compare(const struct flowi *key1, const struct flowi *key2, flow_key_compare() argument 178 k1 = (const flow_compare_t *) key1; flow_key_compare()
|
/linux-4.1.27/arch/c6x/platforms/ |
H A D | dscr.c | 163 u32 lock1, u32 key1) dscr_write_locked2() 166 soc_writel(key1, dscr.base + lock1); dscr_write_locked2() 426 * ti,dscr-kick-regs = <kickreg0 key0 kickreg1 key1> 161 dscr_write_locked2(u32 reg, u32 val, u32 lock0, u32 key0, u32 lock1, u32 key1) dscr_write_locked2() argument
|
/linux-4.1.27/fs/reiserfs/ |
H A D | stree.c | 39 * Returns: -1 if key1 < key2 40 * 0 if key1 == key2 41 * 1 if key1 > key2 64 * Returns: -1 if key1 < key2 0 65 * if key1 = key2 1 if key1 > key2 97 inline int comp_short_le_keys(const struct reiserfs_key *key1, comp_short_le_keys() argument 103 k1_u32 = (__u32 *) key1; comp_short_le_keys()
|
/linux-4.1.27/net/openvswitch/ |
H A D | flow_table.c | 436 static bool cmp_key(const struct sw_flow_key *key1, cmp_key() argument 440 const long *cp1 = (const long *)((const u8 *)key1 + key_start); cmp_key()
|
/linux-4.1.27/drivers/net/hippi/ |
H A D | rrunner.h | 615 u32 key1; member in struct:eeprom_boot
|
/linux-4.1.27/fs/fuse/ |
H A D | cuse.c | 206 * *@pp points to packed strings - "key0=val0\0key1=val1\0" which ends
|
/linux-4.1.27/security/keys/ |
H A D | trusted.c | 258 const unsigned char *key1, TSS_checkhmac2() 332 ret = TSS_rawhmac(testhmac1, key1, keylen1, SHA1_DIGEST_SIZE, TSS_checkhmac2() 255 TSS_checkhmac2(unsigned char *buffer, const uint32_t command, const unsigned char *ononce, const unsigned char *key1, unsigned int keylen1, const unsigned char *key2, unsigned int keylen2, ...) TSS_checkhmac2() argument
|
/linux-4.1.27/drivers/net/wireless/rt2x00/ |
H A D | rt2x00mac.c | 510 * 1) BSS0 key1 rt2x00mac_set_key()
|
/linux-4.1.27/drivers/pinctrl/bcm/ |
H A D | pinctrl-cygnus-mux.c | 504 CYGNUS_PIN_GROUP(key1, 0x4, 4, 1),
|
/linux-4.1.27/drivers/input/misc/ |
H A D | yealink.c | 235 * The key parameter can be cascaded: key2 << 8 | key1
|
/linux-4.1.27/fs/btrfs/ |
H A D | relocation.c | 1744 struct btrfs_disk_key key1; memcmp_node_keys() local 1746 btrfs_node_key(eb, &key1, slot); memcmp_node_keys() 1748 return memcmp(&key1, &key2, sizeof(key1)); memcmp_node_keys()
|
/linux-4.1.27/sound/pci/asihpi/ |
H A D | hpi_internal.h | 681 u16 key1; member in struct:hpi_adapterx_msg::__anon14395
|
/linux-4.1.27/kernel/locking/ |
H A D | lockdep.c | 314 #define iterate_chain_key(key1, key2) \ 315 (((key1) << MAX_LOCKDEP_KEYS_BITS) ^ \ 316 ((key1) >> (64-MAX_LOCKDEP_KEYS_BITS)) ^ \
|