Lines Matching refs:device_name
179 retval = ext2fs_check_mount_point(fs->device_name, &mount_flags, in scan_online()
182 com_err(fs->device_name, retval, "while checking mount status"); in scan_online()
195 com_err(fs->device_name, errno, "while allocating memory"); in scan_online()
211 com_err(fs->device_name, errno, "while calling fsmap"); in scan_online()
322 static void close_device(char *device_name, ext2_filsys fs) in close_device() argument
327 com_err(device_name, retval, "while closing the filesystem.\n"); in close_device()
334 fprintf(f, "Device: %s\n", fs->device_name); in collect_info()
343 com_err(fs->device_name, retval, "while reading block bitmap"); in collect_info()
344 close_device(fs->device_name, fs); in collect_info()
350 com_err(fs->device_name, retval, "while dumping chunk info"); in collect_info()
351 close_device(fs->device_name, fs); in collect_info()
357 static void open_device(char *device_name, ext2_filsys *fs) in open_device() argument
362 retval = ext2fs_open(device_name, flag, 0, 0, unix_io_manager, fs); in open_device()
364 com_err(device_name, retval, "while opening filesystem"); in open_device()
391 char *device_name; in do_freefrag() local
428 device_name = argv[optind]; in do_freefrag()
430 open_device(device_name, &fs); in do_freefrag()
442 close_device(device_name, fs); in do_freefrag()