• 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 opts->dev_name = match_strdup(&args[0]); in parse_options()
104 if (unlikely(!opts->dev_name)) { in parse_options()
108 opts->is_osdname = true; in parse_options()
113 opts->pid = simple_strtoull(str, NULL, 0); in parse_options()
114 if (opts->pid < EXOFS_MIN_PID) { in parse_options()
128 opts->timeout = option * HZ; in parse_options()
708 struct exofs_mountopt *opts = data; in exofs_fill_super() local
721 if (opts->is_osdname) { in exofs_fill_super()
724 odi.osdname_len = strlen(opts->dev_name); in exofs_fill_super()
725 odi.osdname = (u8 *)opts->dev_name; in exofs_fill_super()
727 kfree(opts->dev_name); in exofs_fill_super()
728 opts->dev_name = NULL; in exofs_fill_super()
730 od = osduld_path_lookup(opts->dev_name); in exofs_fill_super()
743 sbi->s_timeout = opts->timeout; in exofs_fill_super()
745 sbi->one_comp.obj.partition = opts->pid; in exofs_fill_super()
848 _exofs_print_device("Mounting", opts->dev_name, in exofs_fill_super()
855 opts->dev_name, sbi->one_comp.obj.partition, ret); in exofs_fill_super()
867 struct exofs_mountopt opts; in exofs_mount() local
870 ret = parse_options(data, &opts); in exofs_mount()
874 if (!opts.dev_name) in exofs_mount()
875 opts.dev_name = dev_name; in exofs_mount()
876 return mount_nodev(type, flags, &opts, exofs_fill_super); in exofs_mount()