Searched refs:cf_name (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.15/fs/f2fs/ |
D | hash.c | 119 if (fname->cf_name.name) { in f2fs_hash_filename() 120 name = fname->cf_name.name; in f2fs_hash_filename() 121 len = fname->cf_name.len; in f2fs_hash_filename()
|
D | dir.c | 86 fname->cf_name.name = f2fs_kmem_cache_alloc(f2fs_cf_name_slab, in f2fs_init_casefolded_name() 88 if (!fname->cf_name.name) in f2fs_init_casefolded_name() 90 fname->cf_name.len = utf8_casefold(sb->s_encoding, in f2fs_init_casefolded_name() 92 fname->cf_name.name, in f2fs_init_casefolded_name() 94 if ((int)fname->cf_name.len <= 0) { in f2fs_init_casefolded_name() 95 kmem_cache_free(f2fs_cf_name_slab, fname->cf_name.name); in f2fs_init_casefolded_name() 96 fname->cf_name.name = NULL; in f2fs_init_casefolded_name() 178 if (fname->cf_name.name) { in f2fs_free_filename() 179 kmem_cache_free(f2fs_cf_name_slab, fname->cf_name.name); in f2fs_free_filename() 180 fname->cf_name.name = NULL; in f2fs_free_filename() [all …]
|
D | recovery.c | 153 kmem_cache_free(f2fs_cf_name_slab, fname->cf_name.name); in init_recovered_filename() 154 fname->cf_name.name = NULL; in init_recovered_filename()
|
D | f2fs.h | 496 struct fscrypt_str cf_name; member
|
/Linux-v5.15/fs/ext4/ |
D | namei.c | 1376 struct fscrypt_str *cf_name = &name->cf_name; in ext4_fname_setup_ci_filename() local 1382 cf_name->name = NULL; in ext4_fname_setup_ci_filename() 1386 cf_name->name = kmalloc(EXT4_NAME_LEN, GFP_NOFS); in ext4_fname_setup_ci_filename() 1387 if (!cf_name->name) in ext4_fname_setup_ci_filename() 1391 iname, cf_name->name, in ext4_fname_setup_ci_filename() 1394 kfree(cf_name->name); in ext4_fname_setup_ci_filename() 1395 cf_name->name = NULL; in ext4_fname_setup_ci_filename() 1397 cf_name->len = (unsigned) len; in ext4_fname_setup_ci_filename() 1403 if (cf_name->name) in ext4_fname_setup_ci_filename() 1404 ext4fs_dirhash(dir, cf_name->name, cf_name->len, hinfo); in ext4_fname_setup_ci_filename() [all …]
|
D | ext4.h | 2487 struct fscrypt_str cf_name; member 2792 kfree(fname->cf_name.name); in ext4_fname_free_filename() 2793 fname->cf_name.name = NULL; in ext4_fname_free_filename() 2824 kfree(fname->cf_name.name); in ext4_fname_free_filename() 2825 fname->cf_name.name = NULL; in ext4_fname_free_filename()
|