Home
last modified time | relevance | path

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

/Linux-v5.10/fs/f2fs/
Dhash.c117 if (fname->cf_name.name) { in f2fs_hash_filename()
118 name = fname->cf_name.name; in f2fs_hash_filename()
119 len = fname->cf_name.len; in f2fs_hash_filename()
Ddir.c82 fname->cf_name.name = f2fs_kmalloc(sbi, F2FS_NAME_LEN, in f2fs_init_casefolded_name()
84 if (!fname->cf_name.name) in f2fs_init_casefolded_name()
86 fname->cf_name.len = utf8_casefold(sb->s_encoding, in f2fs_init_casefolded_name()
88 fname->cf_name.name, in f2fs_init_casefolded_name()
90 if ((int)fname->cf_name.len <= 0) { in f2fs_init_casefolded_name()
91 kfree(fname->cf_name.name); in f2fs_init_casefolded_name()
92 fname->cf_name.name = NULL; in f2fs_init_casefolded_name()
174 kfree(fname->cf_name.name); in f2fs_free_filename()
175 fname->cf_name.name = NULL; in f2fs_free_filename()
239 if (fname->cf_name.name) { in f2fs_match_name()
[all …]
Drecovery.c138 kfree(fname->cf_name.name); in init_recovered_filename()
139 fname->cf_name.name = NULL; in init_recovered_filename()
Df2fs.h540 struct fscrypt_str cf_name; member
/Linux-v5.10/fs/ext4/
Dext4.h2332 struct fscrypt_str cf_name; member
2600 ext4_fname_setup_ci_filename(dir, iname, &fname->cf_name); in ext4_fname_setup_filename()
2619 ext4_fname_setup_ci_filename(dir, &dentry->d_name, &fname->cf_name); in ext4_fname_prepare_lookup()
2636 kfree(fname->cf_name.name); in ext4_fname_free_filename()
2637 fname->cf_name.name = NULL; in ext4_fname_free_filename()
2651 ext4_fname_setup_ci_filename(dir, iname, &fname->cf_name); in ext4_fname_setup_filename()
2667 kfree(fname->cf_name.name); in ext4_fname_free_filename()
2668 fname->cf_name.name = NULL; in ext4_fname_free_filename()
Dnamei.c1314 struct fscrypt_str *cf_name) in ext4_fname_setup_ci_filename() argument
1319 cf_name->name = NULL; in ext4_fname_setup_ci_filename()
1323 cf_name->name = kmalloc(EXT4_NAME_LEN, GFP_NOFS); in ext4_fname_setup_ci_filename()
1324 if (!cf_name->name) in ext4_fname_setup_ci_filename()
1328 iname, cf_name->name, in ext4_fname_setup_ci_filename()
1331 kfree(cf_name->name); in ext4_fname_setup_ci_filename()
1332 cf_name->name = NULL; in ext4_fname_setup_ci_filename()
1335 cf_name->len = (unsigned) len; in ext4_fname_setup_ci_filename()
1365 if (fname->cf_name.name) { in ext4_match()
1366 struct qstr cf = {.name = fname->cf_name.name, in ext4_match()
[all …]