Home
last modified time | relevance | path

Searched refs:crypto_str (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/crypto/
H A Dfname.c256 * @crypto_str: (output) buffer to allocate
264 struct fscrypt_str *crypto_str) in fscrypt_fname_alloc_buffer()
271 crypto_str->name = kmalloc(max_presented_len + 1, GFP_NOFS); in fscrypt_fname_alloc_buffer()
272 if (!crypto_str->name) in fscrypt_fname_alloc_buffer()
274 crypto_str->len = max_presented_len; in fscrypt_fname_alloc_buffer()
281 * @crypto_str: the buffer to free
285 void fscrypt_fname_free_buffer(struct fscrypt_str *crypto_str) in fscrypt_fname_free_buffer() argument
287 if (!crypto_str) in fscrypt_fname_free_buffer()
289 kfree(crypto_str->name); in fscrypt_fname_free_buffer()
290 crypto_str in fscrypt_fname_free_buffer()
263 fscrypt_fname_alloc_buffer(u32 max_encrypted_len, struct fscrypt_str *crypto_str) fscrypt_fname_alloc_buffer() argument
[all...]
/kernel/linux/linux-6.6/fs/crypto/
H A Dfname.c312 * @crypto_str: (output) buffer to allocate
320 struct fscrypt_str *crypto_str) in fscrypt_fname_alloc_buffer()
325 crypto_str->name = kmalloc(max_presented_len + 1, GFP_NOFS); in fscrypt_fname_alloc_buffer()
326 if (!crypto_str->name) in fscrypt_fname_alloc_buffer()
328 crypto_str->len = max_presented_len; in fscrypt_fname_alloc_buffer()
335 * @crypto_str: the buffer to free
339 void fscrypt_fname_free_buffer(struct fscrypt_str *crypto_str) in fscrypt_fname_free_buffer() argument
341 if (!crypto_str) in fscrypt_fname_free_buffer()
343 kfree(crypto_str->name); in fscrypt_fname_free_buffer()
344 crypto_str in fscrypt_fname_free_buffer()
319 fscrypt_fname_alloc_buffer(u32 max_encrypted_len, struct fscrypt_str *crypto_str) fscrypt_fname_alloc_buffer() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dfscrypt.h220 struct fscrypt_str *crypto_str);
221 void fscrypt_fname_free_buffer(struct fscrypt_str *crypto_str);
459 struct fscrypt_str *crypto_str) in fscrypt_fname_alloc_buffer()
464 static inline void fscrypt_fname_free_buffer(struct fscrypt_str *crypto_str) in fscrypt_fname_free_buffer() argument
458 fscrypt_fname_alloc_buffer(u32 max_encrypted_len, struct fscrypt_str *crypto_str) fscrypt_fname_alloc_buffer() argument
/kernel/linux/linux-6.6/include/linux/
H A Dfscrypt.h347 struct fscrypt_str *crypto_str);
348 void fscrypt_fname_free_buffer(struct fscrypt_str *crypto_str);
615 struct fscrypt_str *crypto_str) in fscrypt_fname_alloc_buffer()
620 static inline void fscrypt_fname_free_buffer(struct fscrypt_str *crypto_str) in fscrypt_fname_free_buffer() argument
614 fscrypt_fname_alloc_buffer(u32 max_encrypted_len, struct fscrypt_str *crypto_str) fscrypt_fname_alloc_buffer() argument

Completed in 5 milliseconds