Searched refs:plen (Results 1 - 3 of 3) sorted by relevance
/security/keys/ |
H A D | keyctl.c | 63 size_t, plen, 73 if (plen > 1024 * 1024 - 1) 104 payload = kmalloc(plen, GFP_KERNEL | __GFP_NOWARN); 106 if (plen <= PAGE_SIZE) 109 payload = vmalloc(plen); 115 if (copy_from_user(payload, _payload, plen) != 0) 129 payload, plen, KEY_PERM_UNDEF, 319 size_t plen) 326 if (plen > PAGE_SIZE) 333 payload = kmalloc(plen, GFP_KERNE 317 keyctl_update_key(key_serial_t id, const void __user *_payload, size_t plen) argument 1024 keyctl_instantiate_key_common(key_serial_t id, const struct iovec *payload_iov, unsigned ioc, size_t plen, key_serial_t ringid) argument 1109 keyctl_instantiate_key(key_serial_t id, const void __user *_payload, size_t plen, key_serial_t ringid) argument [all...] |
H A D | key.c | 756 * @plen: The length of @payload. 779 size_t plen, 816 prep.datalen = plen; 919 * @plen: The length of @payload. 928 int key_update(key_ref_t key_ref, const void *payload, size_t plen) argument 948 prep.datalen = plen; 775 key_create_or_update(key_ref_t keyring_ref, const char *type, const char *description, const void *payload, size_t plen, key_perm_t perm, unsigned long flags) argument
|
/security/selinux/ |
H A D | hooks.c | 2480 static inline int match_prefix(char *prefix, int plen, char *option, int olen) argument 2482 if (plen > olen) 2485 return !memcmp(prefix, option, plen);
|
Completed in 535 milliseconds