Lines Matching full:argv
28 void do_zap_block(int argc, char *argv[])
41 if (check_fs_open(argv[0]))
43 if (check_fs_read_write(argv[0]))
47 while ((c = getopt (argc, argv, "b:f:l:o:p:")) != EOF) {
53 bit = parse_ulong(optarg, argv[0],
58 com_err(argv[0], 0, "The bit to flip "
65 pattern = parse_ulong(optarg, argv[0],
70 com_err(argv[0], 0, "The fill pattern must "
76 offset = parse_ulong(optarg, argv[0],
81 com_err(argv[0], 0, "The offset must be "
90 length = parse_ulong(optarg, argv[0],
101 com_err(argv[0], 0, "The -o and -b options can not be mixed.");
110 com_err(argv[0], 0, "The specified length is too bug\n");
123 block = parse_ulonglong(argv[optind], argv[0], "block", &err);
134 com_err(argv[0], errcode,
142 com_err(argv[0], 0, "Couldn't allocate block buffer");
148 com_err(argv[0], errcode,
160 com_err(argv[0], errcode,
170 void do_block_dump(int argc, char *argv[])
179 if (check_fs_open(argv[0]))
183 while ((c = getopt (argc, argv, "f:")) != EOF) {
200 block = parse_ulonglong(argv[optind], argv[0], "block", &err);
211 com_err(argv[0], errcode,
219 com_err(argv[0], 0, "Couldn't allocate block buffer");
225 com_err(argv[0], errcode,