/Linux-v6.1/tools/include/nolibc/ |
D | types.h | 21 #define S_IFCHR 0020000 macro 30 #define S_ISCHR(mode) (((mode) & S_IFCHR) == S_IFCHR)
|
/Linux-v6.1/tools/include/uapi/linux/ |
D | stat.h | 15 #define S_IFCHR 0020000 macro 24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
|
/Linux-v6.1/include/uapi/linux/ |
D | stat.h | 15 #define S_IFCHR 0020000 macro 24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
|
/Linux-v6.1/tools/testing/selftests/exec/ |
D | non-regular.c | 122 FIXTURE_VARIANT_ADD(file, S_IFCHR) in FIXTURE_VARIANT_ADD() argument 130 .mode = S_IFCHR, in FIXTURE_VARIANT_ADD()
|
/Linux-v6.1/init/ |
D | noinitramfs.c | 27 err = init_mknod("/dev/console", S_IFCHR | S_IRUSR | S_IWUSR, in default_rootfs()
|
/Linux-v6.1/samples/vfs/ |
D | test-statx.c | 92 case S_IFCHR: printf(" character special file\n"); ft = 'c'; break; in dump_statx() 115 case S_IFCHR: in dump_statx()
|
/Linux-v6.1/fs/erofs/ |
D | inode.c | 94 case S_IFCHR: in erofs_read_inode() 137 case S_IFCHR: in erofs_read_inode() 278 case S_IFCHR: in erofs_fill_inode()
|
/Linux-v6.1/fs/devpts/ |
D | inode.c | 361 mode = S_IFCHR|opts->ptmxmode; in mknod_ptmx() 380 inode->i_mode = S_IFCHR|fsi->mount_opts.ptmxmode; in update_ptmx_mode() 582 init_special_inode(inode, S_IFCHR|opts->mode, MKDEV(UNIX98_PTY_SLAVE_MAJOR, index)); in devpts_pty_new()
|
/Linux-v6.1/fs/squashfs/ |
D | inode.c | 318 inode->i_mode |= S_IFCHR; in squashfs_read_inode() 340 inode->i_mode |= S_IFCHR; in squashfs_read_inode()
|
/Linux-v6.1/fs/nfsd/ |
D | nfsproc.c | 333 case S_IFCHR: in nfsd_proc_create() 371 if (type != S_IFBLK && type != S_IFCHR) { in nfsd_proc_create() 373 } else if (type == S_IFCHR && !(attr->ia_valid & ATTR_SIZE)) { in nfsd_proc_create()
|
/Linux-v6.1/drivers/android/ |
D | binderfs.c | 157 init_special_inode(inode, S_IFCHR | 0600, in binderfs_binder_device_create() 436 init_special_inode(inode, S_IFCHR | 0600, in binderfs_binder_ctl_create()
|
/Linux-v6.1/fs/freevxfs/ |
D | vxfs_inode.c | 61 ret |= S_IFCHR; in vxfs_transmod()
|
/Linux-v6.1/fs/efs/ |
D | inode.c | 160 case S_IFCHR: in efs_iget()
|
/Linux-v6.1/tools/testing/selftests/nolibc/ |
D | nolibc-test.c | 590 mknod("/dev/console", 0600 | S_IFCHR, makedev(5, 1)); in prepare() 591 mknod("/dev/null", 0666 | S_IFCHR, makedev(1, 3)); in prepare()
|
/Linux-v6.1/security/tomoyo/ |
D | tomoyo.c | 220 case S_IFCHR: in tomoyo_path_mknod()
|
D | audit.c | 134 case S_IFCHR: in tomoyo_filetype()
|
/Linux-v6.1/drivers/base/ |
D | devtmpfs.c | 141 req.mode |= S_IFCHR; in devtmpfs_create_node()
|
/Linux-v6.1/usr/ |
D | gen_init_cpio.c | 253 mode |= S_IFCHR; in cpio_mknod()
|
/Linux-v6.1/drivers/dax/ |
D | super.c | 430 inode->i_mode = S_IFCHR; in dax_dev_get()
|
/Linux-v6.1/fs/romfs/ |
D | super.c | 88 S_IFCHR | 0600, /* chardev */
|
/Linux-v6.1/fs/xfs/scrub/ |
D | inode.c | 253 case S_IFCHR: in xchk_dinode()
|
/Linux-v6.1/tools/testing/selftests/bpf/progs/ |
D | profiler.inc.h | 26 #define S_IFCHR 0020000 macro 33 #define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR)
|
/Linux-v6.1/fs/9p/ |
D | vfs_inode.c | 142 res |= S_IFCHR; in p9mode2unixmode() 274 case S_IFCHR: in v9fs_init_inode()
|
/Linux-v6.1/fs/nilfs2/ |
D | dir.c | 249 [S_IFCHR >> S_SHIFT] = NILFS_FT_CHRDEV,
|
/Linux-v6.1/security/landlock/ |
D | fs.c | 678 case S_IFCHR: in get_mode_access()
|