Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/ksmbd/
A Dmisc.c232 char *cf_name; in ksmbd_casefold_sharename() local
235 cf_name = kzalloc(KSMBD_REQ_MAX_SHARE_NAME, GFP_KERNEL); in ksmbd_casefold_sharename()
236 if (!cf_name) in ksmbd_casefold_sharename()
242 cf_len = utf8_casefold(um, &q_name, cf_name, in ksmbd_casefold_sharename()
247 return cf_name; in ksmbd_casefold_sharename()
251 cf_len = strscpy(cf_name, name, KSMBD_REQ_MAX_SHARE_NAME); in ksmbd_casefold_sharename()
253 kfree(cf_name); in ksmbd_casefold_sharename()
257 for (; *cf_name; ++cf_name) in ksmbd_casefold_sharename()
258 *cf_name = isascii(*cf_name) ? tolower(*cf_name) : *cf_name; in ksmbd_casefold_sharename()
259 return cf_name - cf_len; in ksmbd_casefold_sharename()
/linux-6.3-rc2/fs/f2fs/
A Dhash.c120 if (fname->cf_name.name) { in f2fs_hash_filename()
121 name = fname->cf_name.name; in f2fs_hash_filename()
122 len = fname->cf_name.len; in f2fs_hash_filename()
A Ddir.c89 if (!fname->cf_name.name) in f2fs_init_casefolded_name()
91 fname->cf_name.len = utf8_casefold(sb->s_encoding, in f2fs_init_casefolded_name()
93 fname->cf_name.name, in f2fs_init_casefolded_name()
95 if ((int)fname->cf_name.len <= 0) { in f2fs_init_casefolded_name()
96 kmem_cache_free(f2fs_cf_name_slab, fname->cf_name.name); in f2fs_init_casefolded_name()
97 fname->cf_name.name = NULL; in f2fs_init_casefolded_name()
179 if (fname->cf_name.name) { in f2fs_free_filename()
180 kmem_cache_free(f2fs_cf_name_slab, fname->cf_name.name); in f2fs_free_filename()
181 fname->cf_name.name = NULL; in f2fs_free_filename()
271 if (fname->cf_name.name) { in f2fs_match_name()
[all …]
A Drecovery.c158 kmem_cache_free(f2fs_cf_name_slab, fname->cf_name.name); in init_recovered_filename()
159 fname->cf_name.name = NULL; in init_recovered_filename()
A Df2fs.h527 struct fscrypt_str cf_name; member
/linux-6.3-rc2/fs/ext4/
A Dcrypto.c70 kfree(fname->cf_name.name); in ext4_fname_free_filename()
71 fname->cf_name.name = NULL; in ext4_fname_free_filename()
A Dnamei.c1427 struct fscrypt_str *cf_name = &name->cf_name; in ext4_fname_setup_ci_filename() local
1433 cf_name->name = NULL; in ext4_fname_setup_ci_filename()
1438 if (!cf_name->name) in ext4_fname_setup_ci_filename()
1442 iname, cf_name->name, in ext4_fname_setup_ci_filename()
1445 kfree(cf_name->name); in ext4_fname_setup_ci_filename()
1446 cf_name->name = NULL; in ext4_fname_setup_ci_filename()
1448 cf_name->len = (unsigned) len; in ext4_fname_setup_ci_filename()
1454 if (cf_name->name) in ext4_fname_setup_ci_filename()
1455 ext4fs_dirhash(dir, cf_name->name, cf_name->len, hinfo); in ext4_fname_setup_ci_filename()
1485 if (fname->cf_name.name) { in ext4_match()
[all …]
A Dext4.h2499 struct fscrypt_str cf_name; member
2782 kfree(fname->cf_name.name); in ext4_fname_free_filename()
2783 fname->cf_name.name = NULL; in ext4_fname_free_filename()

Completed in 47 milliseconds