Home
last modified time | relevance | path

Searched refs:crypto_str (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/fs/crypto/
Dfname.c207 struct fscrypt_str *crypto_str) in fscrypt_fname_alloc_buffer() argument
216 crypto_str->name = kmalloc(max_presented_len + 1, GFP_NOFS); in fscrypt_fname_alloc_buffer()
217 if (!crypto_str->name) in fscrypt_fname_alloc_buffer()
219 crypto_str->len = max_presented_len; in fscrypt_fname_alloc_buffer()
229 void fscrypt_fname_free_buffer(struct fscrypt_str *crypto_str) in fscrypt_fname_free_buffer() argument
231 if (!crypto_str) in fscrypt_fname_free_buffer()
233 kfree(crypto_str->name); in fscrypt_fname_free_buffer()
234 crypto_str->name = NULL; in fscrypt_fname_free_buffer()
/Linux-v5.4/include/linux/
Dfscrypt.h455 struct fscrypt_str *crypto_str) in fscrypt_fname_alloc_buffer() argument
460 static inline void fscrypt_fname_free_buffer(struct fscrypt_str *crypto_str) in fscrypt_fname_free_buffer() argument