Searched refs:crypto_str (Results 1 – 1 of 1) sorted by relevance
264 struct fscrypt_str *crypto_str) in fscrypt_fname_alloc_buffer() argument271 crypto_str->name = kmalloc(max_presented_len + 1, GFP_NOFS); in fscrypt_fname_alloc_buffer()272 if (!crypto_str->name) in fscrypt_fname_alloc_buffer()274 crypto_str->len = max_presented_len; in fscrypt_fname_alloc_buffer()285 void fscrypt_fname_free_buffer(struct fscrypt_str *crypto_str) in fscrypt_fname_free_buffer() argument287 if (!crypto_str) in fscrypt_fname_free_buffer()289 kfree(crypto_str->name); in fscrypt_fname_free_buffer()290 crypto_str->name = NULL; in fscrypt_fname_free_buffer()