Searched defs:device_name (Results 1 - 21 of 21) sorted by relevance

/external/e2fsprogs/e2fsck/
H A Discan.c33 const char * device_name = NULL; variable
77 device_name = argv[optind];
79 int fd = open(device_name, O_RDONLY, 0);
83 _("while opening %s for flushing"), device_name);
88 _("while trying to flush %s"), device_name);
109 retval = ext2fs_open(device_name, 0,
113 device_name);
H A Dscantest.c40 const char * device_name = NULL; variable
102 device_name = "/dev/hda3";
106 retval = ext2fs_open(device_name, 0,
110 device_name);
H A De2fsck.h199 char *device_name; member in struct:e2fsck_struct
/external/e2fsprogs/misc/
H A Dfindsuper.c122 const char * device_name; local
147 device_name = argv[optind++];
176 fd = open(device_name, O_RDONLY);
178 perror(device_name);
H A De2initrd_helper.c41 char * device_name; variable
323 device_name = blkid_get_devname(NULL, argv[optind], NULL);
324 if (!device_name) {
378 retval = ext2fs_open (device_name, open_flag, 0, 0, io_ptr, &fs);
H A Ddumpe2fs.c48 char * device_name = NULL; variable
461 device_name = argv[optind++];
472 retval = ext2fs_open (device_name, flags,
480 retval = ext2fs_open (device_name, flags, use_superblock,
484 device_name);
516 program_name, device_name,
H A De2image.c46 char * device_name = NULL; variable
129 strncpy(hdr.fs_device_name, device_name, sizeof(hdr.fs_device_name)-1);
133 if (stat(device_name, &st) == 0)
656 device_name = argv[optind];
660 install_image(device_name, image_fn, raw_flag);
664 retval = ext2fs_open (device_name, open_flag, 0, 0,
668 device_name);
H A Dbadblocks.c781 static void check_mount(char *device_name) argument
786 retval = ext2fs_check_if_mounted(device_name, &mount_flags);
790 device_name);
794 fprintf(stderr, _("%s is mounted; "), device_name);
807 device_name);
821 char * device_name; local
974 device_name = argv[optind++];
976 errcode = ext2fs_get_device_size(device_name,
1020 check_mount(device_name);
1023 dev = open (device_name, open_fla
[all...]
H A Dtune2fs.c69 char * device_name; variable
502 device_name = blkid_get_devname(NULL, argv[1], NULL);
503 if (!device_name) {
767 device_name = blkid_get_devname(NULL, argv[optind], NULL);
768 if (!device_name) {
913 retval = ext2fs_open2(device_name, io_options, open_flag,
917 device_name);
928 device_name);
938 retval = ext2fs_check_if_mounted(device_name, &mount_flags);
942 device_name);
[all...]
H A Dmke2fs.c69 const char * device_name /* = NULL */; variable
197 fs->device_name, fs->super->s_blocks_count-1);
1202 device_name = argv[optind++];
1274 check_plausibility(device_name);
1275 check_mount(device_name, force, _("filesystem"));
1284 retval = ext2fs_get_device_size(device_name,
1419 retval = ext2fs_get_device_sectsize(device_name, &sector_size);
1598 retval = ext2fs_initialize(device_name, EXT2_FLAG_EXCLUSIVE, &fs_param,
1601 com_err(device_name, retval, _("while setting up superblock"));
/external/wpa_supplicant_6/wpa_supplicant/
H A Dconfig.h257 * device_name - Device Name (WPS)
261 char *device_name; member in struct:wpa_config
/external/e2fsprogs/lib/ext2fs/
H A Dmkjournal.c283 if (stat(journal_dev->device_name, &st) < 0)
344 if ((retval = ext2fs_check_mount_point(fs->device_name, &mount_flags,
422 char *device_name; local
429 device_name = argv[1];
431 retval = ext2fs_open (device_name, EXT2_FLAG_RW, 0, 0,
434 com_err(argv[0], retval, "while opening %s", device_name);
441 device_name);
H A Dext2fs.h210 char * device_name; member in struct:struct_ext2_filsys
/external/e2fsprogs/resize/
H A Dmain.c35 char *program_name, *device_name, *io_options; variable
213 device_name = argv[optind++];
219 io_options = strchr(device_name, '?');
233 retval = ext2fs_check_mount_point(device_name, &mount_flags,
238 device_name);
248 fd = open64(device_name, O_RDWR);
250 fd = open(device_name, O_RDWR);
254 device_name);
266 device_name);
275 device_name);
[all...]
/external/qemu/block/
H A Draw-win32.c323 char device_name[64]; local
326 if (find_cdrom(device_name, sizeof(device_name)) < 0)
328 filename = device_name;
334 snprintf(device_name, sizeof(device_name), "\\\\.\\%c:", filename[0]);
335 filename = device_name;
/external/e2fsprogs/ext2ed/
H A Dmain.c70 char device_name [80]; /* The location of the filesystem */ variable
/external/qemu/
H A Dblock_int.h159 char device_name[32]; member in struct:BlockDriverState
H A Dblock.c146 BlockDriverState *bdrv_new(const char *device_name) argument
151 pstrcpy(bs->device_name, sizeof(bs->device_name), device_name);
152 if (device_name[0] != '\0') {
993 if (!strcmp(name, bs->device_name))
1010 return bs->device_name;
1065 monitor_printf(mon, "%s:", bs->device_name);
1111 bs->device_name,
H A Dusb-linux.c1147 * @device_name device being opened (inserted into device_file)
1151 static int usb_host_read_file(char *line, size_t line_size, const char *device_file, const char *device_name) argument
1158 snprintf(filename, PATH_MAX, USBSYSBUS_PATH "/devices/%s/%s", device_name,
/external/wpa_supplicant_6/wpa_supplicant/src/wps/
H A Dwps.h66 * @device_name: Device Name (0..32 octets encoded in UTF-8)
79 char *device_name; member in struct:wps_device_data
/external/libpcap/
H A Dpcap-dos.c146 * Open MAC-driver with name 'device_name' for live capture of
149 pcap_t *pcap_open_live (const char *device_name, int snaplen, int promisc, argument
180 if (!init_watt32(pcap, device_name, errbuf) ||
181 !first_init(device_name, errbuf, promisc))
188 else if (stricmp(active_dev->name,device_name))
192 "(`%s' vs. `%s')", active_dev->name, device_name);

Completed in 123 milliseconds