Searched refs:key_payload_reserve (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/security/keys/ |
D | user_defined.c | 107 ret = key_payload_reserve(key, prep->datalen); in user_update() 133 key_payload_reserve(key, 0); in user_revoke()
|
D | keyring.c | 1329 ret = key_payload_reserve(keyring, in __key_link_begin() 1393 key_payload_reserve(keyring, in __key_link_end() 1511 key_payload_reserve(keyring, keyring->datalen - KEYQUOTA_LINK_BYTES); in __key_unlink() 1662 key_payload_reserve(keyring, 0); in keyring_clear() 1684 key_payload_reserve(keyring, 0); in keyring_revoke()
|
D | key.c | 369 int key_payload_reserve(struct key *key, size_t datalen) in key_payload_reserve() function 401 EXPORT_SYMBOL(key_payload_reserve); 1103 ret = key_payload_reserve(key, prep->quotalen); in generic_key_instantiate()
|
D | big_key.c | 312 key_payload_reserve(key, 0); in big_key_revoke()
|
D | trusted.c | 948 ret = key_payload_reserve(key, sizeof *p); in trusted_payload_alloc()
|
/Linux-v5.4/include/linux/ |
D | key-type.h | 168 extern int key_payload_reserve(struct key *key, size_t datalen);
|
/Linux-v5.4/fs/crypto/ |
D | keyring.c | 106 return key_payload_reserve(key, FSCRYPT_MAX_KEY_SIZE); in fscrypt_user_key_instantiate()
|
/Linux-v5.4/security/keys/encrypted-keys/ |
D | encrypted.c | 651 ret = key_payload_reserve(key, payload_datalen + datablob_len in encrypted_key_alloc()
|
/Linux-v5.4/Documentation/security/keys/ |
D | core.rst | 1362 int key_payload_reserve(struct key *key, size_t datalen); 1426 keytype->def_datalen, then key_payload_reserve() should be called. 1448 key_payload_reserve() should be called if the data length might change 1458 key_payload_reserve() should be called before the changes are made, but
|