Home
last modified time | relevance | path

Searched refs:crypto_buf (Results 1 – 6 of 6) sorted by relevance

/fs/crypto/
Dfname.c464 &fname->crypto_buf.len)) in fscrypt_setup_filename()
466 fname->crypto_buf.name = kmalloc(fname->crypto_buf.len, in fscrypt_setup_filename()
468 if (!fname->crypto_buf.name) in fscrypt_setup_filename()
471 ret = fscrypt_fname_encrypt(dir, iname, fname->crypto_buf.name, in fscrypt_setup_filename()
472 fname->crypto_buf.len); in fscrypt_setup_filename()
475 fname->disk_name.name = fname->crypto_buf.name; in fscrypt_setup_filename()
476 fname->disk_name.len = fname->crypto_buf.len; in fscrypt_setup_filename()
491 fname->crypto_buf.name = kmalloc(FSCRYPT_NOKEY_NAME_MAX, GFP_KERNEL); in fscrypt_setup_filename()
492 if (fname->crypto_buf.name == NULL) in fscrypt_setup_filename()
496 fname->crypto_buf.name); in fscrypt_setup_filename()
[all …]
/fs/ext4/
Dcrypto.c19 dst->crypto_buf = src->crypto_buf; in ext4_fname_from_fscrypt_name()
66 name.crypto_buf = fname->crypto_buf; in ext4_fname_free_filename()
69 fname->crypto_buf.name = NULL; in ext4_fname_free_filename()
Dnamei.c1500 f.crypto_buf = fname->crypto_buf; in ext4_match()
Dext4.h2495 struct fscrypt_str crypto_buf; member
/fs/f2fs/
Ddir.c85 fname->crypto_buf = crypt_name->crypto_buf; in __f2fs_setup_filename()
142 kfree(fname->crypto_buf.name); in f2fs_free_filename()
143 fname->crypto_buf.name = NULL; in f2fs_free_filename()
247 f.crypto_buf = fname->crypto_buf; in f2fs_match_name()
Df2fs.h523 struct fscrypt_str crypto_buf; member