Lines Matching full:argv
27 void do_zap_block(int argc, char *argv[])
40 if (check_fs_open(argv[0]))
42 if (check_fs_read_write(argv[0]))
46 while ((c = getopt (argc, argv, "b:f:l:o:p:")) != EOF) {
52 bit = parse_ulong(optarg, argv[0],
57 com_err(argv[0], 0, "The bit to flip "
64 pattern = parse_ulong(optarg, argv[0],
69 com_err(argv[0], 0, "The fill pattern must "
75 offset = parse_ulong(optarg, argv[0],
80 com_err(argv[0], 0, "The offset must be "
89 length = parse_ulong(optarg, argv[0],
100 com_err(argv[0], 0, "The -o and -b options can not be mixed.");
109 com_err(argv[0], 0, "The specified length is too bug\n");
122 block = parse_ulonglong(argv[optind], argv[0], "block", &err);
133 com_err(argv[0], errcode,
141 com_err(argv[0], 0, "Couldn't allocate block buffer");
147 com_err(argv[0], errcode,
159 com_err(argv[0], errcode,
169 void do_block_dump(int argc, char *argv[])
180 if (check_fs_open(argv[0]))
184 while ((c = getopt (argc, argv, "f:")) != EOF) {
201 block = parse_ulonglong(argv[optind], argv[0], "block", &err);
212 com_err(argv[0], errcode,
220 com_err(argv[0], 0, "Couldn't allocate block buffer");
226 com_err(argv[0], errcode,