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

/linux-master/fs/crypto/
H A Dfname.c306 * @crypto_str: (output) buffer to allocate
314 struct fscrypt_str *crypto_str)
319 crypto_str->name = kmalloc(max_presented_len + 1, GFP_NOFS);
320 if (!crypto_str->name)
322 crypto_str->len = max_presented_len;
329 * @crypto_str: the buffer to free
333 void fscrypt_fname_free_buffer(struct fscrypt_str *crypto_str) argument
335 if (!crypto_str)
337 kfree(crypto_str->name);
338 crypto_str
313 fscrypt_fname_alloc_buffer(u32 max_encrypted_len, struct fscrypt_str *crypto_str) argument
[all...]
/linux-master/include/linux/
H A Dfscrypt.h407 struct fscrypt_str *crypto_str);
408 void fscrypt_fname_free_buffer(struct fscrypt_str *crypto_str);
680 struct fscrypt_str *crypto_str)
685 static inline void fscrypt_fname_free_buffer(struct fscrypt_str *crypto_str) argument
679 fscrypt_fname_alloc_buffer(u32 max_encrypted_len, struct fscrypt_str *crypto_str) argument

Completed in 118 milliseconds