Lines Matching defs:msdos_opt
76 struct msdos_options_ex *msdos_opt = ecalloc(1, sizeof(*msdos_opt));
86 .value = &msdos_opt->options._name, \
95 { 'U', "utf8", &msdos_opt->utf8, OPT_BOOL,
100 fsopts->fs_specific = msdos_opt;
114 struct msdos_options *msdos_opt = fsopts->fs_specific;
121 assert(msdos_opt != NULL);
131 msdos_opt->volume_id_set = 1;
133 msdos_opt->media_descriptor_set = 1;
135 msdos_opt->hidden_sectors_set = 1;
145 struct msdos_options_ex *msdos_opt = fsopts->fs_specific;
157 msdos_opt->options.create_size = MAX(msdos_opt->options.create_size,
159 msdos_opt->options.offset = fsopts->offset;
160 if (msdos_opt->options.bytes_per_sector == 0) {
163 msdos_opt->options.bytes_per_sector = fsopts->sectorsize;
165 fsopts->sectorsize = msdos_opt->options.bytes_per_sector;
166 } else if (fsopts->sectorsize != msdos_opt->options.bytes_per_sector) {
169 fsopts->sectorsize, msdos_opt->options.bytes_per_sector);
172 msdos_opt->options.timestamp_set = 1;
173 msdos_opt->options.timestamp = stampst.st_mtime;
179 if (mkfs_msdos(image, NULL, &msdos_opt->options) == -1)
187 if (msdos_opt->utf8)