Lines Matching full:opt

346 	int opt;  in isofs_parse_param()  local
353 opt = fs_parse(fc, isofs_param_spec, param, &result); in isofs_parse_param()
354 if (opt < 0) in isofs_parse_param()
355 return opt; in isofs_parse_param()
357 switch (opt) { in isofs_parse_param()
582 struct isofs_options *opt = fc->fs_private; in isofs_fill_super() local
612 opt->blocksize = sb_min_blocksize(s, opt->blocksize); in isofs_fill_super()
615 sbi->s_session = opt->session; in isofs_fill_super()
616 sbi->s_sbsector = opt->sbsector; in isofs_fill_super()
618 vol_desc_start = (opt->sbsector != -1) ? in isofs_fill_super()
619 opt->sbsector : isofs_get_last_session(s, opt->session); in isofs_fill_super()
653 if (opt->joliet) { in isofs_fill_super()
678 opt->rock = 0; in isofs_fill_super()
706 if (joliet_level && (!pri || !opt->rock)) { in isofs_fill_super()
737 if (orig_zonesize < opt->blocksize) in isofs_fill_super()
822 char *p = opt->iocharset ? opt->iocharset : CONFIG_NLS_DEFAULT; in isofs_fill_super()
824 sbi->s_nls_iocharset = opt->iocharset ? in isofs_fill_super()
825 load_nls(opt->iocharset) : load_nls_default(); in isofs_fill_super()
833 sbi->s_mapping = opt->map; in isofs_fill_super()
834 sbi->s_rock = (opt->rock ? 2 : 0); in isofs_fill_super()
836 sbi->s_cruft = opt->cruft; in isofs_fill_super()
837 sbi->s_hide = opt->hide; in isofs_fill_super()
838 sbi->s_showassoc = opt->showassoc; in isofs_fill_super()
839 sbi->s_uid = opt->uid; in isofs_fill_super()
840 sbi->s_gid = opt->gid; in isofs_fill_super()
841 sbi->s_uid_set = opt->uid_set; in isofs_fill_super()
842 sbi->s_gid_set = opt->gid_set; in isofs_fill_super()
843 sbi->s_nocompress = opt->nocompress; in isofs_fill_super()
844 sbi->s_overriderockperm = opt->overriderockperm; in isofs_fill_super()
850 if (opt->fmode != ISOFS_INVALID_MODE) in isofs_fill_super()
851 sbi->s_fmode = opt->fmode & 0777; in isofs_fill_super()
854 if (opt->dmode != ISOFS_INVALID_MODE) in isofs_fill_super()
855 sbi->s_dmode = opt->dmode & 0777; in isofs_fill_super()
917 if (opt->check == 'u') { in isofs_fill_super()
920 opt->check = 'r'; in isofs_fill_super()
922 opt->check = 's'; in isofs_fill_super()
937 if (opt->check == 'r') in isofs_fill_super()
939 sbi->s_check = opt->check; in isofs_fill_super()
978 orig_zonesize, opt->blocksize); in isofs_fill_super()
1531 struct isofs_options *opt = fc->fs_private; in isofs_free_fc() local
1533 kfree(opt->iocharset); in isofs_free_fc()
1534 kfree(opt); in isofs_free_fc()
1546 struct isofs_options *opt; in isofs_init_fs_context() local
1548 opt = kzalloc(sizeof(*opt), GFP_KERNEL); in isofs_init_fs_context()
1549 if (!opt) in isofs_init_fs_context()
1552 opt->map = 'n'; in isofs_init_fs_context()
1553 opt->rock = 1; in isofs_init_fs_context()
1554 opt->joliet = 1; in isofs_init_fs_context()
1555 opt->cruft = 0; in isofs_init_fs_context()
1556 opt->hide = 0; in isofs_init_fs_context()
1557 opt->showassoc = 0; in isofs_init_fs_context()
1558 opt->check = 'u'; /* unset */ in isofs_init_fs_context()
1559 opt->nocompress = 0; in isofs_init_fs_context()
1560 opt->blocksize = 1024; in isofs_init_fs_context()
1561 opt->fmode = opt->dmode = ISOFS_INVALID_MODE; in isofs_init_fs_context()
1562 opt->uid_set = 0; in isofs_init_fs_context()
1563 opt->gid_set = 0; in isofs_init_fs_context()
1564 opt->gid = GLOBAL_ROOT_GID; in isofs_init_fs_context()
1565 opt->uid = GLOBAL_ROOT_UID; in isofs_init_fs_context()
1566 opt->iocharset = NULL; in isofs_init_fs_context()
1567 opt->overriderockperm = 0; in isofs_init_fs_context()
1568 opt->session = -1; in isofs_init_fs_context()
1569 opt->sbsector = -1; in isofs_init_fs_context()
1571 fc->fs_private = opt; in isofs_init_fs_context()