Home
last modified time | relevance | path

Searched refs:opt_b (Results 1 – 1 of 1) sorted by relevance

/system/core/toolbox/
Dnewfs_msdos.c243 u_int opt_F = 0, opt_I = 0, opt_S = 0, opt_a = 0, opt_b = 0, opt_c = 0; in newfs_msdos_main() local
311 opt_b = argtox(optarg, 1, "block size"); in newfs_msdos_main()
316 opt_b = 0; in newfs_msdos_main()
458 if (opt_b) { in newfs_msdos_main()
459 if (!powerof2(opt_b)) in newfs_msdos_main()
460 errx(1, "block size (%u) is not a power of 2", opt_b); in newfs_msdos_main()
461 if (opt_b < bpb.bps) in newfs_msdos_main()
463 opt_b, bpb.bps); in newfs_msdos_main()
464 if (opt_b > bpb.bps * MAXSPC) in newfs_msdos_main()
465 errx(1, "block size (%u) is too large; maximum is %u", opt_b, bpb.bps * MAXSPC); in newfs_msdos_main()
[all …]