Home
last modified time | relevance | path

Searched refs:quotalen (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/security/keys/
Dkey.c232 size_t desclen, quotalen; in key_alloc() local
248 quotalen = desclen + 1 + type->def_datalen; in key_alloc()
266 user->qnbytes + quotalen > maxbytes || in key_alloc()
267 user->qnbytes + quotalen < user->qnbytes) in key_alloc()
272 user->qnbytes += quotalen; in key_alloc()
292 key->quotalen = quotalen; in key_alloc()
333 user->qnbytes -= quotalen; in key_alloc()
346 user->qnbytes -= quotalen; in key_alloc()
394 key->quotalen += delta; in key_payload_reserve()
510 prep.quotalen = key->type->def_datalen; in key_instantiate_and_link()
[all …]
Duser_defined.c72 prep->quotalen = datalen; in user_preparse()
Dbig_key.c73 prep->quotalen = 16; in big_key_preparse()
Dkeyctl.c1015 newowner->qnbytes + key->quotalen > maxbytes || in keyctl_chown_key()
1016 newowner->qnbytes + key->quotalen < in keyctl_chown_key()
1021 newowner->qnbytes += key->quotalen; in keyctl_chown_key()
1026 key->user->qnbytes -= key->quotalen; in keyctl_chown_key()
Dgc.c162 key->user->qnbytes -= key->quotalen; in key_gc_unused_keys()
/linux-6.6.21/include/linux/
Dkey-type.h37 size_t quotalen; /* Quota length for proposed payload */ member
Dkey.h216 unsigned short quotalen; /* length added to quota */ member
/linux-6.6.21/crypto/asymmetric_keys/
Dpkcs8_parser.c153 prep->quotalen = 100; in pkcs8_key_preparse()
Dx509_public_key.c236 prep->quotalen = 100; in x509_key_preparse()
/linux-6.6.21/net/dns_resolver/
Ddns_key.c216 prep->quotalen = result_len; in dns_resolver_preparse()
/linux-6.6.21/net/rxrpc/
Dkey.c75 prep->quotalen = datalen + plen; in rxrpc_preparse_xdr_rxkad()
343 prep->quotalen = plen + sizeof(*token); in rxrpc_preparse()
/linux-6.6.21/net/ceph/
Dcrypto.c321 prep->quotalen = datalen; in ceph_key_preparse()
/linux-6.6.21/Documentation/crypto/
Dasymmetric-keys.rst280 cleared, except for data, datalen and quotalen [see
288 size_t quotalen;
302 quotalen should be updated to indicate how much quota this key should
/linux-6.6.21/fs/crypto/
Dkeyring.c578 prep->quotalen = prep->datalen; in fscrypt_provisioning_key_preparse()
/linux-6.6.21/Documentation/security/keys/
Dcore.rst1447 size_t quotalen;
1452 the payload blob parameters; quotalen will be filled in with the default