Home
last modified time | relevance | path

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

/linux/fs/crypto/
H A Dfname.c314 struct fscrypt_str *crypto_str) in fscrypt_fname_alloc_buffer() argument
319 crypto_str->name = kmalloc(max_presented_len + 1, GFP_NOFS); in fscrypt_fname_alloc_buffer()
320 if (!crypto_str->name) in fscrypt_fname_alloc_buffer()
322 crypto_str->len = max_presented_len; in fscrypt_fname_alloc_buffer()
333 void fscrypt_fname_free_buffer(struct fscrypt_str *crypto_str) in fscrypt_fname_free_buffer() argument
335 if (!crypto_str) in fscrypt_fname_free_buffer()
337 kfree(crypto_str->name); in fscrypt_fname_free_buffer()
338 crypto_str->name = NULL; in fscrypt_fname_free_buffer()
/linux/include/linux/
H A Dfscrypt.h408 struct fscrypt_str *crypto_str);
409 void fscrypt_fname_free_buffer(struct fscrypt_str *crypto_str);
681 struct fscrypt_str *crypto_str) in fscrypt_fname_alloc_buffer() argument
686 static inline void fscrypt_fname_free_buffer(struct fscrypt_str *crypto_str) in fscrypt_fname_free_buffer() argument