Home
last modified time | relevance | path

Searched refs:S_ISCHR (Results 1 – 25 of 70) sorted by relevance

123

/openbmc/linux/include/linux/
H A Ddevice_cgroup.h26 else if (S_ISCHR(inode->i_mode)) in devcgroup_inode_permission()
44 if (!S_ISBLK(mode) && !S_ISCHR(mode)) in devcgroup_inode_mknod()
47 if (S_ISCHR(mode) && dev == WHITEOUT_DEV) in devcgroup_inode_mknod()
/openbmc/qemu/util/
H A Dchardev_open.c52 if (fstat(fd, &st) || !S_ISCHR(st.st_mode) || in open_cdev_internal()
/openbmc/linux/fs/hpfs/
H A Dinode.c98 if (S_ISBLK(mode) || S_ISCHR(mode)) { in hpfs_read_inode()
105 if (S_ISBLK(mode) || S_ISCHR(mode) || S_ISFIFO(mode) || S_ISSOCK(mode)) { in hpfs_read_inode()
175 if (S_ISBLK(i->i_mode) || S_ISCHR(i->i_mode)) { in hpfs_write_inode_ea()
/openbmc/linux/tools/include/uapi/linux/
H A Dstat.h24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
/openbmc/linux/include/uapi/linux/
H A Dstat.h24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
/openbmc/u-boot/fs/yaffs2/
H A Dyportenv.h257 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
/openbmc/u-boot/include/linux/
H A Dstat.h25 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
/openbmc/linux/fs/sysv/
H A Dinode.c216 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in sysv_iget()
261 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in __sysv_write_inode()
/openbmc/linux/tools/include/nolibc/
H A Dtypes.h37 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
/openbmc/linux/fs/hfsplus/
H A Ddir.c241 else if (S_ISCHR(mode)) in hfsplus_readdir()
491 if (S_ISBLK(mode) || S_ISCHR(mode) || S_ISFIFO(mode) || S_ISSOCK(mode)) in hfsplus_mknod()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/emlog/emlog/
H A DDrop-use-of-error-h.patch97 if (!S_ISCHR(emlog_stat.st_mode)) {
/openbmc/linux/fs/coda/
H A Dinode.c128 if (!S_ISCHR(inode->i_mode) || imajor(inode) != CODA_PSDEV_MAJOR) { in get_device_index()
/openbmc/linux/fs/
H A Dinit.c149 else if (!(S_ISBLK(mode) || S_ISCHR(mode))) in init_mknod()
H A Dfile_table.c385 if (unlikely(S_ISCHR(inode->i_mode) && inode->i_cdev != NULL && in __fput()
/openbmc/linux/fs/f2fs/
H A Dinode.c76 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode) || in __get_inode_rdev()
89 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) { in __set_inode_rdev()
611 } else if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode) || in f2fs_iget()
/openbmc/linux/fs/ufs/
H A Dinode.c596 if (S_ISCHR(mode) || S_ISBLK(mode) || inode->i_blocks) { in ufs1_read_inode()
643 if (S_ISCHR(mode) || S_ISBLK(mode) || inode->i_blocks) { in ufs2_read_inode()
744 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) { in ufs1_update_inode()
785 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) { in ufs2_update_inode()
/openbmc/linux/fs/minix/
H A Dinode.c593 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in V1_minix_update_inode()
622 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in V2_minix_update_inode()
/openbmc/qemu/block/
H A Dfile-posix.c762 if (!(S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode))) { in raw_open_common()
795 if (S_ISCHR(st.st_mode)) { in raw_open_common()
1301 if (S_ISCHR(st->st_mode)) { in hdev_get_max_segments()
2678 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode)) { in raw_co_truncate()
2705 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode)) { in raw_getlength()
2724 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode)) { in raw_getlength()
4052 (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode))) { in hdev_probe_device()
4076 if (stat(bs->filename, &st) < 0 || !S_ISCHR(st.st_mode)) { in hdev_is_sg()
/openbmc/openbmc/poky/meta/lib/oe/
H A Dsstatesig.py566 elif stat.S_ISCHR(s.st_mode):
621 if stat.S_ISBLK(s.st_mode) or stat.S_ISCHR(s.st_mode):
/openbmc/linux/security/tomoyo/
H A Daudit.c214 if (S_ISCHR(mode) || S_ISBLK(mode)) { in tomoyo_print_header()
/openbmc/linux/drivers/base/
H A Ddevtmpfs.c299 if (!S_ISCHR(stat->mode)) in dev_mynode()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dprofiler.inc.h33 #define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR) macro
791 if (S_ISDIR(mode) || S_ISCHR(mode) || S_ISBLK(mode) || S_ISFIFO(mode) || in kprobe_ret__do_filp_open()
/openbmc/linux/arch/um/os-Linux/
H A Dfile.c147 else if (S_ISCHR(buf.ust_mode)) in os_file_type()
/openbmc/linux/fs/9p/
H A Dvfs_inode.c60 if (S_ISCHR(mode)) in unixmode2p9mode()
1377 else if (S_ISCHR(mode)) in v9fs_vfs_mknod()
/openbmc/u-boot/drivers/mtd/ubi/
H A Dkapi.c318 if (!S_ISCHR(mod)) in ubi_open_volume_path()

123