Searched refs:cf_name (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/fs/ksmbd/ |
A D | misc.c | 232 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 D | hash.c | 120 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 D | dir.c | 89 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 D | recovery.c | 158 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 D | f2fs.h | 527 struct fscrypt_str cf_name; member
|
/linux-6.3-rc2/fs/ext4/ |
A D | crypto.c | 70 kfree(fname->cf_name.name); in ext4_fname_free_filename() 71 fname->cf_name.name = NULL; in ext4_fname_free_filename()
|
A D | namei.c | 1427 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 D | ext4.h | 2499 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