Home
last modified time | relevance | path

Searched refs:d_name (Results 1 – 25 of 43) sorted by relevance

12

/openbmc/u-boot/scripts/dtc/
H A Dfstree.c42 if (streq(de->d_name, ".") in read_fstree()
43 || streq(de->d_name, "..")) in read_fstree()
46 tmpname = join_path(dirname, de->d_name); in read_fstree()
61 prop = build_property(xstrdup(de->d_name), in read_fstree()
71 newchild = name_node(newchild, xstrdup(de->d_name)); in read_fstree()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/uw-imap/uw-imap/
H A D0001-Fix-Wincompatible-function-pointer-types.patch49 char *s = name->d_name;
57 return atoi ((*(struct direct **) d1)->d_name) -
58 atoi ((*(struct direct **) d2)->d_name);
90 return mix_dirfmttest (name->d_name);
108 char *n1 = (*(struct direct **) d1)->d_name + sizeof (MIXNAME) - 1;
109 char *n2 = (*(struct direct **) d2)->d_name + sizeof (MIXNAME) - 1;
133 char *s = name->d_name;
141 return atoi ((*(struct direct **) d1)->d_name) -
142 atoi ((*(struct direct **) d2)->d_name);
166 char *s = name->d_name;
[all …]
/openbmc/qemu/util/
H A Ddrm.c42 if (strncmp(e->d_name, "renderD", 7)) { in qemu_drm_rendernode_open()
46 p = g_strdup_printf("/dev/dri/%s", e->d_name); in qemu_drm_rendernode_open()
/openbmc/openbmc/poky/meta/recipes-kernel/kexec/kexec-tools/
H A D0001-ppc-fs2dt-Match-function-signatures.patch30 char *str1 = (*(struct dirent **)dentry1)->d_name;
31 char *str2 = (*(struct dirent **)dentry2)->d_name;
/openbmc/skeleton/libopenbmc_intf/
H A Dgpio.c97 if (strncmp(entry->d_name, "gpiochip", 8) != 0) in get_gpio_base()
105 GPIO_BASE_PATH, entry->d_name); in get_gpio_base()
137 GPIO_BASE_PATH, entry->d_name); in get_gpio_base()
/openbmc/qemu/system/
H A Ddevice_tree.c168 if (!g_strcmp0(de->d_name, ".") in read_fstree()
169 || !g_strcmp0(de->d_name, "..")) { in read_fstree()
173 tmpnam = g_strdup_printf("%s/%s", dirname, de->d_name); in read_fstree()
192 de->d_name, val, len); in read_fstree()
194 qemu_fdt_setprop(fdt, "/", de->d_name, val, len); in read_fstree()
201 parent_node, de->d_name); in read_fstree()
/openbmc/qemu/hw/9pfs/
H A D9p-util.h253 sz = offsetof(struct dirent, d_name) + in qemu_dirent_dup()
254 strlen(dent->d_name) + 1; in qemu_dirent_dup()
H A Dcodir.c134 v9fs_string_sprintf(&name, "%s", dent->d_name); in do_readdir_many()
153 &s->ctx, &fidp->path, dent->d_name, &path in do_readdir_many()
/openbmc/skeleton/ledctl/
H A Dled_controller.c418 if( (strcmp(entry->d_name, ".") == 0) || in led_select()
419 (strcmp(entry->d_name, "..") == 0)) in led_select()
488 led_dbus_root, "/", led_list[num_leds]->d_name); in start_led_services()
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_uboot_glue.c414 sprintf(tempstr, "%s/%s", mountpt, de->d_name); in cmd_yaffs_ls()
417 de->d_name, in cmd_yaffs_ls()
423 printf("%s\n", de->d_name); in cmd_yaffs_ls()
H A Dyaffsfs.h41 YCHAR d_name[NAME_MAX+1]; /* file name (null-terminated) */ member
/openbmc/qemu/qga/
H A Dcommands-linux.c380 if (ata && sscanf(entry->d_name, "ata%d", hosts + i) == 1) { in build_hosts()
382 } else if (!ata && sscanf(entry->d_name, "host%d", hosts + i) == 1) { in build_hosts()
700 g_debug(" slave device '%s'", entry->d_name); in build_guest_fsinfo_for_virtual_device()
701 path = g_strdup_printf("%s/slaves/%s", syspath, entry->d_name); in build_guest_fsinfo_for_virtual_device()
903 if (!(strncmp(disk_name, de_disk->d_name, len) == 0 && in get_disk_partitions()
904 ((*(de_disk->d_name + len) == 'p' && in get_disk_partitions()
905 isdigit(*(de_disk->d_name + len + 1))) || in get_disk_partitions()
906 isdigit(*(de_disk->d_name + len))))) { in get_disk_partitions()
911 disk_dir, de_disk->d_name); in get_disk_partitions()
1020 g_debug(" skipping entry: %s", de->d_name); in qmp_guest_get_disks()
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/freediameter/files/
H A D0001-tests-use-EXTENSIONS_DIR.patch59 char * dot = strrchr(dp->d_name, '.');
89 char * dot = strrchr(dp->d_name, '.');
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/wvdial/wvdial/
H A Dmusl-support.patch10 // (no internal ISDN support) || !strncmp(e->d_name, "ttyI", 4);
/openbmc/qemu/tests/tcg/multiarch/linux/
H A Dlinux-test.c197 if (strcmp(de->d_name, ".") != 0 && in test_file()
198 strcmp(de->d_name, "..") != 0 && in test_file()
199 strcmp(de->d_name, "file2") != 0 && in test_file()
200 strcmp(de->d_name, "file3") != 0) in test_file()
/openbmc/qemu/target/i386/kvm/
H A Dvmsr_energy.c293 if (ent->d_name[0] == '.') { in vmsr_get_thread_ids()
296 pid_t tid = atoi(ent->d_name); in vmsr_get_thread_ids()
/openbmc/u-boot/arch/sandbox/cpu/
H A Dos.c422 next = os_malloc(sizeof(*node) + strlen(entry->d_name) + 1); in os_dirent_ls()
428 if (dirlen + strlen(entry->d_name) > len) { in os_dirent_ls()
429 len = dirlen + strlen(entry->d_name); in os_dirent_ls()
441 strcpy(next->name, entry->d_name); in os_dirent_ls()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/
H A Drdist-6.1.5-cleanup.patch324 if (!strcmp(dp->d_name, ".") ||
325 !strcmp(dp->d_name, ".."))
330 cp = dp->d_name;
335 if (sendit(dp->d_name, opts, destdir) > 0)
553 if (!strcmp(dp->d_name, ".") || !strcmp(dp->d_name, ".."))
555 if (len + 1 + (int)strlen(dp->d_name) >= BUFSIZ - 1) {
559 cp = dp->d_name;
1570 if ((D_NAMLEN(dp) == 1 && dp->d_name[0] == '.') ||
1571 (D_NAMLEN(dp) == 2 && dp->d_name[0] == '.' &&
1572 dp->d_name[1] == '.'))
[all …]
/openbmc/openbmc/poky/meta/recipes-support/gpgme/gpgme/
H A D0001-posix-io.c-Use-off_t-instead-of-off64_t.patch42 char d_name[];
/openbmc/phosphor-event/
H A Dmessage.cpp148 string str(ent->d_name); in next_log()
219 string str(ent->d_name); in get_managed_size()
/openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/
H A D0001-localedef-Add-hardlink-resolver-from-util-linux.patch961 + if (!di->d_name[0])
963 + if (di->d_name[0] == '.') {
964 + if (!di->d_name[1] || !strcmp(di->d_name, ".."))
969 + (PCRE2_SPTR) di->d_name, strlen(di->d_name), 0, /* start at offset 0 */
976 + printf(_("Skipping %s%s\n"), nam1.buf, di->d_name);
985 + strlen(di->d_name)));
986 + memcpy(&nam1.buf[nam1baselen], di->d_name,
H A D0002-localedef-fix-ups-hardlink-to-make-it-compile.patch234 - printf(_("Skipping %s%s\n"), nam1.buf, di->d_name);
235 + printf(("Skipping %s%s\n"), nam1.buf, di->d_name);
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libtar/files/
H A D0011-libtar-fix-programming-mistakes-detected-by-static-a.patch59 dent->d_name);
/openbmc/qemu/monitor/
H A Dhmp.c1235 if (strcmp(d->d_name, ".") == 0 || strcmp(d->d_name, "..") == 0) { in file_completion()
1239 if (strstart(d->d_name, file_prefix, NULL)) { in file_completion()
1243 d->d_name); in file_completion()
/openbmc/qemu/hw/vfio/
H A Diommufd.c241 if (!strncmp(dent->d_name, "vfio", 4)) { in iommufd_cdev_getfd()
242 vfio_dev_path = g_strdup_printf("%s/%s/dev", path, dent->d_name); in iommufd_cdev_getfd()
263 vfio_path = g_strdup_printf("/dev/vfio/devices/%s", dent->d_name); in iommufd_cdev_getfd()

12