Lines Matching refs:context
90 if (!(context.format_flags & FORMAT_TRACK512))
163 context.app_name = "*NetBSD UDF";
164 context.app_version_main = APP_VERSION_MAIN;
165 context.app_version_sub = APP_VERSION_SUB;
166 context.impl_name = IMPL_NAME;
169 context.min_udf = 0x201;
170 context.max_udf = 0x250;
175 context.gmtoff = tm->tm_gmtoff;
181 context.check_surface = 1;
184 context.create_new_session = 1;
187 if (context.logvol_name) free(context.logvol_name);
188 context.logvol_name = strdup(optarg);
194 context.meta_perc = a_num(optarg, "meta_perc");
196 context.meta_perc = MIN(context.meta_perc, 99);
197 context.meta_perc = MAX(context.meta_perc, 1);
200 context.min_udf = a_udf_version(optarg, "min_udf");
201 if (context.min_udf > context.max_udf)
202 context.max_udf = context.min_udf;
205 context.max_udf = a_udf_version(optarg, "max_udf");
206 if (context.min_udf > context.max_udf)
207 context.min_udf = context.max_udf;
212 if (context.volset_name)
213 free(context.volset_name);
215 context.volset_name = strdup(optarg);
218 if (context.primary_name)
219 free(context.primary_name);
222 context.primary_name = strdup(optarg);
243 context.gmtoff = a_num(optarg, "gmtoff");
289 context.min_udf, context.max_udf);
291 (uint64_t) context.format_flags);
293 printf("Volume set `%s'\n", context.volset_name);
294 printf("Primary volume `%s`\n", context.primary_name);
295 printf("Logical volume `%s`\n", context.logvol_name);
296 if (context.format_flags & FORMAT_META)
297 printf("Metadata percentage %d %%\n", context.meta_perc);