Lines Matching refs:nls
235 unload_nls(options->nls); in put_mount_options()
286 static struct nls_table *ntfs_load_nls(char *nls) in ntfs_load_nls() argument
290 if (!nls) in ntfs_load_nls()
291 nls = CONFIG_NLS_DEFAULT; in ntfs_load_nls()
293 if (strcmp(nls, "utf8") == 0) in ntfs_load_nls()
296 if (strcmp(nls, CONFIG_NLS_DEFAULT) == 0) in ntfs_load_nls()
299 ret = load_nls(nls); in ntfs_load_nls()
416 new_opts->nls = ntfs_load_nls(new_opts->nls_name); in ntfs_fs_reconfigure()
417 if (IS_ERR(new_opts->nls)) { in ntfs_fs_reconfigure()
418 new_opts->nls = NULL; in ntfs_fs_reconfigure()
422 if (new_opts->nls != sbi->options->nls) in ntfs_fs_reconfigure()
555 if (opts->nls) in ntfs_show_options()
556 seq_printf(m, ",iocharset=%s", opts->nls->charset); in ntfs_show_options()
955 sbi->options->nls = ntfs_load_nls(sbi->options->nls_name); in ntfs_fill_super()
956 if (IS_ERR(sbi->options->nls)) { in ntfs_fill_super()
957 sbi->options->nls = NULL; in ntfs_fill_super()