Home | History | Annotate | Download | only in debugfs

Lines Matching defs:device_name

36 		"device_name\n", prog);
216 static void close_device(char *device_name, ext2_filsys fs)
221 com_err(device_name, retval, "while closing the filesystem.\n");
228 fprintf(f, "Device: %s\n", fs->device_name);
233 com_err(fs->device_name, retval, "while reading block bitmap");
234 close_device(fs->device_name, fs);
242 com_err(fs->device_name, retval, "while collecting chunk info");
243 close_device(fs->device_name, fs);
249 static void open_device(char *device_name, ext2_filsys *fs)
254 retval = ext2fs_open(device_name, flag, 0, 0, unix_io_manager, fs);
256 com_err(device_name, retval, "while opening filesystem");
282 char *device_name;
319 device_name = argv[optind];
321 open_device(device_name, &fs);
333 close_device(device_name, fs);