Home
last modified time | relevance | path

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

1234

/openbmc/linux/tools/testing/selftests/alsa/
H A Dconf.c344 const char *key2, snd_config_t **result) in conf_get_by_keys() argument
353 if (key2) in conf_get_by_keys()
354 ret = snd_config_search(root, key2, &root); in conf_get_by_keys()
366 ret = conf_get_by_keys(root, key1, key2, &root); in conf_get_subtree()
382 ret = conf_get_by_keys(root, key1, key2, &cfg); in conf_get_count()
403 ret = conf_get_by_keys(root, key1, key2, &cfg); in conf_get_string()
409 ksft_exit_fail_msg("key '%s'.'%s' is not a string\n", key1, key2); in conf_get_string()
421 ret = conf_get_by_keys(root, key1, key2, &cfg); in conf_get_long()
438 ret = conf_get_by_keys(root, key1, key2, &cfg); in conf_get_bool()
445 ksft_exit_fail_msg("key '%s'.'%s' is not an bool\n", key1, key2); in conf_get_bool()
[all …]
H A Dalsa-local.h19 snd_config_t *conf_get_subtree(snd_config_t *root, const char *key1, const char *key2);
20 int conf_get_count(snd_config_t *root, const char *key1, const char *key2);
21 const char *conf_get_string(snd_config_t *root, const char *key1, const char *key2, const char *def…
22 long conf_get_long(snd_config_t *root, const char *key1, const char *key2, long def);
23 int conf_get_bool(snd_config_t *root, const char *key1, const char *key2, int def);
24 void conf_get_string_array(snd_config_t *root, const char *key1, const char *key2,
/openbmc/linux/drivers/input/keyboard/
H A 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()
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()
121 keypad->key2 = 0; in ep93xx_keypad_irq_handler()
125 input_report_key(input_dev, keypad->key2, 0); in ep93xx_keypad_irq_handler()
[all …]
/openbmc/linux/kernel/futex/
H A Drequeue.c89 q->key = *key2; in requeue_futex()
328 requeue_pi_wake_futex(top_waiter, key2, hb2); in futex_proxy_trylock_atomic()
439 if (requeue_pi && futex_match(&key1, &key2)) in futex_requeue()
443 hb2 = futex_hash(&key2); in futex_requeue()
485 &key2, &pi_state, in futex_requeue()
596 requeue_futex(this, hb1, hb2, &key2); in futex_requeue()
640 requeue_pi_wake_futex(this, &key2, hb2); in futex_requeue()
644 requeue_futex(this, hb1, hb2, &key2); in futex_requeue()
769 union futex_key key2 = FUTEX_KEY_INIT; in futex_wait_requeue_pi() local
798 q.requeue_pi_key = &key2; in futex_wait_requeue_pi()
[all …]
H A Dfutex.h135 static inline int futex_match(union futex_key *key1, union futex_key *key2) in futex_match() argument
137 return (key1 && key2 in futex_match()
138 && key1->both.word == key2->both.word in futex_match()
139 && key1->both.ptr == key2->both.ptr in futex_match()
140 && key1->both.offset == key2->both.offset); in futex_match()
H A Dwaitwake.c241 union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT; in futex_wake_op() local
251 ret = get_futex_key(uaddr2, flags & FLAGS_SHARED, &key2, FUTEX_WRITE); in futex_wake_op()
256 hb2 = futex_hash(&key2); in futex_wake_op()
301 if (futex_match (&this->key, &key2)) { in futex_wake_op()
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_btree.h170 const union xfs_btree_key *key2,
585 const union xfs_btree_key *key2);
601 const union xfs_btree_key *key2) in xfs_btree_keycmp_lt() argument
610 const union xfs_btree_key *key2) in xfs_btree_keycmp_gt() argument
619 const union xfs_btree_key *key2) in xfs_btree_keycmp_eq() argument
628 const union xfs_btree_key *key2) in xfs_btree_keycmp_le() argument
637 const union xfs_btree_key *key2) in xfs_btree_keycmp_ge() argument
646 const union xfs_btree_key *key2) in xfs_btree_keycmp_ne() argument
656 const union xfs_btree_key *key2, in xfs_btree_masked_keycmp_lt() argument
666 const union xfs_btree_key *key2, in xfs_btree_masked_keycmp_gt() argument
[all …]
/openbmc/linux/fs/befs/
H A Dbtree.c120 const void *key2, int keylen2);
713 const void *key2, int keylen2) in befs_compare_strings() argument
716 int result = strncmp(key1, key2, len); in befs_compare_strings()
727 return *(int32_t *) key1 - *(int32_t *) key2;
732 const void *key2, int keylen2)
734 if (*(u_int32_t *) key1 == *(u_int32_t *) key2)
744 if (*(int64_t *) key1 == *(int64_t *) key2)
746 else if (*(int64_t *) key1 > *(int64_t *) key2)
754 const void *key2, int keylen2)
756 if (*(u_int64_t *) key1 == *(u_int64_t *) key2)
[all …]
/openbmc/linux/arch/arm/crypto/
H A Daes-ce-core.S28 enc_round q0, \key2
33 dec_round q0, \key2
38 aese.8 q0, \key2
44 aesd.8 q0, \key2
75 aese.8 q0, \key2
76 aese.8 q1, \key2
77 aese.8 q2, \key2
78 aese.8 q3, \key2
90 aesd.8 q0, \key2
91 aesd.8 q1, \key2
[all …]
/openbmc/linux/fs/ubifs/
H A Dkey.h480 const union ubifs_key *key2) in keys_cmp() argument
482 if (key1->u32[0] < key2->u32[0]) in keys_cmp()
484 if (key1->u32[0] > key2->u32[0]) in keys_cmp()
486 if (key1->u32[1] < key2->u32[1]) in keys_cmp()
488 if (key1->u32[1] > key2->u32[1]) in keys_cmp()
505 const union ubifs_key *key2) in keys_eq() argument
507 if (key1->u32[0] != key2->u32[0]) in keys_eq()
509 if (key1->u32[1] != key2->u32[1]) in keys_eq()
/openbmc/u-boot/fs/ubifs/
H A Dkey.h473 const union ubifs_key *key2) in keys_cmp() argument
475 if (key1->u32[0] < key2->u32[0]) in keys_cmp()
477 if (key1->u32[0] > key2->u32[0]) in keys_cmp()
479 if (key1->u32[1] < key2->u32[1]) in keys_cmp()
481 if (key1->u32[1] > key2->u32[1]) in keys_cmp()
498 const union ubifs_key *key2) in keys_eq() argument
500 if (key1->u32[0] != key2->u32[0]) in keys_eq()
502 if (key1->u32[1] != key2->u32[1]) in keys_eq()
/openbmc/linux/net/mptcp/
H A Dcrypto_test.c37 u64 key1, key2; in mptcp_crypto_test_basic() local
44 key2 = be64_to_cpu(*((__be64 *)&tests[i].key[8])); in mptcp_crypto_test_basic()
51 mptcp_crypto_hmac_sha(key1, key2, msg, 8, hmac); in mptcp_crypto_test_basic()
H A Dcrypto.c44 void mptcp_crypto_hmac_sha(u64 key1, u64 key2, u8 *msg, int len, void *hmac) in mptcp_crypto_hmac_sha() argument
55 put_unaligned_be64(key2, key2be); in mptcp_crypto_hmac_sha()
/openbmc/linux/tools/testing/selftests/hid/tests/
H A Dtest_gamepad.py72 key2 = libevdev.evbit(uhdev.buttons_map[b2])
77 expected_event1 = libevdev.InputEvent(key2, 1)
84 assert evdev.value[key2] == 1
93 assert evdev.value[key2] == 1
97 expected_event = libevdev.InputEvent(key2, 0)
102 assert evdev.value[key2] == 0
/openbmc/qemu/tests/unit/
H A Dtest-crypto-xts.c35 unsigned char key2[32]; member
350 AES_set_encrypt_key(data->key2, data->keylen / 2 * 8, &aestweak.enc); in test_xts()
351 AES_set_decrypt_key(data->key2, data->keylen / 2 * 8, &aestweak.dec); in test_xts()
386 AES_set_encrypt_key(data->key2, data->keylen / 2 * 8, &aestweak.enc); in test_xts_split()
387 AES_set_decrypt_key(data->key2, data->keylen / 2 * 8, &aestweak.dec); in test_xts_split()
431 AES_set_encrypt_key(data->key2, data->keylen / 2 * 8, &aestweak.enc); in test_xts_unaligned()
432 AES_set_decrypt_key(data->key2, data->keylen / 2 * 8, &aestweak.dec); in test_xts_unaligned()
/openbmc/linux/security/selinux/ss/
H A Dsymtab.c26 static int symcmp(const void *key1, const void *key2) in symcmp() argument
31 keyp2 = key2; in symcmp()
/openbmc/linux/drivers/crypto/vmx/
H A Daesp8-ppc.h28 const struct aes_key *key1, const struct aes_key *key2, u8 *iv);
30 const struct aes_key *key1, const struct aes_key *key2, u8 *iv);
/openbmc/qemu/tests/qapi-schema/
H A Dquoted-structural-chars.json1 '{' 'key1' ':' 'value1' ',' 'key2' ':' '[' ']' '}'
/openbmc/linux/tools/bootconfig/samples/
H A Descaped.bconf2 key2 = '\'\''
H A Dgood-single.bconf3 key2 = 2
/openbmc/linux/tools/lib/bpf/
H A Dstrset.c30 static bool strset_equal_fn(long key1, long key2, void *ctx) in strset_equal_fn() argument
34 const char *str2 = s->strs_data + key2; in strset_equal_fn()
/openbmc/linux/kernel/bpf/
H A Dlocal_storage.c44 const struct bpf_cgroup_storage_key *key2 = _key2; in bpf_cgroup_storage_key_cmp() local
46 if (key1->cgroup_inode_id < key2->cgroup_inode_id) in bpf_cgroup_storage_key_cmp()
48 else if (key1->cgroup_inode_id > key2->cgroup_inode_id) in bpf_cgroup_storage_key_cmp()
50 else if (key1->attach_type < key2->attach_type) in bpf_cgroup_storage_key_cmp()
52 else if (key1->attach_type > key2->attach_type) in bpf_cgroup_storage_key_cmp()
/openbmc/linux/arch/arm64/crypto/
H A Daes-glue.c118 struct crypto_aes_ctx __aligned(8) key2;
123 struct crypto_aes_ctx __aligned(8) key2;
157 ret = aes_expandkey(&ctx->key2, &in_key[key_len / 2], in xts_set_key()
176 return aes_expandkey(&ctx->key2, digest, sizeof(digest)); in essiv_cbc_set_key()
422 req->iv, ctx->key2.key_enc); in essiv_cbc_encrypt()
444 req->iv, ctx->key2.key_enc); in essiv_cbc_decrypt()
585 ctx->key2.key_enc, walk.iv, first); in xts_encrypt()
607 ctx->key2.key_enc, walk.iv, first); in xts_encrypt()
657 ctx->key2.key_enc, walk.iv, first); in xts_decrypt()
680 ctx->key2.key_enc, walk.iv, first); in xts_decrypt()
/openbmc/linux/fs/hfs/
H A Dcatalog.c171 int hfs_cat_keycmp(const btree_key *key1, const btree_key *key2) in hfs_cat_keycmp() argument
176 k2p = key2->cat.ParID; in hfs_cat_keycmp()
182 key2->cat.CName.name, key2->cat.CName.len); in hfs_cat_keycmp()
/openbmc/linux/tools/perf/Documentation/
H A Dperf-kmem.txt45 -s <key[,key2...]>::
46 --sort=<key[,key2...]>::

1234