Home
last modified time | relevance | path

Searched refs:plen (Results 1 – 2 of 2) sorted by relevance

/security/keys/
Dkeyctl.c77 size_t, plen, in SYSCALL_DEFINE5() argument
86 if (plen > 1024 * 1024 - 1) in SYSCALL_DEFINE5()
114 if (plen) { in SYSCALL_DEFINE5()
116 payload = kvmalloc(plen, GFP_KERNEL); in SYSCALL_DEFINE5()
121 if (copy_from_user(payload, _payload, plen) != 0) in SYSCALL_DEFINE5()
135 payload, plen, KEY_PERM_UNDEF, in SYSCALL_DEFINE5()
147 kvfree_sensitive(payload, plen); in SYSCALL_DEFINE5()
327 size_t plen) in keyctl_update_key() argument
334 if (plen > PAGE_SIZE) in keyctl_update_key()
339 if (plen) { in keyctl_update_key()
[all …]
Dkey.c815 size_t plen, in key_create_or_update() argument
857 prep.datalen = plen; in key_create_or_update()
943 ima_post_key_create_or_update(keyring, key, payload, plen, in key_create_or_update()
978 payload, plen, in key_create_or_update()
998 int key_update(key_ref_t key_ref, const void *payload, size_t plen) in key_update() argument
1017 prep.datalen = plen; in key_update()