• Home
  • Raw
  • Download

Lines Matching refs:opts

81 static int parse_options(char *options, struct exofs_mountopt *opts)  in parse_options()  argument
90 memset(opts, 0, sizeof(*opts)); in parse_options()
91 opts->timeout = BLK_DEFAULT_SG_TIMEOUT; in parse_options()
103 kfree(opts->dev_name); in parse_options()
104 opts->dev_name = match_strdup(&args[0]); in parse_options()
105 if (unlikely(!opts->dev_name)) { in parse_options()
109 opts->is_osdname = true; in parse_options()
114 opts->pid = simple_strtoull(str, NULL, 0); in parse_options()
115 if (opts->pid < EXOFS_MIN_PID) { in parse_options()
129 opts->timeout = option * HZ; in parse_options()
706 struct exofs_mountopt *opts, in exofs_fill_super() argument
718 if (opts->is_osdname) { in exofs_fill_super()
721 odi.osdname_len = strlen(opts->dev_name); in exofs_fill_super()
722 odi.osdname = (u8 *)opts->dev_name; in exofs_fill_super()
724 kfree(opts->dev_name); in exofs_fill_super()
725 opts->dev_name = NULL; in exofs_fill_super()
727 od = osduld_path_lookup(opts->dev_name); in exofs_fill_super()
740 sbi->s_timeout = opts->timeout; in exofs_fill_super()
742 sbi->one_comp.obj.partition = opts->pid; in exofs_fill_super()
841 _exofs_print_device("Mounting", opts->dev_name, in exofs_fill_super()
848 opts->dev_name, sbi->one_comp.obj.partition, ret); in exofs_fill_super()
861 struct exofs_mountopt opts; in exofs_mount() local
865 ret = parse_options(data, &opts); in exofs_mount()
867 kfree(opts.dev_name); in exofs_mount()
873 kfree(opts.dev_name); in exofs_mount()
880 kfree(opts.dev_name); in exofs_mount()
885 if (!opts.dev_name) in exofs_mount()
886 opts.dev_name = dev_name; in exofs_mount()
889 ret = exofs_fill_super(s, &opts, sbi, flags & SB_SILENT ? 1 : 0); in exofs_mount()