Lines Matching refs:nls
211 unload_nls(options->nls); in put_mount_options()
256 static struct nls_table *ntfs_load_nls(char *nls) in ntfs_load_nls() argument
260 if (!nls) in ntfs_load_nls()
261 nls = CONFIG_NLS_DEFAULT; in ntfs_load_nls()
263 if (strcmp(nls, "utf8") == 0) in ntfs_load_nls()
266 if (strcmp(nls, CONFIG_NLS_DEFAULT) == 0) in ntfs_load_nls()
269 ret = load_nls(nls); in ntfs_load_nls()
377 new_opts->nls = ntfs_load_nls(new_opts->nls_name); in ntfs_fs_reconfigure()
378 if (IS_ERR(new_opts->nls)) { in ntfs_fs_reconfigure()
379 new_opts->nls = NULL; in ntfs_fs_reconfigure()
383 if (new_opts->nls != sbi->options->nls) in ntfs_fs_reconfigure()
525 if (opts->nls) in ntfs_show_options()
526 seq_printf(m, ",iocharset=%s", opts->nls->charset); in ntfs_show_options()
920 sbi->options->nls = ntfs_load_nls(sbi->options->nls_name); in ntfs_fill_super()
921 if (IS_ERR(sbi->options->nls)) { in ntfs_fill_super()
922 sbi->options->nls = NULL; in ntfs_fill_super()