Lines Matching refs:crypto_str
312 * @crypto_str: (output) buffer to allocate
320 struct fscrypt_str *crypto_str)
325 crypto_str->name = kmalloc(max_presented_len + 1, GFP_NOFS);
326 if (!crypto_str->name)
328 crypto_str->len = max_presented_len;
335 * @crypto_str: the buffer to free
339 void fscrypt_fname_free_buffer(struct fscrypt_str *crypto_str)
341 if (!crypto_str)
343 kfree(crypto_str->name);
344 crypto_str->name = NULL;