Home
last modified time | relevance | path

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

/openbmc/linux/fs/crypto/
H A Dfname.c320 struct fscrypt_str *crypto_str) in fscrypt_fname_alloc_buffer() argument
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()
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->name = NULL; in fscrypt_fname_free_buffer()
/openbmc/linux/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() argument
620 static inline void fscrypt_fname_free_buffer(struct fscrypt_str *crypto_str) in fscrypt_fname_free_buffer() argument