/openbmc/linux/include/linux/ |
H A D | device_cgroup.h | 26 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 D | chardev_open.c | 52 if (fstat(fd, &st) || !S_ISCHR(st.st_mode) || in open_cdev_internal()
|
/openbmc/linux/fs/hpfs/ |
H A D | inode.c | 98 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 D | stat.h | 24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | stat.h | 24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
|
/openbmc/u-boot/fs/yaffs2/ |
H A D | yportenv.h | 257 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
|
/openbmc/u-boot/include/linux/ |
H A D | stat.h | 25 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) macro
|
/openbmc/linux/fs/sysv/ |
H A D | inode.c | 216 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 D | types.h | 37 #define S_ISCHR(mode) (((mode) & S_IFMT) == S_IFCHR) macro
|
/openbmc/linux/fs/hfsplus/ |
H A D | dir.c | 241 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 D | Drop-use-of-error-h.patch | 97 if (!S_ISCHR(emlog_stat.st_mode)) {
|
/openbmc/linux/fs/coda/ |
H A D | inode.c | 128 if (!S_ISCHR(inode->i_mode) || imajor(inode) != CODA_PSDEV_MAJOR) { in get_device_index()
|
/openbmc/linux/fs/ |
H A D | init.c | 149 else if (!(S_ISBLK(mode) || S_ISCHR(mode))) in init_mknod()
|
H A D | file_table.c | 385 if (unlikely(S_ISCHR(inode->i_mode) && inode->i_cdev != NULL && in __fput()
|
/openbmc/linux/fs/f2fs/ |
H A D | inode.c | 76 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 D | inode.c | 596 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 D | inode.c | 593 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 D | file-posix.c | 762 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 D | sstatesig.py | 566 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 D | audit.c | 214 if (S_ISCHR(mode) || S_ISBLK(mode)) { in tomoyo_print_header()
|
/openbmc/linux/drivers/base/ |
H A D | devtmpfs.c | 299 if (!S_ISCHR(stat->mode)) in dev_mynode()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | profiler.inc.h | 33 #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 D | file.c | 147 else if (S_ISCHR(buf.ust_mode)) in os_file_type()
|
/openbmc/linux/fs/9p/ |
H A D | vfs_inode.c | 60 if (S_ISCHR(mode)) in unixmode2p9mode() 1377 else if (S_ISCHR(mode)) in v9fs_vfs_mknod()
|
/openbmc/u-boot/drivers/mtd/ubi/ |
H A D | kapi.c | 318 if (!S_ISCHR(mod)) in ubi_open_volume_path()
|