Searched refs:key2 (Results 1 - 40 of 40) sorted by relevance

/linux-4.1.27/include/crypto/
H A Dlrw.h14 * start of a new sector) value with key2, we could also have
16 * latter case we would have to store key2 here */
19 * key2*{ 0,0,...0,0,0,0,1 }, key2*{ 0,0,...0,0,0,1,1 },
20 * key2*{ 0,0,...0,0,1,1,1 }, key2*{ 0,0,...0,1,1,1,1 }
21 * key2*{ 0,0,...1,1,1,1,1 }, etc
23 * with key2 */
/linux-4.1.27/security/selinux/ss/
H A Dsymtab.c25 static int symcmp(struct hashtab *h, const void *key1, const void *key2) symcmp() argument
30 keyp2 = key2; symcmp()
H A 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),
H A Dhashtab.c13 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 Dpolicydb.c248 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/drivers/input/keyboard/
H A Dep93xx_keypad.c77 int key2; member in struct:ep93xx_keypad
89 int keycode, key1, key2; ep93xx_keypad_irq_handler() local
97 key2 = keypad->keycodes[keycode]; ep93xx_keypad_irq_handler()
100 if (keypad->key1 && key1 != keypad->key1 && key2 != keypad->key1) ep93xx_keypad_irq_handler()
103 if (keypad->key2 && key1 != keypad->key2 && key2 != keypad->key2) ep93xx_keypad_irq_handler()
104 input_report_key(input_dev, keypad->key2, 0); ep93xx_keypad_irq_handler()
107 input_report_key(input_dev, key2, 1); ep93xx_keypad_irq_handler()
110 keypad->key2 = key2; ep93xx_keypad_irq_handler()
116 if (keypad->key2 && key1 != keypad->key2) ep93xx_keypad_irq_handler()
117 input_report_key(input_dev, keypad->key2, 0); ep93xx_keypad_irq_handler()
122 keypad->key2 = 0; ep93xx_keypad_irq_handler()
126 input_report_key(input_dev, keypad->key2, 0); ep93xx_keypad_irq_handler()
128 keypad->key1 = keypad->key2 = 0; ep93xx_keypad_irq_handler()
/linux-4.1.27/arch/arm/crypto/
H A Daes-ce-core.S28 .macro enc_dround, key1, key2
30 enc_round q0, \key2
33 .macro dec_dround, key1, key2
35 dec_round q0, \key2
38 .macro enc_fround, key1, key2, key3
40 aese.8 q0, \key2
44 .macro dec_fround, key1, key2, key3
46 aesd.8 q0, \key2
50 .macro enc_dround_3x, key1, key2
54 enc_round q0, \key2
55 enc_round q1, \key2
56 enc_round q2, \key2
59 .macro dec_dround_3x, key1, key2
63 dec_round q0, \key2
64 dec_round q1, \key2
65 dec_round q2, \key2
68 .macro enc_fround_3x, key1, key2, key3
72 aese.8 q0, \key2
73 aese.8 q1, \key2
74 aese.8 q2, \key2
80 .macro dec_fround_3x, key1, key2, key3
84 aesd.8 q0, \key2
85 aesd.8 q1, \key2
86 aesd.8 q2, \key2
H A Daes-ce-glue.c146 struct crypto_aes_ctx __aligned(8) key2; member in struct:crypto_aes_xts_ctx
157 ret = ce_aes_expandkey(&ctx->key2, &in_key[key_len / 2], xts_set_key()
319 walk.iv, (u8 *)ctx->key2.key_enc, first); xts_encrypt()
344 walk.iv, (u8 *)ctx->key2.key_enc, first); xts_decrypt()
H A Dbsaes-armv7.pl1588 # const AES_KEY *key1, const AES_KEY *key2,
1621 ldr r2, [ip, #0] @ key2
2035 ldr r2, [ip, #0] @ key2
/linux-4.1.27/fs/ubifs/
H A Dkey.h478 * @key2: the second key to compare
481 * @key2, %0 if the keys are equivalent and %1 if @key1 is greater than @key2.
485 const union ubifs_key *key2) 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()
503 * @key2: the second key to compare
505 * This function compares 2 keys and returns %1 if @key1 is equal to @key2 and
510 const union ubifs_key *key2) 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 Dtnc_misc.c366 const union ubifs_key *key1, *key2; read_znode() local
369 key2 = &znode->zbranch[i + 1].key; read_znode()
371 cmp = keys_cmp(c, key1, key2); read_znode()
H A Djournal.c1292 union ubifs_key xent_key, key1, key2; ubifs_jnl_delete_xattr() local
1359 highest_ino_key(c, &key2, inode->i_ino); ubifs_jnl_delete_xattr()
1360 err = ubifs_tnc_remove_range(c, &key1, &key2); ubifs_jnl_delete_xattr()
H A Dtnc.c2671 union ubifs_key key1, key2; ubifs_tnc_remove_ino() local
2707 highest_ino_key(c, &key2, xattr_inum); ubifs_tnc_remove_ino()
2708 err = ubifs_tnc_remove_range(c, &key1, &key2); ubifs_tnc_remove_ino()
2721 highest_ino_key(c, &key2, inum); ubifs_tnc_remove_ino()
2723 return ubifs_tnc_remove_range(c, &key1, &key2); ubifs_tnc_remove_ino()
/linux-4.1.27/fs/hfs/
H A Dcatalog.c153 * struct hfs_cat_key *key2: pointer to the second 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
168 k2p = key2->cat.ParID; hfs_cat_keycmp()
174 key2->cat.CName.name, key2->cat.CName.len); hfs_cat_keycmp()
H A Dextent.c41 * struct hfs_ext_key *key2: pointer to the second 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
56 fnum2 = key2->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()
63 block2 = key2->ext.FABN; hfs_ext_keycmp()
/linux-4.1.27/fs/befs/
H A Dbtree.c120 const void *key2, int keylen2);
713 * @key2: pointer to the second key to be compared
714 * @keylen2: length in bytes of key2
716 * Returns 0 if @key1 and @key2 are equal.
718 * Returns <0 if @key2 is greater..
722 const void *key2, int keylen2) befs_compare_strings()
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;
741 const void *key2, int keylen2)
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)
763 const void *key2, int keylen2)
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;
785 const void *key2, int keylen2)
787 double result = *(double *) key1 - *(double *) key2;
721 befs_compare_strings(const void *key1, int keylen1, const void *key2, int keylen2) befs_compare_strings() argument
/linux-4.1.27/kernel/
H A Dfutex.c320 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
1287 ret = get_futex_key(uaddr2, flags & FLAGS_SHARED, &key2, VERIFY_WRITE); futex_wake_op()
1292 hb2 = hash_futex(&key2); futex_wake_op()
1322 put_futex_key(&key2); futex_wake_op()
1342 if (match_futex (&this->key, &key2)) { futex_wake_op()
1358 put_futex_key(&key2); futex_wake_op()
1370 * @key2: the new key for the requeued futex_q
1374 struct futex_hash_bucket *hb2, union futex_key *key2) requeue_futex()
1378 * If key1 and key2 hash to the same bucket, no need to requeue_futex()
1388 get_futex_key_refs(key2); requeue_futex()
1389 q->key = *key2; requeue_futex()
1429 * @key2: the to futex key
1446 union futex_key *key1, union futex_key *key2, futex_proxy_trylock_atomic()
1471 if (!match_futex(top_waiter->requeue_pi_key, key2)) futex_proxy_trylock_atomic()
1480 ret = futex_lock_pi_atomic(pifutex, hb2, key2, ps, top_waiter->task, futex_proxy_trylock_atomic()
1483 requeue_pi_wake_futex(top_waiter, key2, hb2); futex_proxy_trylock_atomic()
1511 union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT; futex_requeue() local
1549 ret = get_futex_key(uaddr2, flags & FLAGS_SHARED, &key2, futex_requeue()
1558 if (requeue_pi && match_futex(&key1, &key2)) { futex_requeue()
1564 hb2 = hash_futex(&key2); futex_requeue()
1586 put_futex_key(&key2); futex_requeue()
1604 &key2, &pi_state, nr_requeue); futex_requeue()
1628 ret = lookup_pi_state(ret, hb2, &key2, &pi_state); futex_requeue()
1639 put_futex_key(&key2); futex_requeue()
1656 put_futex_key(&key2); futex_requeue()
1697 if (requeue_pi && !match_futex(this->requeue_pi_key, &key2)) { futex_requeue()
1715 requeue_pi_wake_futex(this, &key2, hb2); futex_requeue()
1725 requeue_futex(this, hb1, hb2, &key2); futex_requeue()
1737 * one at key2 and updated their key pointer. We no longer need to futex_requeue()
1744 put_futex_key(&key2); futex_requeue()
2479 * @key2: the futex_key of the requeue target futex
2493 struct futex_q *q, union futex_key *key2, handle_early_requeue_pi_wakeup()
2505 if (!match_futex(&q->key, key2)) { handle_early_requeue_pi_wakeup()
2572 union futex_key key2 = FUTEX_KEY_INIT; futex_wait_requeue_pi() local
2601 ret = get_futex_key(uaddr2, flags & FLAGS_SHARED, &key2, VERIFY_WRITE); futex_wait_requeue_pi()
2607 q.requeue_pi_key = &key2; futex_wait_requeue_pi()
2621 if (match_futex(&q.key, &key2)) { futex_wait_requeue_pi()
2631 ret = handle_early_requeue_pi_wakeup(hb, &q, &key2, to); futex_wait_requeue_pi()
2637 * In order for us to be here, we know our q.key == key2, and since futex_wait_requeue_pi()
2641 * futex_requeue dropped our key1 reference and incremented our key2 futex_wait_requeue_pi()
2710 put_futex_key(&key2); futex_wait_requeue_pi()
1373 requeue_futex(struct futex_q *q, struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2, union futex_key *key2) requeue_futex() argument
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
2492 handle_early_requeue_pi_wakeup(struct futex_hash_bucket *hb, struct futex_q *q, union futex_key *key2, struct hrtimer_sleeper *timeout) handle_early_requeue_pi_wakeup() argument
/linux-4.1.27/drivers/net/wireless/ath/
H A Dkey.c134 u32 key0, key1, key2, key3, key4; ath_hw_set_keycache_entry() local
186 key2 = get_unaligned_le32(k->kv_val + 6); ath_hw_set_keycache_entry()
212 REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2); ath_hw_set_keycache_entry()
230 * key2 [31:0] = RX key [63:32] ath_hw_set_keycache_entry()
269 * key2 [31:0] = TX/RX MIC key [63:32] ath_hw_set_keycache_entry()
323 REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2); ath_hw_set_keycache_entry()
/linux-4.1.27/include/linux/
H A Dbtree-128.h87 u64 key1, u64 key2, size_t index);
H A Dbtree.h21 * [key1, key2, ..., keyN] [val1, val2, ..., valN]
/linux-4.1.27/fs/cifs/
H A Dsmbencrypt.c72 unsigned char key2[8]; smbhash() local
77 str_to_key(key, key2); smbhash()
88 crypto_blkcipher_setkey(tfm_des, key2, 8); smbhash()
/linux-4.1.27/arch/arm64/crypto/
H A Daes-glue.c79 struct crypto_aes_ctx __aligned(8) key2; member in struct:crypto_aes_xts_ctx
90 ret = aes_expandkey(&ctx->key2, &in_key[key_len / 2], xts_set_key()
251 (u8 *)ctx->key2.key_enc, walk.iv, first); xts_encrypt()
275 (u8 *)ctx->key2.key_enc, walk.iv, first); xts_decrypt()
/linux-4.1.27/scripts/kconfig/lxdialog/
H A Dutil.c563 int key2; on_key_esc() local
569 key2 = wgetch(win); on_key_esc()
575 if (key == KEY_ESC && key2 == ERR) on_key_esc()
577 else if (key != ERR && key != KEY_ESC && key2 == ERR) on_key_esc()
/linux-4.1.27/net/core/
H A Dflow.c173 static int flow_key_compare(const struct flowi *key1, const struct flowi *key2, flow_key_compare() argument
181 k2 = (const flow_compare_t *) key2; flow_key_compare()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
H A Dfw-api-sta.h322 * @key2: key material data
332 u8 key2[16]; member in struct:iwl_mvm_add_sta_key_cmd
/linux-4.1.27/fs/reiserfs/
H A Dstree.c39 * 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
98 const struct reiserfs_key *key2) comp_short_le_keys()
104 k2_u32 = (__u32 *) key2; comp_short_le_keys()
97 comp_short_le_keys(const struct reiserfs_key *key1, const struct reiserfs_key *key2) comp_short_le_keys() argument
/linux-4.1.27/net/openvswitch/
H A Dflow_table.c437 const struct sw_flow_key *key2, cmp_key()
441 const long *cp2 = (const long *)((const u8 *)key2 + key_start); cmp_key()
436 cmp_key(const struct sw_flow_key *key1, const struct sw_flow_key *key2, int key_start, int key_end) cmp_key() argument
/linux-4.1.27/drivers/net/hippi/
H A Drrunner.h616 u32 key2; member in struct:eeprom_boot
/linux-4.1.27/security/keys/
H A Dtrusted.c260 const unsigned char *key2, TSS_checkhmac2()
341 ret = TSS_rawhmac(testhmac2, key2, keylen2, 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/tools/perf/
H A Dbuiltin-report.c643 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", cmd_report()
H A Dbuiltin-diff.c804 OPT_STRING('s', "sort", &sort_order, "key[,key2...]",
H A Dbuiltin-kmem.c1126 OPT_CALLBACK('s', "sort", NULL, "key[,key2...]", cmd_kmem()
H A Dbuiltin-top.c1115 OPT_STRING('s', "sort", &sort_order, "key[,key2...]", cmd_top()
H A Dbuiltin-sched.c1707 OPT_STRING('s', "sort", &sched.sort_order, "key[,key2...]", cmd_sched()
/linux-4.1.27/drivers/pinctrl/bcm/
H A Dpinctrl-cygnus-mux.c505 CYGNUS_PIN_GROUP(key2, 0x4, 8, 1),
/linux-4.1.27/drivers/input/misc/
H A Dyealink.c235 * The key parameter can be cascaded: key2 << 8 | key1
/linux-4.1.27/sound/pci/asihpi/
H A Dhpi_internal.h682 u16 key2; member in struct:hpi_adapterx_msg::__anon14395
/linux-4.1.27/drivers/md/
H A Ddm-thin.c1304 struct dm_cell_key key2; process_discard_cell() local
1322 build_data_key(tc->td, lookup_result.block, &key2); process_discard_cell()
1323 if (bio_detain(tc->pool, &key2, bio, &cell2)) { process_discard_cell()
/linux-4.1.27/fs/btrfs/
H A Drelocation.c1745 struct btrfs_disk_key key2; memcmp_node_keys() local
1747 btrfs_node_key(path->nodes[level], &key2, path->slots[level]); memcmp_node_keys()
1748 return memcmp(&key1, &key2, sizeof(key1)); memcmp_node_keys()
/linux-4.1.27/kernel/locking/
H A Dlockdep.c314 #define iterate_chain_key(key1, key2) \
317 (key2))

Completed in 2724 milliseconds