Lines Matching refs:crypto_str
256 * @crypto_str: (output) buffer to allocate
264 struct fscrypt_str *crypto_str)
271 crypto_str->name = kmalloc(max_presented_len + 1, GFP_NOFS);
272 if (!crypto_str->name)
274 crypto_str->len = max_presented_len;
281 * @crypto_str: the buffer to free
285 void fscrypt_fname_free_buffer(struct fscrypt_str *crypto_str)
287 if (!crypto_str)
289 kfree(crypto_str->name);
290 crypto_str->name = NULL;