Lines Matching refs:nls
236 unload_nls(options->nls); in put_mount_options()
290 static struct nls_table *ntfs_load_nls(char *nls) in ntfs_load_nls() argument
294 if (!nls) in ntfs_load_nls()
295 nls = CONFIG_NLS_DEFAULT; in ntfs_load_nls()
297 if (strcmp(nls, "utf8") == 0) in ntfs_load_nls()
300 if (strcmp(nls, CONFIG_NLS_DEFAULT) == 0) in ntfs_load_nls()
303 ret = load_nls(nls); in ntfs_load_nls()
419 new_opts->nls = ntfs_load_nls(new_opts->nls_name); in ntfs_fs_reconfigure()
420 if (IS_ERR(new_opts->nls)) { in ntfs_fs_reconfigure()
421 new_opts->nls = NULL; in ntfs_fs_reconfigure()
426 if (new_opts->nls != sbi->options->nls) in ntfs_fs_reconfigure()
705 if (opts->nls) in ntfs_show_options()
706 seq_printf(m, ",iocharset=%s", opts->nls->charset); in ntfs_show_options()
1169 options->nls = ntfs_load_nls(options->nls_name); in ntfs_fill_super()
1170 if (IS_ERR(options->nls)) { in ntfs_fill_super()
1171 options->nls = NULL; in ntfs_fill_super()