| /kernel/linux/linux-5.10/drivers/input/keyboard/ |
| H A D | ep93xx_keypad.c | 72 int key1; member 85 int keycode, key1, key2; in ep93xx_keypad_irq_handler() local 90 key1 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler() 96 if (keypad->key1 && key1 != keypad->key1 && key2 != keypad->key1) in ep93xx_keypad_irq_handler() 97 input_report_key(input_dev, keypad->key1, 0); in ep93xx_keypad_irq_handler() 99 if (keypad->key2 && key1 != keypad->key2 && key2 != keypad->key2) in ep93xx_keypad_irq_handler() 102 input_report_key(input_dev, key1, in ep93xx_keypad_irq_handler() [all...] |
| /kernel/linux/linux-6.6/drivers/input/keyboard/ |
| H A D | ep93xx_keypad.c | 75 int key1; member 88 int keycode, key1, key2; in ep93xx_keypad_irq_handler() local 93 key1 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler() 99 if (keypad->key1 && key1 != keypad->key1 && key2 != keypad->key1) in ep93xx_keypad_irq_handler() 100 input_report_key(input_dev, keypad->key1, 0); in ep93xx_keypad_irq_handler() 102 if (keypad->key2 && key1 != keypad->key2 && key2 != keypad->key2) in ep93xx_keypad_irq_handler() 105 input_report_key(input_dev, key1, in ep93xx_keypad_irq_handler() [all...] |
| /kernel/linux/linux-6.6/tools/testing/selftests/alsa/ |
| H A D | conf.c | 343 static int conf_get_by_keys(snd_config_t *root, const char *key1, in conf_get_by_keys() argument 348 if (key1) { in conf_get_by_keys() 349 ret = snd_config_search(root, key1, &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, key in conf_get_count() 395 conf_get_string(snd_config_t *root, const char *key1, const char *key2, const char *def) conf_get_string() argument 413 conf_get_long(snd_config_t *root, const char *key1, const char *key2, long def) conf_get_long() argument 431 conf_get_bool(snd_config_t *root, const char *key1, const char *key2, int def) conf_get_bool() argument 449 conf_get_string_array(snd_config_t *root, const char *key1, const char *key2, const char **array, int array_size, const char *def) conf_get_string_array() argument [all...] |
| H A D | alsa-local.h | 19 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,
|
| /kernel/linux/linux-6.6/fs/xfs/libxfs/ |
| H A D | xfs_btree.h | 163 * Difference between key2 and key1 -- positive if key1 > key2, 164 * negative if key1 < key2, and zero if equal. If the @mask parameter 169 const union xfs_btree_key *key1, 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 191 * immediately adjacent, @key1 should be the high key of the first 197 const union xfs_btree_key *key1, 584 const union xfs_btree_key *key1, 600 const union xfs_btree_key *key1, in xfs_btree_keycmp_lt() 598 xfs_btree_keycmp_lt( struct xfs_btree_cur *cur, const union xfs_btree_key *key1, const union xfs_btree_key *key2) xfs_btree_keycmp_lt() argument 607 xfs_btree_keycmp_gt( struct xfs_btree_cur *cur, const union xfs_btree_key *key1, const union xfs_btree_key *key2) xfs_btree_keycmp_gt() argument 616 xfs_btree_keycmp_eq( struct xfs_btree_cur *cur, const union xfs_btree_key *key1, const union xfs_btree_key *key2) xfs_btree_keycmp_eq() argument 625 xfs_btree_keycmp_le( struct xfs_btree_cur *cur, const union xfs_btree_key *key1, const union xfs_btree_key *key2) xfs_btree_keycmp_le() argument 634 xfs_btree_keycmp_ge( struct xfs_btree_cur *cur, const union xfs_btree_key *key1, const union xfs_btree_key *key2) xfs_btree_keycmp_ge() argument 643 xfs_btree_keycmp_ne( struct xfs_btree_cur *cur, const union xfs_btree_key *key1, const union xfs_btree_key *key2) xfs_btree_keycmp_ne() argument 653 xfs_btree_masked_keycmp_lt( struct xfs_btree_cur *cur, const union xfs_btree_key *key1, const union xfs_btree_key *key2, const union xfs_btree_key *mask) xfs_btree_masked_keycmp_lt() argument 663 xfs_btree_masked_keycmp_gt( struct xfs_btree_cur *cur, const union xfs_btree_key *key1, const union xfs_btree_key *key2, const union xfs_btree_key *mask) xfs_btree_masked_keycmp_gt() argument 673 xfs_btree_masked_keycmp_ge( struct xfs_btree_cur *cur, const union xfs_btree_key *key1, const union xfs_btree_key *key2, const union xfs_btree_key *mask) xfs_btree_masked_keycmp_ge() argument [all...] |
| /kernel/linux/linux-5.10/fs/befs/ |
| H A D | btree.c | 119 static int befs_compare_strings(const void *key1, int keylen1, 702 * @key1: pointer to the first key to be compared 703 * @keylen1: length in bytes of key1 707 * Returns 0 if @key1 and @key2 are equal. 708 * Returns >0 if @key1 is greater. 712 befs_compare_strings(const void *key1, int keylen1, 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; 731 btree_compare_uint32(cont void *key1, in [all...] |
| /kernel/linux/linux-6.6/fs/befs/ |
| H A D | btree.c | 119 static int befs_compare_strings(const void *key1, int keylen1, 702 * @key1: pointer to the first key to be compared 703 * @keylen1: length in bytes of key1 707 * Returns 0 if @key1 and @key2 are equal. 708 * Returns >0 if @key1 is greater. 712 befs_compare_strings(const void *key1, int keylen1, 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; 731 btree_compare_uint32(cont void *key1, in [all...] |
| /kernel/linux/linux-5.10/arch/arm/crypto/ |
| H A D | aes-ce-core.S | 26 .macro enc_dround, key1, key2 27 enc_round q0, \key1 31 .macro dec_dround, key1, key2 32 dec_round q0, \key1 36 .macro enc_fround, key1, key2, key3 37 enc_round q0, \key1 42 .macro dec_fround, key1, key2, key3 43 dec_round q0, \key1 48 .macro enc_dround_4x, key1, key2 49 enc_round q0, \key1 [all...] |
| /kernel/linux/linux-6.6/arch/arm/crypto/ |
| H A D | aes-ce-core.S | 26 .macro enc_dround, key1, key2 27 enc_round q0, \key1 31 .macro dec_dround, key1, key2 32 dec_round q0, \key1 36 .macro enc_fround, key1, key2, key3 37 enc_round q0, \key1 42 .macro dec_fround, key1, key2, key3 43 dec_round q0, \key1 48 .macro enc_dround_4x, key1, key2 49 enc_round q0, \key1 [all...] |
| /kernel/linux/linux-5.10/fs/ubifs/ |
| H A D | key.h | 472 * @key1: the first key to compare 475 * This function compares 2 keys and returns %-1 if @key1 is less than 476 * @key2, %0 if the keys are equivalent and %1 if @key1 is greater than @key2. 479 const union ubifs_key *key1, in keys_cmp() 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() 497 * @key1: the first key to compare 500 * This function compares 2 keys and returns %1 if @key1 i 478 keys_cmp(const struct ubifs_info *c, const union ubifs_key *key1, const union ubifs_key *key2) keys_cmp() argument 503 keys_eq(const struct ubifs_info *c, const union ubifs_key *key1, const union ubifs_key *key2) keys_eq() argument [all...] |
| H A D | tnc_misc.c | 369 const union ubifs_key *key1, *key2; in read_znode() local 371 key1 = &znode->zbranch[i].key; in read_znode() 374 cmp = keys_cmp(c, key1, key2); in read_znode() 379 } else if (cmp == 0 && !is_hash_key(c, key1)) { in read_znode() 464 union ubifs_key key1, *key = &zbr->key; in ubifs_tnc_read_node() local 486 key_read(c, node + UBIFS_KEY_OFFSET, &key1); in ubifs_tnc_read_node() 487 if (!keys_eq(c, key, &key1)) { in ubifs_tnc_read_node() 491 dbg_tnck(&key1, "but found node's key "); in ubifs_tnc_read_node()
|
| H A D | tnc.c | 1729 union ubifs_key key1; in validate_data_node() local 1758 key_read(c, buf + UBIFS_KEY_OFFSET, &key1); in validate_data_node() 1759 if (!keys_eq(c, &zbr->key, &key1)) { in validate_data_node() 1763 dbg_tnck(&key1, "found node's key "); in validate_data_node() 2035 union ubifs_key *key, *key1; in correct_parent_keys() local 2041 key1 = &znode->parent->zbranch[0].key; in correct_parent_keys() 2043 while (keys_cmp(c, key, key1) < 0) { in correct_parent_keys() 2044 key_copy(c, key, key1); in correct_parent_keys() 2049 key1 = &znode->parent->zbranch[0].key; in correct_parent_keys() 2122 union ubifs_key *key = &zbr->key, *key1; in tnc_insert() local 2904 union ubifs_key key1, key2; ubifs_tnc_remove_ino() local [all...] |
| /kernel/linux/linux-6.6/fs/ubifs/ |
| H A D | key.h | 472 * @key1: the first key to compare 475 * This function compares 2 keys and returns %-1 if @key1 is less than 476 * @key2, %0 if the keys are equivalent and %1 if @key1 is greater than @key2. 479 const union ubifs_key *key1, in keys_cmp() 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() 497 * @key1: the first key to compare 500 * This function compares 2 keys and returns %1 if @key1 i 478 keys_cmp(const struct ubifs_info *c, const union ubifs_key *key1, const union ubifs_key *key2) keys_cmp() argument 503 keys_eq(const struct ubifs_info *c, const union ubifs_key *key1, const union ubifs_key *key2) keys_eq() argument [all...] |
| H A D | tnc_misc.c | 369 const union ubifs_key *key1, *key2; in read_znode() local 371 key1 = &znode->zbranch[i].key; in read_znode() 374 cmp = keys_cmp(c, key1, key2); in read_znode() 379 } else if (cmp == 0 && !is_hash_key(c, key1)) { in read_znode() 463 union ubifs_key key1, *key = &zbr->key; in ubifs_tnc_read_node() local 485 key_read(c, node + UBIFS_KEY_OFFSET, &key1); in ubifs_tnc_read_node() 486 if (!keys_eq(c, key, &key1)) { in ubifs_tnc_read_node() 490 dbg_tnck(&key1, "but found node's key "); in ubifs_tnc_read_node()
|
| H A D | tnc.c | 1730 union ubifs_key key1; in validate_data_node() local 1759 key_read(c, buf + UBIFS_KEY_OFFSET, &key1); in validate_data_node() 1760 if (!keys_eq(c, &zbr->key, &key1)) { in validate_data_node() 1764 dbg_tnck(&key1, "found node's key "); in validate_data_node() 2036 union ubifs_key *key, *key1; in correct_parent_keys() local 2042 key1 = &znode->parent->zbranch[0].key; in correct_parent_keys() 2044 while (keys_cmp(c, key, key1) < 0) { in correct_parent_keys() 2045 key_copy(c, key, key1); in correct_parent_keys() 2050 key1 = &znode->parent->zbranch[0].key; in correct_parent_keys() 2123 union ubifs_key *key = &zbr->key, *key1; in tnc_insert() local 2905 union ubifs_key key1, key2; ubifs_tnc_remove_ino() local [all...] |
| /kernel/linux/linux-6.6/tools/testing/selftests/hid/tests/ |
| H A D | test_gamepad.py | 70 key1 = libevdev.evbit(uhdev.buttons_map[b1]) 76 expected_event0 = libevdev.InputEvent(key1, 1) 83 assert evdev.value[key1] == 1 88 expected_event = libevdev.InputEvent(key1, 0) 92 assert evdev.value[key1] == 0 101 assert evdev.value[key1] == 0
|
| /kernel/linux/linux-5.10/net/mptcp/ |
| H A D | crypto_test.c | 37 u64 key1, key2; in mptcp_crypto_test_basic() local 43 key1 = be64_to_cpu(*((__be64 *)&tests[i].key[0])); in mptcp_crypto_test_basic() 51 mptcp_crypto_hmac_sha(key1, key2, msg, 8, hmac); in mptcp_crypto_test_basic()
|
| /kernel/linux/linux-6.6/net/mptcp/ |
| H A D | crypto_test.c | 37 u64 key1, key2; in mptcp_crypto_test_basic() local 43 key1 = be64_to_cpu(*((__be64 *)&tests[i].key[0])); in mptcp_crypto_test_basic() 51 mptcp_crypto_hmac_sha(key1, key2, msg, 8, hmac); in mptcp_crypto_test_basic()
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
| H A D | timer_mim.c | 10 int err, prog_fd, key1 = 1; in timer_mim() local 38 err = bpf_map__delete_elem(timer_skel->maps.outer_arr, &key1, sizeof(key1), 0); in timer_mim()
|
| /kernel/linux/linux-6.6/kernel/futex/ |
| H A D | futex.h | 130 * @key1: Pointer to key1 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()
|
| H A D | requeue.c | 79 * If key1 and key2 hash to the same bucket, no need to in requeue_futex() 245 * @key1: the from futex key 268 struct futex_hash_bucket *hb2, union futex_key *key1, in futex_proxy_trylock_atomic() 290 top_waiter = futex_top_waiter(hb1, key1); in futex_proxy_trylock_atomic() 367 union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT; in futex_requeue() local 427 ret = get_futex_key(uaddr1, flags & FLAGS_SHARED, &key1, FUTEX_READ); in futex_requeue() 439 if (requeue_pi && futex_match(&key1, &key2)) in futex_requeue() 442 hb1 = futex_hash(&key1); in futex_requeue() 484 ret = futex_proxy_trylock_atomic(uaddr2, hb1, hb2, &key1, in futex_requeue() 574 if (!futex_match(&this->key, &key1)) in futex_requeue() 267 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, struct task_struct **exiting, int set_waiters) futex_proxy_trylock_atomic() argument [all...] |
| /kernel/linux/linux-5.10/security/selinux/ss/ |
| H A D | symtab.c | 26 static int symcmp(const void *key1, const void *key2) in symcmp() argument 30 keyp1 = key1; in symcmp()
|
| /kernel/linux/linux-6.6/security/selinux/ss/ |
| H A D | symtab.c | 26 static int symcmp(const void *key1, const void *key2) in symcmp() argument 30 keyp1 = key1; in symcmp()
|
| /kernel/linux/linux-5.10/drivers/crypto/vmx/ |
| H A D | aesp8-ppc.h | 22 const struct aes_key *key1, const struct aes_key *key2, u8 *iv); 24 const struct aes_key *key1, const struct aes_key *key2, u8 *iv);
|
| /kernel/linux/linux-6.6/drivers/crypto/vmx/ |
| H A D | aesp8-ppc.h | 28 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);
|