Searched refs:key_data_len (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/security/keys/ |
D | keyctl.c | 831 size_t key_data_len; in keyctl_read_key() local 890 key_data_len = (buflen <= PAGE_SIZE) ? buflen : 0; in keyctl_read_key() 892 if (key_data_len) { in keyctl_read_key() 893 key_data = kvmalloc(key_data_len, GFP_KERNEL); in keyctl_read_key() 900 ret = __keyctl_read_key(key, key_data, key_data_len); in keyctl_read_key() 915 if (ret > key_data_len) { in keyctl_read_key() 917 kvfree_sensitive(key_data, key_data_len); in keyctl_read_key() 918 key_data_len = ret; in keyctl_read_key() 926 kvfree_sensitive(key_data, key_data_len); in keyctl_read_key()
|
/linux-6.6.21/drivers/accessibility/speakup/ |
D | main.c | 1222 int i = 0, states, key_data_len; in spk_set_key_info() local 1235 key_data_len = (states + 1) * (num_keys + 1); in spk_set_key_info() 1236 if (key_data_len + SHIFT_TBL_SIZE + 4 >= sizeof(spk_key_buf)) { in spk_set_key_info() 1238 key_data_len + SHIFT_TBL_SIZE + 4, in spk_set_key_info() 1247 memcpy(cp1, cp, key_data_len + 3); in spk_set_key_info()
|