Home
last modified time | relevance | path

Searched refs:S_IFCHR (Results 1 – 17 of 17) sorted by relevance

/openbmc/u-boot/fs/yaffs2/
H A Dyportenv.h232 #ifndef S_IFCHR
233 #define S_IFCHR 0020000 macro
257 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
/openbmc/u-boot/include/linux/
H A Dstat.h16 #define S_IFCHR 0020000 /* character special */ macro
25 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
/openbmc/qemu/util/
H A Ddrm.c59 if (ret < 0 || (st.st_mode & S_IFMT) != S_IFCHR) { in qemu_drm_rendernode_open()
/openbmc/qemu/tests/migration-stress/
H A Dstress.c257 mknod("/dev/urandom", 0777 | S_IFCHR, makedev(1, 9)); in mount_all()
258 mknod("/dev/random", 0777 | S_IFCHR, makedev(1, 8)); in mount_all()
/openbmc/u-boot/fs/reiserfs/
H A Dmode_string.c25 || ( S_IFDIR != 0040000 ) || ( S_IFCHR != 0020000 ) \
/openbmc/u-boot/cmd/
H A Dcramfs.c53 case S_IFCHR: str[0] = 'c'; break; in mkmodestr()
/openbmc/qemu/net/
H A Dtap-bsd.c86 dev = devname(s.st_rdev, S_IFCHR); in tap_open()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/emlog/files/
H A DDrop-use-of-error-h.patch101 rc = mknod(file, mode | S_IFCHR, makedev(major(emlog_stat.st_rdev),size_of_buffer));
/openbmc/openbmc/poky/meta/recipes-devtools/makedevs/makedevs/
H A Dmakedevs.c405 mode |= (type == 'c') ? S_IFCHR : S_IFBLK; in interpret_table_entry()
/openbmc/u-boot/fs/jffs2/
H A Djffs2_nand_1pass.c402 case S_IFCHR: str[0] = 'c'; break; in mkmodestr()
H A Djffs2_1pass.c875 case S_IFCHR: str[0] = 'c'; break; in mkmodestr()
/openbmc/openbmc/poky/meta/recipes-devtools/syslinux/syslinux/
H A D0001-ext2_fs.h-do-not-carry-an-outdated-copy.patch66 -#define S_IFCHR 0020000 // Character device
76 -#define T_IFCHR (S_IFCHR >> S_IFSHIFT)
/openbmc/u-boot/fs/ubifs/
H A Dubifs.h525 #define S_IFCHR 0020000 macro
H A Dsuper.c365 case S_IFCHR: in ubifs_iget()
/openbmc/qemu/linux-user/
H A Dstrace.c1070 FLAG_GENERIC(S_IFCHR),
3515 int hasdev = (arg1 & (S_IFCHR|S_IFBLK)); in print_mknod()
3534 int hasdev = (arg2 & (S_IFCHR|S_IFBLK)); in print_mknodat()
/openbmc/qemu/hw/9pfs/
H A D9p.c1147 ret |= S_IFCHR; in v9mode_to_mode()
2934 nmode = S_IFCHR; in v9fs_create()
/openbmc/qemu/block/
H A Dfile-posix.c2899 if (!fstat(fd, &sb) && (S_IFCHR & sb.st_mode)) { in raw_getlength()