Searched refs:key_count (Results 1 – 10 of 10) sorted by relevance
| /linux/kernel/ |
| H A D | crash_dump_dm_crypt.c | 14 static unsigned int key_count; variable 96 memcpy(keys_header, keys_header_loaded, get_keys_header_size(key_count)); in get_keys_from_kdump_reserved_memory() 117 dm_crypt_keys_read((char *)&key_count, sizeof(key_count), &addr); in restore_dm_crypt_keys_to_thread_keyring() 118 if (key_count < 0 || key_count > KEY_NUM_MAX) { in restore_dm_crypt_keys_to_thread_keyring() 123 kexec_dprintk("There are %u keys\n", key_count); in restore_dm_crypt_keys_to_thread_keyring() 126 keys_header_size = get_keys_header_size(key_count); in restore_dm_crypt_keys_to_thread_keyring() 223 key_count--; in config_key_release() 241 if (key_count > KEY_NUM_MAX) { in config_keys_make_item() 252 key_count++; in config_keys_make_item() 259 return sprintf(page, "%d\n", key_count); in config_keys_count_show() [all …]
|
| /linux/drivers/hwmon/ |
| H A D | applesmc.c | 124 unsigned int key_count; /* number of SMC registers */ member 405 int begin = 0, end = smcreg.key_count; in applesmc_get_lower_bound() 427 int begin = 0, end = smcreg.key_count; in applesmc_get_upper_bound() 434 *hi = smcreg.key_count; in applesmc_get_upper_bound() 580 if (s->cache && s->key_count != count) { in applesmc_init_smcreg_try() 582 s->key_count, count); in applesmc_init_smcreg_try() 586 s->key_count = count; in applesmc_init_smcreg_try() 589 s->cache = kcalloc(s->key_count, sizeof(*s->cache), GFP_KERNEL); in applesmc_init_smcreg_try() 629 s->key_count, s->fan_count, s->temp_count, s->index_count, in applesmc_init_smcreg_try() 1062 || newkey >= smcreg.key_count) in applesmc_key_at_index_store()
|
| /linux/drivers/gpio/ |
| H A D | gpio-macsmc.c | 109 ret = apple_smc_get_key_by_index(smc, smc->key_count - 1, &last_key); in macsmc_gpio_find_first_gpio_index() 117 count = smc->key_count; in macsmc_gpio_find_first_gpio_index() 207 count = min(smcgp->smc->key_count, MAX_GPIO); in macsmc_gpio_init_valid_mask()
|
| /linux/drivers/input/keyboard/ |
| H A D | samsung-keypad.c | 242 unsigned int key_count; in samsung_keypad_parse_dt() local 271 key_count = of_get_child_count(np); in samsung_keypad_parse_dt() 272 keymap_data->keymap_size = key_count; in samsung_keypad_parse_dt() 273 keymap = devm_kcalloc(dev, key_count, sizeof(uint32_t), GFP_KERNEL); in samsung_keypad_parse_dt()
|
| /linux/drivers/input/touchscreen/ |
| H A D | hideep.c | 729 int key_count = ts->xfer_buf[1] & 0x0f; in hideep_parse_and_report() local 735 touch_count, key_count, lpm_count); in hideep_parse_and_report() 741 key_count = min(key_count, HIDEEP_KEY_MAX); in hideep_parse_and_report() 742 for (i = 0; i < key_count; i++) { in hideep_parse_and_report()
|
| /linux/include/net/bluetooth/ |
| H A D | mgmt.h | 203 __le16 key_count; member 226 __le16 key_count; member 695 __le16 key_count; member
|
| /linux/net/bluetooth/ |
| H A D | mgmt.c | 2973 u16 key_count, expected_len; in load_link_keys() local 2983 key_count = __le16_to_cpu(cp->key_count); in load_link_keys() 2984 if (key_count > max_key_count) { in load_link_keys() 2986 key_count); in load_link_keys() 2991 expected_len = struct_size(cp, keys, key_count); in load_link_keys() 3004 key_count); in load_link_keys() 3019 for (i = 0; i < key_count; i++) { in load_link_keys() 4353 u16 key_count, expected_len; in set_blocked_keys() local 4358 key_count = __le16_to_cpu(keys->key_count); in set_blocked_keys() 4359 if (key_count > max_key_count) { in set_blocked_keys() [all …]
|
| /linux/net/core/ |
| H A D | flow_dissector.c | 48 unsigned int key_count) in skb_flow_dissector_init() argument 54 for (i = 0; i < key_count; i++, key++) { in skb_flow_dissector_init()
|
| /linux/Documentation/networking/ |
| H A D | mctp.rst | 320 ``dev->key_count``). Multiple keys can reference the device.
|
| /linux/include/linux/ |
| H A D | skbuff.h | 1587 unsigned int key_count);
|