Lines Matching refs:msdos_opt
78 struct msdos_options_ex *msdos_opt = ecalloc(1, sizeof(*msdos_opt)); in msdos_prep_opts() local
88 .value = &msdos_opt->options._name, \ in msdos_prep_opts()
100 fsopts->fs_specific = msdos_opt; in msdos_prep_opts()
114 struct msdos_options *msdos_opt = fsopts->fs_specific; in msdos_parse_opts() local
120 assert(msdos_opt != NULL); in msdos_parse_opts()
130 msdos_opt->volume_id_set = 1; in msdos_parse_opts()
132 msdos_opt->media_descriptor_set = 1; in msdos_parse_opts()
134 msdos_opt->hidden_sectors_set = 1; in msdos_parse_opts()
137 msdos_opt->timestamp_set = 1; in msdos_parse_opts()
138 msdos_opt->timestamp = stampst.st_mtime; in msdos_parse_opts()
148 struct msdos_options_ex *msdos_opt = fsopts->fs_specific; in msdos_makefs() local
160 msdos_opt->options.create_size = MAX(msdos_opt->options.create_size, in msdos_makefs()
163 msdos_opt->options.offset = fsopts->offset; in msdos_makefs()
164 if (msdos_opt->options.bytes_per_sector == 0) { in msdos_makefs()
167 msdos_opt->options.bytes_per_sector = fsopts->sectorsize; in msdos_makefs()
169 fsopts->sectorsize = msdos_opt->options.bytes_per_sector; in msdos_makefs()
170 } else if (fsopts->sectorsize != msdos_opt->options.bytes_per_sector) { in msdos_makefs()
173 fsopts->sectorsize, msdos_opt->options.bytes_per_sector); in msdos_makefs()
179 if (mkfs_msdos(image, NULL, &msdos_opt->options) == -1) in msdos_makefs()