/external/e2fsprogs/lib/blkid/ |
D | devno.c | 94 char **devname) in blkid__scan_dir() argument 119 *devname = blkid_strdup(path); in blkid__scan_dir() 122 path, *devname)); in blkid__scan_dir() 144 char *devname = NULL; in blkid_devno_to_devname() local 159 blkid__scan_dir(current->name, devno, &new_list, &devname); in blkid_devno_to_devname() 162 if (devname) in blkid_devno_to_devname() 176 if (!devname) { in blkid_devno_to_devname() 182 printf("found devno 0x%04llx as %s\n", (long long)devno, devname)); in blkid_devno_to_devname() 186 return devname; in blkid_devno_to_devname() 192 char *devname, *tmp; in main() local [all …]
|
D | devname.c | 48 blkid_dev blkid_get_dev(blkid_cache cache, const char *devname, int flags) in blkid_get_dev() argument 53 if (!cache || !devname) in blkid_get_dev() 58 if (strcmp(tmp->bid_name, devname)) in blkid_get_dev() 68 if (access(devname, F_OK) < 0) in blkid_get_dev() 74 dev->bid_name = blkid_strdup(devname); in blkid_get_dev() 123 static int is_dm_leaf(const char *devname) in is_dm_leaf() argument 134 !strcmp(de->d_name, devname) || in is_dm_leaf() 142 if (!strcmp(d_de->d_name, devname)) { in is_dm_leaf() 188 char *devname = NULL; in probe_one() local 210 devname = get_dm_name(ptname); in probe_one() [all …]
|
D | resolve.c | 28 const char *devname) in blkid_get_tag_value() argument 35 DBG(DEBUG_RESOLVE, printf("looking for %s on %s\n", tagname, devname)); in blkid_get_tag_value() 37 if (!devname) in blkid_get_tag_value() 45 if ((dev = blkid_get_dev(c, devname, BLKID_DEV_NORMAL)) && in blkid_get_tag_value()
|
D | tag.c | 410 char *devname = NULL; in main() local 432 devname = argv[optind++]; in main() 437 if (!devname || (argc != optind)) in main() 446 dev = blkid_get_dev(cache, devname, flags); in main() 449 devname); in main()
|
D | Makefile.in | 21 OBJS= cache.o dev.o devname.o devno.o getsize.o llseek.o probe.o \ 24 SRCS= $(srcdir)/cache.c $(srcdir)/dev.c $(srcdir)/devname.c $(srcdir)/devno.c \ 87 tst_devname: $(srcdir)/devname.c $(DEPLIBS_BLKID) 89 $(Q) $(CC) -o tst_devname -DTEST_PROGRAM $(srcdir)/devname.c $(LIBS_BLKID) $(ALL_CFLAGS) 203 devname.o: $(srcdir)/devname.c $(top_builddir)/lib/config.h \
|
D | blkid.h | 70 extern blkid_dev blkid_get_dev(blkid_cache cache, const char *devname, 84 const char *devname);
|
D | blkid.h.in | 67 /* devname.c */ 70 extern blkid_dev blkid_get_dev(blkid_cache cache, const char *devname, 84 const char *devname);
|
D | Android.mk | 6 devname.c \
|
/external/blktrace/ |
D | blkrawverify.c | 121 static int process(FILE **fp, char *devname, char *file, unsigned int cpu) in process() argument 159 sprintf(ofname, "%s.verify.out", devname); in process() 170 fprintf(*fp, "Verifying %s\n", devname); in process() 278 char *devname; in main() local 292 devname = argv[i]; in main() 293 sprintf(ofname, "%s.verify.out", devname); in main() 296 printf("Verifying %s\n", devname); fflush(stdout); in main() 298 sprintf(fname, "%s.blktrace.%d", devname, cpu); in main() 302 devname); in main() 308 nbad = process(&ofp, devname, fname, cpu); in main()
|
/external/e2fsprogs/lib/ext2fs/ |
D | finddev.c | 172 char *devname, *tmp; in main() local 203 devname = ext2fs_find_block_device(device); in main() 204 if (devname) { in main() 205 printf("Found device! %s\n", devname); in main() 206 free(devname); in main()
|
/external/llvm/test/CodeGen/BPF/ |
D | ex1.ll | 7 @bpf_prog1.devname = private unnamed_addr constant [3 x i8] c"lo\00", align 1 12 %devname = alloca [3 x i8], align 1 14 %1 = getelementptr inbounds [3 x i8], [3 x i8]* %devname, i64 0, i64 0 15 …8.i64(i8* %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @bpf_prog1.devname, i64 0, i64 0), i…
|
/external/f2fs-tools/tools/ |
D | fibmap.c | 55 char devname[32] = { 0, }; in stat_bdev() local 59 sprintf(devname, "/dev/block/%d:%d", major(st->st_dev), minor(st->st_dev)); in stat_bdev() 61 fd = open(devname, O_RDONLY); in stat_bdev() 75 if (readlink(devname, linkname, sizeof(linkname)) < 0) in stat_bdev()
|
/external/e2fsprogs/misc/ |
D | blkid.c | 171 const char *type, *value, *devname; in pretty_print_dev() local 186 devname = blkid_dev_devname(dev); in pretty_print_dev() 187 if (access(devname, F_OK)) in pretty_print_dev() 204 retval = ext2fs_check_mount_point(devname, &mount_flags, in pretty_print_dev() 216 pretty_print_line(devname, fs_type, label, mtpt, uuid); in pretty_print_dev()
|
D | e4defrag.c | 263 static int get_mount_point(const char *devname, char *mount_point, in get_mount_point() argument 272 if (stat64(devname, &sb) < 0) { in get_mount_point() 274 PRINT_FILE_NAME(devname); in get_mount_point() 315 static int is_ext4(const char *file, char *devname) in is_ext4() argument 372 strncpy(devname, mnt->mnt_fsname, strlen(mnt->mnt_fsname) + 1); in is_ext4()
|
/external/e2fsprogs/doc/ |
D | libblkid.txt | 32 if ((devname = blkid_get_devname(cache, attribute_name, value))) { 33 /* do something with devname */ 34 string_free(devname); 55 if ((value = blkid_get_tag_value(cache, attribute_name, devname))) {
|
/external/libmtp/src/ |
D | libusb-glue.c | 373 char devname[0x10]; in probe_device_descriptor() local 375 devname[0] = '\0'; in probe_device_descriptor() 378 devname, in probe_device_descriptor() 379 sizeof(devname)); in probe_device_descriptor() 380 if (devname[0] != '\0' && strcmp(devname, "usb-storage")) { in probe_device_descriptor() 381 printf("avoid probing device using kernel interface \"%s\"\n", devname); in probe_device_descriptor() 698 char devname[0x10]; in dump_usbinfo() local 701 devname[0] = '\0'; in dump_usbinfo() 702 res = usb_get_driver_np(ptp_usb->handle, (int) ptp_usb->interface, devname, sizeof(devname)); in dump_usbinfo() 703 if (devname[0] != '\0') { in dump_usbinfo() [all …]
|
/external/iproute2/ip/ |
D | iptunnel.c | 506 int devname = 0; in do_prl() local 533 devname++; in do_prl() 544 if (devname == 0) { in do_prl() 555 int devname = 0; in do_6rd() local 583 devname++; in do_6rd() 590 if (devname == 0) { in do_6rd()
|
/external/kernel-headers/original/uapi/linux/ |
D | blkpg.h | 54 char devname[BLKPG_DEVNAMELTH]; /* partition name, like sda5 or c0d1p2, member
|
D | if_frad.h | 33 char devname[IFNAMSIZ]; member
|
/external/strace/ |
D | block.c | 100 print_quoted_string(p.devname, sizeof(p.devname), in print_blkpg_req()
|
/external/toybox/toys/pending/ |
D | last.c | 54 static struct arg_list *find_and_dlink(struct arg_list **list, char *devname) in find_and_dlink() argument 61 if (!strncmp(ut->ut_line, devname, UT_LINESIZE)) { in find_and_dlink()
|
/external/openssh/ |
D | auth2-chall.c | 90 remove_kbdint_device(const char *devname) in remove_kbdint_device() argument 95 if (strcmp(devices[i]->name, devname) == 0) { in remove_kbdint_device()
|
/external/libusb/libusb/os/ |
D | linux_usbfs.c | 920 struct discovered_devs **_discdevs, const char *devname, in sysfs_scan_device() argument 929 usbi_dbg("scan %s", devname); in sysfs_scan_device() 937 devname); in sysfs_scan_device() 948 snprintf(filename, PATH_MAX, "%s/%s/busnum", SYSFS_DEVICE_PATH, devname); in sysfs_scan_device() 971 snprintf(filename, PATH_MAX, "%s/%s/devnum", SYSFS_DEVICE_PATH, devname); in sysfs_scan_device() 990 devname); in sysfs_scan_device()
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_new_handlers_p2p.c | 945 char *devname; in wpas_dbus_setter_p2p_device_config() local 950 devname = os_strdup(entry.str_value); in wpas_dbus_setter_p2p_device_config() 951 if (devname == NULL) in wpas_dbus_setter_p2p_device_config() 955 wpa_s->conf->device_name = devname; in wpas_dbus_setter_p2p_device_config()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_ndis.c | 2404 TCHAR keyname[256], devname[256]; in wpa_driver_ndis_set_wzc() local 2457 len = sizeof(devname); in wpa_driver_ndis_set_wzc() 2459 (LPBYTE) devname, &len); in wpa_driver_ndis_set_wzc() 2468 if (_tcscmp(devname, WZC_DRIVER) == 0) in wpa_driver_ndis_set_wzc()
|