Home
last modified time | relevance | path

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

/security/keys/
Dkeyctl.c61 size_t, plen, in SYSCALL_DEFINE5() argument
71 if (plen > 1024 * 1024 - 1) in SYSCALL_DEFINE5()
98 payload = kmalloc(plen, GFP_KERNEL | __GFP_NOWARN); in SYSCALL_DEFINE5()
100 if (plen <= PAGE_SIZE) in SYSCALL_DEFINE5()
103 payload = vmalloc(plen); in SYSCALL_DEFINE5()
109 if (copy_from_user(payload, _payload, plen) != 0) in SYSCALL_DEFINE5()
123 payload, plen, KEY_PERM_UNDEF, in SYSCALL_DEFINE5()
313 size_t plen) in keyctl_update_key() argument
320 if (plen > PAGE_SIZE) in keyctl_update_key()
327 payload = kmalloc(plen, GFP_KERNEL); in keyctl_update_key()
[all …]
Dkey.c779 size_t plen, in key_create_or_update() argument
814 prep.datalen = plen; in key_create_or_update()
918 int key_update(key_ref_t key_ref, const void *payload, size_t plen) in key_update() argument
938 prep.datalen = plen; in key_update()
/security/selinux/
Dhooks.c2386 static inline int match_prefix(char *prefix, int plen, char *option, int olen) in match_prefix() argument
2388 if (plen > olen) in match_prefix()
2391 return !memcmp(prefix, option, plen); in match_prefix()