Searched refs:cf_encoding (Results 1 – 7 of 7) sorted by relevance
/linux/fs/bcachefs/ |
H A D | dirent.c | 30 ret = utf8_casefold(info->cf_encoding, str, buf, BCH_NAME_MAX + 1); in bch2_casefold() 241 EBUG_ON(hash_info->cf_encoding == NULL && cf_name); in bch2_dirent_init_name() 247 dirent->v.d_casefold = hash_info->cf_encoding != NULL; in bch2_dirent_init_name() 269 cf_len = utf8_casefold(hash_info->cf_encoding, name, in bch2_dirent_init_name() 468 dst_hash->cf_encoding ? &dst_name_lookup : NULL, 0); in bch2_dirent_rename() 479 src_hash->cf_encoding ? &src_name_lookup : NULL, 0); in bch2_dirent_rename()
|
H A D | str_hash.h | 37 struct unicode_map *cf_encoding; member 51 .cf_encoding = bch2_inode_casefold(c, bi) ? c->cf_encoding : NULL, in bch2_hash_info_init()
|
H A D | dirent.h | 41 if (likely(!info->cf_encoding)) { in bch2_maybe_casefold()
|
H A D | super.c | 589 utf8_unload(c->cf_encoding); in __bch2_fs_free() 1030 c->cf_encoding = utf8_load(BCH_FS_DEFAULT_UTF8_ENCODING); in bch2_fs_alloc() 1031 if (IS_ERR(c->cf_encoding)) { in bch2_fs_alloc() 1165 if (c->cf_encoding) in bch2_fs_start()
|
H A D | bcachefs.h | 866 struct unicode_map *cf_encoding; member
|
H A D | fsck.c | 2285 hash_info->cf_encoding = bch2_inode_casefold(c, &i->inode) ? c->cf_encoding : NULL; in check_dirent() 2303 if (fsck_err_on(d.v->d_casefold != !!hash_info->cf_encoding, in check_dirent()
|
H A D | fs.c | 2568 sb->s_encoding = c->cf_encoding; in bch2_fs_get_tree()
|