/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 | blkid.h | 70 extern blkid_dev blkid_get_dev(blkid_cache cache, const char *devname, 84 const char *devname);
|
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.in | 67 /* devname.c */ 70 extern blkid_dev blkid_get_dev(blkid_cache cache, const char *devname, 84 const char *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/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/qemu/ |
D | vl-android.c | 733 char devname[128]; in drive_init() local 772 pstrcpy(devname, sizeof(devname), "scsi"); in drive_init() 776 pstrcpy(devname, sizeof(devname), "ide"); in drive_init() 799 pstrcpy(devname, sizeof(devname), buf); in drive_init() 1020 devname, bus_id, mediastr, unit_id); in drive_init() 1023 devname, mediastr, unit_id); in drive_init() 1827 serial_hds_add_at(int index, const char* devname) in serial_hds_add_at() argument 1831 if (!devname || !strcmp(devname,"none")) in serial_hds_add_at() 1836 devname, index, MAX_SERIAL_PORTS); in serial_hds_add_at() 1840 devname, index); in serial_hds_add_at() [all …]
|
D | blockdev.c | 138 char devname[128]; in drive_init() local 163 pstrcpy(devname, sizeof(devname), "scsi"); in drive_init() 167 pstrcpy(devname, sizeof(devname), "ide"); in drive_init() 187 pstrcpy(devname, sizeof(devname), buf); in drive_init() 409 devname, bus_id, mediastr, unit_id); in drive_init() 412 devname, mediastr, unit_id); in drive_init()
|
/external/bluetooth/bluedroid/stack/gap/ |
D | gap_utils.c | 174 …if (!strncmp ((char *)p_result->devname, (char *) p->remote_bd_name, strlen ((char *) p_result->de… in gap_find_addr_name_cb() 241 …if ((p_result->status = gap_find_local_addr_by_name (p_result->devname, p_result->bd_addr)) == GAP… in gap_find_addr_inq_cb() 287 UINT16 gap_find_local_addr_by_name (const tBTM_BD_NAME devname, BD_ADDR bd_addr) in gap_find_local_addr_by_name() argument 299 if (!strncmp ((char *)devname, (char *)p_result->remote_name, BTM_MAX_REM_BD_NAME_LEN)) in gap_find_local_addr_by_name() 310 UNUSED(devname); in gap_find_local_addr_by_name()
|
D | gap_api.c | 165 UINT16 GAP_FindAddrByName (BD_NAME devname, tGAP_INQ_PARMS *p_inq_parms, tGAP_CALLBACK *p_addr_cb, in GAP_FindAddrByName() argument 173 if ((status = gap_find_local_addr_by_name (devname, bd_addr)) != BT_PASS) in GAP_FindAddrByName() 181 …CPY_S ((char *)gap_cb.findaddr_cb.results.devname, sizeof(gap_cb.findaddr_cb.results.devname), (ch… in GAP_FindAddrByName() 184 gap_cb.findaddr_cb.results.devname[BTM_MAX_REM_BD_NAME_LEN] = 0; in GAP_FindAddrByName()
|
/external/f2fs-tools/tools/ |
D | fibmap.c | 51 char devname[32] = { 0, }; in stat_bdev() local 55 sprintf(devname, "/dev/block/%d:%d", major(st->st_dev), minor(st->st_dev)); in stat_bdev() 57 fd = open(devname, O_RDONLY); in stat_bdev() 71 if (readlink(devname, linkname, sizeof(linkname)) < 0) in stat_bdev()
|
/external/chromium_org/third_party/libusb/src/libusb/os/ |
D | openbsd_usb.c | 35 char *devname; /* name of the ugen(4) node */ member 203 dpriv->devname = udevname; in obsd_get_device_list() 245 if (dpriv->devname) { in obsd_open() 251 dpriv->devname); in obsd_open() 271 if (dpriv->devname) { in obsd_close() 365 if (dpriv->devname == NULL) in obsd_set_configuration() 408 if (dpriv->devname == NULL) in obsd_set_interface_altsetting() 468 free(dpriv->devname); in obsd_destroy_device() 709 if (dpriv->devname == NULL) { in _sync_control_transfer() 761 dpriv->devname, endpt); in _access_endpoint() [all …]
|
/external/qemu/hw/android/goldfish/ |
D | nand.c | 58 char* devname; /* name for this device (not null-terminated, use len below) */ member 509 safe_memory_rw_debug(current_cpu, s->data, (uint8_t*)dev->devname, size, 1); in nand_dev_do_cmd() 709 char *devname = NULL; in nand_add_dev() local 744 if(devname == NULL) { in nand_add_dev() 748 devname = malloc(arg_len+1); in nand_add_dev() 749 if(devname == NULL) in nand_add_dev() 751 memcpy(devname, arg, arg_len); in nand_add_dev() 752 devname[arg_len] = 0; in nand_add_dev() 816 devname_len, devname, strerror(errno)); in nand_add_dev() 821 dprint( "mapping '%.*s' NAND image to %s", devname_len, devname, rwfilename); in nand_add_dev() [all …]
|
/external/bluetooth/bluedroid/btif/src/ |
D | btif_pan.c | 307 static int tap_if_up(const char *devname, BD_ADDR addr) in tap_if_up() argument 316 strncpy(ifr.ifr_name, devname, IFNAMSIZ - 1); in tap_if_up() 320 …BTIF_TRACE_ERROR("Could not get network hardware for interface:%s, errno:%s", devname, strerror(er… in tap_if_up() 327 strncpy(ifr.ifr_name, devname, IFNAMSIZ - 1); in tap_if_up() 346 … BTIF_TRACE_ERROR("Could not set bt address for interface:%s, errno:%s", devname, strerror(errno)); in tap_if_up() 353 strncpy(ifr.ifr_name, devname, IF_NAMESIZE - 1); in tap_if_up() 362 BTIF_TRACE_ERROR("Could not bring up network interface:%s, errno:%d", devname, errno); in tap_if_up() 367 BTIF_TRACE_DEBUG("network interface: %s is up", devname); in tap_if_up() 371 static int tap_if_down(const char *devname) in tap_if_down() argument 379 strncpy(ifr.ifr_name, devname, IF_NAMESIZE - 1); in tap_if_down()
|
/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/qemu/include/hw/ |
D | usb.h | 173 char devname[32]; member 248 USBDevice *usb_host_device_open(const char *devname); 249 int usb_host_device_close(const char *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/qemu/distrib/sdl-1.2.15/src/video/wscons/ |
D | SDL_wsconsvideo.c | 149 char *devname; in WSCONS_VideoInit() local 157 devname = SDL_getenv("SDL_WSCONSDEV"); in WSCONS_VideoInit() 158 if (devname == NULL) { in WSCONS_VideoInit() 166 devname = devnamebuf; in WSCONS_VideoInit() 169 private->fd = open(devname, O_RDWR | O_NONBLOCK, 0); in WSCONS_VideoInit() 171 WSCONS_ReportError("open %s: %s", devname, strerror(errno)); in WSCONS_VideoInit()
|
/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
|
/external/qemu/include/sysemu/ |
D | sysemu.h | 252 void do_usb_add(Monitor *mon, const char *devname); 253 void do_usb_del(Monitor *mon, const char *devname);
|