Home | History | Annotate | Download | only in mkfs

Lines Matching refs:config

25 extern struct f2fs_configuration config;
51 config.heap = atoi(optarg);
52 if (config.heap == 0)
56 config.dbg_lv = atoi(optarg);
57 MSG(0, "Info: Debug level = %d\n", config.dbg_lv);
60 config.extension_list = strdup(optarg);
69 config.vol_label = optarg;
70 MSG(0, "Info: Label = %s\n", config.vol_label);
73 config.overprovision = atoi(optarg);
78 config.segs_per_sec = atoi(optarg);
83 config.secs_per_zone = atoi(optarg);
87 config.trim = atoi(optarg);
88 MSG(0, "Info: Trim is %s\n", config.trim ? "enabled": "disabled");
101 config.device_name = argv[optind];
105 config.total_sectors = atoll(argv[optind+1]);
107 config.total_sectors, argv[optind+1]);
110 config.reserved_segments =
111 (2 * (100 / config.overprovision + 1) + 6)
112 * config.segs_per_sec;
113 config.segs_per_zone = config.segs_per_sec * config.secs_per_zone;
121 f2fs_init_configuration(&config);
125 if (f2fs_dev_is_umounted(&config) < 0)
128 if (f2fs_get_device_info(&config) < 0)
134 f2fs_finalize_device(&config);