Home
last modified time | relevance | path

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

1234

/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/linux/tools/include/uapi/linux/
H A Dstat.h15 #define S_IFCHR 0020000 macro
24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
/openbmc/linux/include/uapi/linux/
H A Dstat.h15 #define S_IFCHR 0020000 macro
24 #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/linux/fs/smb/client/
H A Dreparse.h53 case S_IFCHR: return NFS_SPECFILE_CHR; in reparse_mode_nfs_type()
64 case S_IFCHR: return IO_REPARSE_TAG_LX_CHR; in reparse_mode_wsl_tag()
H A Dreparse.c436 fattr->cf_mode |= S_IFCHR; in wsl_to_fattr()
484 fattr->cf_mode |= S_IFCHR; in cifs_reparse_point_to_fattr()
/openbmc/linux/tools/testing/selftests/exec/
H A Dnon-regular.c122 FIXTURE_VARIANT_ADD(file, S_IFCHR) in FIXTURE_VARIANT_ADD() argument
130 .mode = S_IFCHR, in FIXTURE_VARIANT_ADD()
/openbmc/linux/init/
H A Dnoinitramfs.c27 err = init_mknod("/dev/console", S_IFCHR | S_IRUSR | S_IWUSR, in default_rootfs()
/openbmc/linux/tools/include/nolibc/
H A Dtypes.h28 #define S_IFCHR 0020000 macro
37 #define S_ISCHR(mode) (((mode) & 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/linux/samples/vfs/
H A Dtest-statx.c92 case S_IFCHR: printf(" character special file\n"); ft = 'c'; break; in dump_statx()
115 case S_IFCHR: in dump_statx()
/openbmc/qemu/tests/migration/
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/linux/fs/erofs/
H A Dinode.c91 case S_IFCHR: in erofs_read_inode()
134 case S_IFCHR: in erofs_read_inode()
275 case S_IFCHR: in erofs_fill_inode()
/openbmc/linux/fs/devpts/
H A Dinode.c343 mode = S_IFCHR|opts->ptmxmode; in mknod_ptmx()
362 inode->i_mode = S_IFCHR|fsi->mount_opts.ptmxmode; in update_ptmx_mode()
564 init_special_inode(inode, S_IFCHR|opts->mode, MKDEV(UNIX98_PTY_SLAVE_MAJOR, index)); in devpts_pty_new()
/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/linux/fs/squashfs/
H A Dinode.c321 inode->i_mode |= S_IFCHR; in squashfs_read_inode()
343 inode->i_mode |= S_IFCHR; in squashfs_read_inode()
/openbmc/linux/fs/nfsd/
H A Dnfsproc.c321 case S_IFCHR: in nfsd_proc_create()
359 if (type != S_IFBLK && type != S_IFCHR) { in nfsd_proc_create()
361 } else if (type == S_IFCHR && !(attr->ia_valid & ATTR_SIZE)) { in nfsd_proc_create()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/emlog/emlog/
H A DDrop-use-of-error-h.patch101 rc = mknod(file, mode | S_IFCHR, makedev(major(emlog_stat.st_rdev),size_of_buffer));
/openbmc/linux/drivers/android/
H A Dbinderfs.c156 init_special_inode(inode, S_IFCHR | 0600, in binderfs_binder_device_create()
435 init_special_inode(inode, S_IFCHR | 0600, in binderfs_binder_ctl_create()
/openbmc/linux/fs/freevxfs/
H A Dvxfs_inode.c61 ret |= S_IFCHR; in vxfs_transmod()
/openbmc/linux/fs/efs/
H A Dinode.c160 case S_IFCHR: in efs_iget()
/openbmc/linux/security/tomoyo/
H A Dtomoyo.c232 case S_IFCHR: in tomoyo_path_mknod()
H A Daudit.c134 case S_IFCHR: in tomoyo_filetype()

1234