/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);
|
/external/autotest/client/tests/kvm/tests/ |
D | usb.py | 42 devname = session.cmd("ls /dev/disk/by-path/* | grep usb").strip() 43 session.cmd("yes | mkfs %s" % devname, 47 session.cmd("mount %s /mnt" % devname) 57 session.cmd("umount %s" % devname) 60 session.cmd("mount %s /mnt" % devname) 74 session.cmd("umount %s" % devname)
|
D | enospc.py | 127 devname = "/dev/vdb" 130 devname = "/dev/" + re.findall("([sh]db)\s", output)[0] 132 devname = "/dev/sdb" 134 cmd %= devname
|
/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/rootdev/ |
D | rootdev.c | 372 char devname[PATH_MAX]; in rootdev_wrapper() local 380 res = rootdev_get_device(devname, sizeof(devname), *dev, search); in rootdev_wrapper() 385 rootdev_get_device_slave(devname, sizeof(devname), dev, devname, in rootdev_wrapper() 395 rootdev_strip_partition(devname, size); in rootdev_wrapper() 398 res = rootdev_get_path(path, size, devname, dev_path); in rootdev_wrapper()
|
/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/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/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/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()
|
/external/autotest/client/site_tests/platform_UdevVars/ |
D | platform_UdevVars.py | 65 devname = os.path.basename(device.device_node) 67 outfile = os.path.join(self.debugdir, "udevattrs.%s" % devname) 71 outfile = os.path.join(self.debugdir, "udevprops.%s" % devname)
|
/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/sl4a/ScriptingLayerForAndroid/jni/ |
D | com_googlecode_android_scripting_Exec.cpp | 36 char* devname; in CreateSubprocess() local 45 ((devname = (char*) ptsname(ptm)) == 0)) { in CreateSubprocess() 59 pts = open(devname, O_RDWR); in CreateSubprocess()
|
/external/iproute2/ip/ |
D | iptunnel.c | 475 int devname = 0; in do_prl() local 502 devname++; in do_prl() 515 if (devname == 0) { in do_prl() 526 int devname = 0; in do_6rd() local 554 devname++; in do_6rd() 562 if (devname == 0) { in do_6rd()
|
/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/strace/ |
D | block.c | 104 print_quoted_string(p.devname, sizeof(p.devname), in print_blkpg_req()
|
/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
|
D | lightnvm.h | 58 char devname[DISK_NAME_LEN]; member
|
/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()
|