Home
last modified time | relevance | path

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

123456

/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()
360 snd_config_t *conf_get_subtree(snd_config_t *root, const char *key1, const char *key2) in conf_get_subtree() argument
366 ret = conf_get_by_keys(root, key1, key2, &root); in conf_get_subtree()
370 ksft_exit_fail_msg("key '%s'.'%s' search error: %s\n", key1, key2, snd_strerror(ret)); in conf_get_subtree()
374 int conf_get_count(snd_config_t *root, const char *key1, const char *key2) in conf_get_count() argument
382 ret = conf_get_by_keys(root, key1, key2, &cfg); in conf_get_count()
386 ksft_exit_fail_msg("key '%s'.'%s' search error: %s\n", key1, key2, snd_strerror(ret)); in conf_get_count()
388 ksft_exit_fail_msg("key '%s'.'%s' is not a compound\n", key1, key2); in conf_get_count()
[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()
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 …]
/openbmc/linux/arch/arm/crypto/
H A Daes-ce-core.S26 .macro enc_dround, key1, key2 argument
28 enc_round q0, \key2
31 .macro dec_dround, key1, key2 argument
33 dec_round q0, \key2
36 .macro enc_fround, key1, key2, key3
38 aese.8 q0, \key2
42 .macro dec_fround, key1, key2, key3
44 aesd.8 q0, \key2
48 .macro enc_dround_4x, key1, key2 argument
53 enc_round q0, \key2
[all …]
/openbmc/phosphor-logging/test/openpower-pels/
H A Dadditional_data_test.cpp25 {"KEY1", "VALUE1"}, {"KEY2", "VALUE2"}, {"KEY3", ""}}; in TEST()
31 EXPECT_TRUE(ad.getValue("KEY2")); in TEST()
32 EXPECT_EQ(*(ad.getValue("KEY2")), "VALUE2"); in TEST()
44 std::string expected = R"({"KEY1":"VALUE1","KEY2":"VALUE2","KEY3":""})"; in TEST()
58 ad.add("KEY2", "VALUE2"); in TEST()
59 EXPECT_EQ(*(ad.getValue("KEY2")), "VALUE2"); in TEST()
62 {"KEY2", "VALUE2"}}; in TEST()
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_btree.h163 * Difference between key2 and key1 -- positive if key1 > key2,
164 * negative if key1 < key2, and zero if equal. If the @mask parameter
170 const union xfs_btree_key *key2,
188 * Given two btree keys @key1 and @key2, decide if it is impossible for
190 * @key1 < K < @key2. To determine if two btree records are
192 * record and @key2 should be the low key of the second record.
198 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
603 return cur->bc_ops->diff_two_keys(cur, key1, key2, NULL) < 0; in xfs_btree_keycmp_lt()
[all …]
/openbmc/linux/fs/befs/
H A Dbtree.c120 const void *key2, int keylen2);
704 * @key2: pointer to the second key to be compared
705 * @keylen2: length in bytes of key2
707 * Returns 0 if @key1 and @key2 are equal.
709 * Returns <0 if @key2 is greater.
713 const void *key2, int keylen2) in befs_compare_strings() argument
716 int result = strncmp(key1, key2, len); in befs_compare_strings()
725 btree_compare_int32(cont void *key1, int keylen1, const void *key2, int keylen2)
727 return *(int32_t *) key1 - *(int32_t *) key2;
732 const void *key2, int keylen2)
[all …]
/openbmc/linux/crypto/
H A Dlrw.c35 * start of a new sector) value with key2, we could also have
37 * latter case we would have to store key2 here
43 * key2*{ 0,0,...0,0,0,0,1 }, key2*{ 0,0,...0,0,0,1,1 },
44 * key2*{ 0,0,...0,0,1,1,1 }, key2*{ 0,0,...0,1,1,1,1 }
45 * key2*{ 0,0,...1,1,1,1,1 }, etc
47 * with key2
88 /* initialize multiplication table for Key2 */ in lrw_setkey()
129 * the one corresponding to key2*{ 1,...,1 }. in lrw_next_index()
179 /* T <- I*Key2, using the optimization in lrw_xor_tweak()
239 /* T <- I*Key2 */ in lrw_init_crypt()
/openbmc/linux/kernel/futex/
H A Drequeue.c71 * @key2: the new key for the requeued futex_q
75 struct futex_hash_bucket *hb2, union futex_key *key2) in requeue_futex() argument
79 * If key1 and key2 hash to the same bucket, no need to in requeue_futex()
89 q->key = *key2; in requeue_futex()
246 * @key2: the to futex key
269 union futex_key *key2, struct futex_pi_state **ps, in futex_proxy_trylock_atomic() argument
304 if (!futex_match(top_waiter->requeue_pi_key, key2)) in futex_proxy_trylock_atomic()
319 ret = futex_lock_pi_atomic(pifutex, hb2, key2, ps, top_waiter->task, in futex_proxy_trylock_atomic()
328 requeue_pi_wake_futex(top_waiter, key2, hb2); in futex_proxy_trylock_atomic()
367 union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT; in futex_requeue() local
[all …]
H A Dfutex.h131 * @key2: Pointer to key2
135 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()
/openbmc/u-boot/fs/ubifs/
H A Dkey.h466 * @key2: the second key to compare
469 * @key2, %0 if the keys are equivalent and %1 if @key1 is greater than @key2.
473 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()
491 * @key2: the second key to compare
493 * This function compares 2 keys and returns %1 if @key1 is equal to @key2 and
498 const union ubifs_key *key2) in keys_eq() argument
[all …]
/openbmc/linux/fs/ubifs/
H A Dkey.h473 * @key2: the second key to compare
476 * @key2, %0 if the keys are equivalent and %1 if @key1 is greater than @key2.
480 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()
498 * @key2: the second key to compare
500 * This function compares 2 keys and returns %1 if @key1 is equal to @key2 and
505 const union ubifs_key *key2) in keys_eq() argument
[all …]
/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/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Logging/
H A DCreate.interface.yaml25 "key2": "value2"
28 ["KEY1=value1", "KEY2=value2"]
61 "key2": "value2"
64 ["KEY1=value1", "KEY2=value2"]
/openbmc/linux/fs/hfs/
H A Dcatalog.c161 * struct hfs_cat_key *key2: pointer to the second key to compare
165 * int: negative if key1<key2, positive if key1>key2, and 0 if key1==key2
167 * key1 and key2 point to "valid" (struct hfs_cat_key)s.
171 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()
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) 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()
/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/qemu/qga/
H A Dcommands-posix-ssh.c247 .value = (char *)"algo key2 comments"
331 test_authorized_keys_equal("algo key2 comments"); in test_add_keys()
339 /* key2 came first, and shouldn't be duplicated */ in test_add_keys()
340 test_authorized_keys_equal("algo key2 comments\n" in test_add_keys()
355 /* reset with key2 only */ in test_add_reset_keys()
357 "algo key2 comments"); in test_add_reset_keys()
365 test_authorized_keys_equal("algo key2 comments"); in test_add_reset_keys()
/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/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/tools/perf/Documentation/
H A Dperf-kmem.txt45 -s <key[,key2...]>::
46 --sort=<key[,key2...]>::
/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/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/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Dump/
H A DCreate.interface.yaml29 "key2": "value2"
32 ["KEY1=value1", "KEY2=value2"]

123456